DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apparently /var/lib/dpkg/available has all sort of problems... I've been going through trying to fix them for a while now, and they just don't stop coming. Is there a way to regenerate the file?
The available file Contains the packages available from Debian. The status file is more important, and contains the status of your system, and cannot be rebuilt.
I was having similar problems with /var/lib/dpkg/status file, I vi the file and there were misspelling and bad characters in it. Along with other strange things that have been occuring today, I happened to think about running memtest86+, (a neat little memory test from memtest86.org that boots from a cd), and within a few seconds it started reporting lots of ram errors. I replaced the ram and reloaded the whole system. Looks fine now.....
debianKentSarge:/var/lib/dpkg# apt-get remove nvidia-glx
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
nvidia-glx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 9822kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... E: Sub-process /usr/bin/dpkg received a segmentation fault.
I also met this problem. I resume the available file as the second post. As the status file sound still good so far.
The problem was caused the bad pc in my office. I will memtest to see if it has ram issue.
Thanks for all the posters here!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.