Skip to content

sudo: unable to resolve host DESKTOP- #1004

@asishm

Description

@asishm

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

  • A brief description

Trying to sudo apt-get anything results in the message sudo: unable to resolve host DESKTOP- and asks for root password. But then it doesn't accept the correct password.

I installed MySQL workbench (full) today and I think that is what caused bash to not recognize my root password.

  • Expected results

Expect to validate root password and install the packages

  • Actual results (with terminal output if applicable)
sudo: unable to resolve host DESKTOP
[sudo]: password for <hostname>: 
Sorry, try again
  • Your Windows build number

Version 1607 (OS Build 14393.82)

  • Steps / commands required to reproduce the error
  • Strace of the failing command
  • Required packages and commands to install

See our contributing instructions for assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions