Results 1 to 6 of 6

Thread: Terminal does not recognise passwod

  1. #1
    Join Date
    Apr 2013
    Beans
    1

    Terminal does not recognise passwod

    When I try to enter my passord on the terminal (ubuntu 12.10) at third attempt each time I get te following error. I wish to run a command to update drivers for a dell inspiron 1501 for wifi, but when I try to run the command the terminal will not accept my password. It returns the following error

    [sudo] password for joe:
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    joe@joe-Inspiron-1501:~$

    As far as I am aware there is no other process running.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,366
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Terminal does not recognise passwod

    The password is being accepted it is the install command that is failing

    Do you have more then one install program running like software center and the terminal? that usually means to close one, if that does not work reboot and then try again,
    Thanks

  3. #3
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    2,869
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Terminal does not recognise passwod

    1: When people complain the terminal doesn't accept their password it usually means they get confused because the terminal doesn't show any visual conformation that a password is being entered. There are no letters, not even ***. Still, input of the password works. Just type it and hit enter.
    2: When you don't give the correct password sudo will give you an error message after the third try:
    Code:
    sudo: 3 incorrect password attempts
    I don't know of any other error that occurs after every three atempts.
    3: The error you show indicates sudo accepted your password but the package manager you launched with sudo (you tried a package manager, didn't you?) couldn't get a lock, as Wild Man indicated. The error you get when you try to run that command without root privileges is different.

  4. #4

    Re: Terminal does not recognise passwod

    The easiest way around a package manager lock is just to reboot and rerun your command.

  5. #5
    Join Date
    Sep 2012
    Location
    I think EARTH
    Beans
    76
    Distro
    Ubuntu 12.04 Precise Pangolin

    Post Re: Terminal does not recognise passwod

    I second that.However another workaround would be forcing off the lock by manually removing the "lock" files.Use this command
    Code:
    sudo rm /var/lib/apt/lists/lock
    You may also need to delete the lock file in the cache directory.For this,use this command
    Code:
    sudo rm /var/cache/apt/archives/lock
    Then force package re-configuration
    Code:
    dpkg --configure -a
    Note there are two dashes(--) before configure.

  6. #6
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,948
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Terminal does not recognise passwod

    Quote Originally Posted by siddharth007 View Post
    I second that.However another workaround would be forcing off the lock by manually removing the "lock" files.
    Yes, but remember, that lock was built into the system for a reason. If some other package management operation is running, it's probably not a good idea to override the lock and run the one you want simultaneously. The first thing I would do is check for other instances (Software Center, Update Manager, Synaptic, other terminal apt-gets, etc.), and then I would try rebooting.
    Jane, stop this crazy thing!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •