Patience…
Sunday, October 15th, 2006Patience is a virtue well taught by “emerge -u world” on a gentoo system you logged in after 270 days.
[tags]gentoo, emerge, linux[/tags]
Patience is a virtue well taught by “emerge -u world” on a gentoo system you logged in after 270 days.
[tags]gentoo, emerge, linux[/tags]
[Note: I had originally added this in September 2004. Re-added to the website on 31 Oct 2005.]
What do you do if you accidentally lost /var/lib/dpkg on your Debian installation?
apt would be stranded if you’ve lost your package selection data, which resides in /var/lib/dpkg/status . This has information about which all packages have been installed on your system. If you only lost this file /var/lib/dpkg/status due to some reason, look for /var/lib/dpkg/status-old (backup file.) If it’s not there, or if you lost /var/lib/dpkg (or worse, /var) itself, then read on.
Fortunately, there are ways you can attempt to rebuild the structure:
Of course, do analyze each of the above scripts to figure what it attempts to do. Systems’ configurations differ - it may or may not suit yours.
Any other tips? Do let me know.