Debian This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-01-2004, 10:28 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Distribution: Debian (sarge)
Posts: 23
Rep:
|
dpkg is dead! error in /var/lib/dpkg/available
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?
|
|
|
|
09-01-2004, 10:37 PM
|
#2
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
try
dpkg --clear-avail
apt-get update
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.
|
|
|
1 members found this post helpful.
|
09-02-2004, 01:04 AM
|
#3
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
Originally posted by leonscape
The status file is more important, and contains the status of your system, and cannot be rebuilt.
|
You always have the backup file that is created to fall back on if it gets corrupted, it saved my ass once on a Woody install.
Code:
[HappyTux:/home/stephen]# ll /var/lib/dpkg/status*
-rw-r--r-- 1 root root 896K 2004-09-01 19:46 /var/lib/dpkg/status
-rw-r--r-- 1 root root 896K 2004-09-01 19:46 /var/lib/dpkg/status-old
|
|
|
|
05-16-2006, 04:53 PM
|
#4
|
|
LQ Newbie
Registered: May 2006
Posts: 5
Rep:
|
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.....
Here are some of the errors I was getting:
debianKentSarge:/var/lib/dpkg# apt-get install nvidia-glx
Reading Package Lists... Done
Segmentation faulty Tree... 50%
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.
|
|
|
1 members found this post helpful.
|
11-22-2011, 10:28 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Rep:
|
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!
Cheers!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|