Find the answer to your Linux question:
Results 1 to 3 of 3
I accidentally deleted /var/lib with the command sudo rm -rf /var/lb Im trying to run update-manager, but i get the following error. An unresolvable problem occurred while initializing the package ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Location
    /home/India/Nashik
    Posts
    6

    Angry [SOLVED] Accidentally deleted /var/lib


    I accidentally deleted /var/lib with the command

    sudo rm -rf /var/lb
    Im trying to run update-manager, but i get the following error.

    An unresolvable problem occurred while initializing the package information.

    Please report this bug against the 'update-manager' package and include the following error message:

    'E:Could not open file /var/lib/dpkg/status - open (2: No such file or directory), E:The package lists or status file could not be parsed or opened.'
    I tried inserting a 10.04 cd, but to no avail.

    Im running 9.10 atm, and just finished an upgrade from 9.04.

    Please help, this is my office PC, and have lots of dev packages and all.

    Thanks.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,392
    Even if testdisk or other undelete tools get some files back, you can never be sure, that all will be recovered.

    Backup your data and config, then reinstall that box.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Location
    /home/India/Nashik
    Posts
    6
    no matter, i copied the /var/lib folder from another PC. The upgrade manager gave me an option to jump to 10.04.1 LTS

Posting Permissions

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