Announcement

Collapse
No announcement yet.

cannot commit updates?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cannot commit updates?

    I'm not sure if this is a bug or not.
    I'm using Kubuntu 7.04. Usually I use adept to fetch updates for my kubuntu version. But suddenly today this error message pops up:
    Code:
    Get:1 [url]http://jp.archive.ubuntu.com[/url] feisty Release.gpg [191B]
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty/main Translation-en_US
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty/restricted Translation-en_US
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty/universe Translation-en_US
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty/multiverse Translation-en_US
    Get:2 [url]http://security.ubuntu.com[/url] feisty-security Release.gpg [191B]
    Ign [url]http://security.ubuntu.com[/url] feisty-security/main Translation-en_US
    Get:3 [url]http://jp.archive.ubuntu.com[/url] feisty-updates Release.gpg [191B]
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty-updates/main Translation-en_US
    Ign [url]http://jp.archive.ubuntu.com[/url] feisty-updates/restricted Translation-en_US
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty Release
    Ign [url]http://security.ubuntu.com[/url] feisty-security/restricted Translation-en_US
    Ign [url]http://security.ubuntu.com[/url] feisty-security/universe Translation-en_US
    Ign [url]http://security.ubuntu.com[/url] feisty-security/multiverse Translation-en_US
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty-updates Release
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/main Packages
    Hit [url]http://security.ubuntu.com[/url] feisty-security Release
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/restricted Packages
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/main Sources
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/restricted Sources
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/universe Packages
    Hit [url]http://security.ubuntu.com[/url] feisty-security/main Packages
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/universe Sources
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/multiverse Packages
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty/multiverse Sources
    Hit [url]http://security.ubuntu.com[/url] feisty-security/restricted Packages
    Hit [url]http://security.ubuntu.com[/url] feisty-security/main Sources
    Hit [url]http://security.ubuntu.com[/url] feisty-security/restricted Sources
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty-updates/main Packages
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty-updates/restricted Packages
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty-updates/main Sources
    Hit [url]http://security.ubuntu.com[/url] feisty-security/universe Packages
    Hit [url]http://security.ubuntu.com[/url] feisty-security/universe Sources
    Hit [url]http://security.ubuntu.com[/url] feisty-security/multiverse Packages
    Hit [url]http://security.ubuntu.com[/url] feisty-security/multiverse Sources
    Hit [url]http://jp.archive.ubuntu.com[/url] feisty-updates/restricted Sources
    Fetched 3B in 2s (1B/s)
    Reading package lists... Done
    E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    It was fine yesterday, it was fine last week, but why now is it asking me if I'm root or not? I entered my password correctly though.
    Please help me.
    Thanks.

    #2
    Re: cannot commit updates?

    Try a
    Code:
    sudo dpkg --configure -a
    on that system.

    That basically resets the package management database. If it gives no errors, then you might want to

    Code:
    sudo apt-get autoclean
    Code:
    sudo apt-get autoremove
    Code:
    sudo apt-get update
    Code:
    sudo apt-get install
    That should put it back to current and error-free.


    Comment


      #3
      Re: cannot commit updates?

      Thanks for your solution.
      I was able to get it back to the state before the update. But when I tried to update it again, the problem is still there.

      Comment


        #4
        Re: cannot commit updates?

        Solution worked perfectly for me.

        Thanks dibl.
        Dell SC1425<br />1 Xeon 3GHZ CPU<br />1GB ECC-DDR2 RAM<br />Onboard ATI Radeon 7000-M&nbsp; w/ 16MB Fixed/unshared RAM<br />Dual 82541Gl Gigabit Nic&#39;s<br />DVD-ROM/CD-RW Combo<br />73GB SCSI Drive.<br />Never got Compiz to run properly on the ATI, but that is secondary of course.

        Comment


          #5
          Re: cannot commit updates?

          after running updates via Adept a got this message
          Code:
          It seems that the recovery has failed. Please fix manually (try dpkg --configure -a and/or apt-get -f install) in terminal... 
          
          The error was: 
          APT Error. Context:
            Running dpkg, 
            [ /usr/bin/dpkg, --status-fd, 3, --configure, -a ], 
            Sub-process exited unexpectedly
          running dpkg --configure -a gives me this message
          Code:
          dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
          Aborted
          apt-get -f install brings this message
          Code:
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          74 not fully installed or removed.
          After this operation, 0B of additional disk space will be used.
          dpkg: error processing libxine1-bin (--configure):
           package libxine1-bin is not ready for configuration
           cannot configure (current status `triggers-awaited')
          dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
          E: Sub-process /usr/bin/dpkg exited unexpectedly
          now i have no idea what to do.

          Comment

          Working...
          X