Results 1 to 4 of 4

Thread: Catch 22 Ubuntu Style

  1. #1
    Join Date
    May 2008
    Beans
    22

    Question Catch 22 Ubuntu Style

    Trying to open synaptic package manager produces this error:

    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    E: _cache->open() failed, please report.

    When I try to run this, I get another error message:

    dpkg: requested operation requires superuser privilege

    I am not prompted for a password, and when I try to run su or sudo,
    my password (which seems to work just fine anywhere but in the console), returns a third error message:

    su: Authentication failure


    As much as I am frustrated with windows, this is pretty depressing. WTF is going on?

    Thanks in advance for your help!

  2. #2
    Join Date
    Jun 2007
    Location
    England
    Beans
    760
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Catch 22 Ubuntu Style

    what happens when you run:
    Code:
    sudo dpkg --configure -a
    dje

  3. #3
    Join Date
    May 2008
    Beans
    22

    Re: Catch 22 Ubuntu Style

    well, it is solved:

    sudo dpkg --configure -a

    with password works. I don't know why the password does not seem to work without the rest of the command, or why I don't get prompted for a password without sudo (as I seem to recall being the norm in previous installations), but at any rate there's not need to reply.


  4. #4
    Join Date
    Jun 2007
    Location
    England
    Beans
    760
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Catch 22 Ubuntu Style

    Quote Originally Posted by rstritmatter View Post
    well, it is solved:

    sudo dpkg --configure -a

    with password works. I don't know why the password does not seem to work without the rest of the command, or why I don't get prompted for a password without sudo (as I seem to recall being the norm in previous installations), but at any rate there's not need to reply.

    su needs the root account to be enabled which is not recommended
    sudo must be used before a command, not on its own
    sudo -i will do much the same as su (take you to a root shell) but without a root account

    dje

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
  •