DebianThis forum is for the discussion of Debian Linux.
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.
I was installing another kernel when dpkg segfaulted due to bad ram. I removed the bad modules and reconnected the machine. But now, when I apt-get -f install, I get:
gigante:/var/lib/dpkg# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
lilo kernel-doc-2.6.8 kernel-source-2.6.8
The following NEW packages will be installed:
The following packages will be upgraded:
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/14.1MB of archives.
After unpacking 42.5MB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Permission denied
E: Sub-process /usr/bin/dpkg returned an error code (2)
The same goes for apt-get remove kernel-image-2.6.8-2-386.
It seems like there's something to do with the 'available' file. So: