Results 1 to 9 of 9

Thread: Errors after running an update.

  1. #1
    Join Date
    Nov 2009
    Beans
    87
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Errors after running an update.

    I ran an update recently. It was about a 300Mb download and with it was the current kernel and others. I restarted to find an error. Compiz is no longer starting and there is this red minus icon on my bar saying there is a package error. It said to run "sudo dpkg --configure -a" but when I ran that I got: dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory" Any Ideas? Thanks.

    Running Lucid i386 Desktop.

  2. #2
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Errors after running an update.

    Close synaptic, and open a terminal.

    Code:
    sudo apt-get clean
    Code:
    sudo apt-get autoclean
    Code:
    sudo apt-get autoremove
    now try
    Code:
    sudo dpkg --configure -a
    post back if you have errors.
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  3. #3
    Join Date
    Nov 2009
    Beans
    87
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Errors after running an update.

    Same error on all but the first command: "dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory" I checked and the file status indeed does not exist.

  4. #4
    Join Date
    Nov 2009
    Beans
    87
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Errors after running an update.

    So do I reinstall? Because I would hate to have to do that.

  5. #5
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: Errors after running an update.

    Don't re-install, this can be fixed.

    Try:
    Code:
    sudo dpkg-reconfigure -phigh apt
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

  6. #6
    Join Date
    Nov 2009
    Beans
    87
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Errors after running an update.

    This is what I got:

    "Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 1.
    Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 2.
    Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 70, <$__ANONIO__> chunk 2.
    dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
    /usr/sbin/dpkg-reconfigure: apt is not installed"

  7. #7
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: Errors after running an update.

    Ok,
    1- gunzip dpkg.status.0.gz located in /var/backups and save it as "status" in /var/lib/dpkg/

    2- you also might need to create the "available" file in /var/lib/dpkg/ this can be done by typing:
    Code:
    sudo touch available
    Then:
    Code:
    sudo dpkg --configure -a
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

  8. #8
    Join Date
    Nov 2009
    Beans
    87
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Errors after running an update.

    Thanks! that problem is fixed. But now it says I have about 14 broken packages. And I dont know what to do about them. If I choose reinstall it seems to want to pretty much reinstall my whole system.

  9. #9
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: Errors after running an update.

    Open synaptic package manager in System, Administration
    And click edit, fix broken packages.
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

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
  •