On Fri, Jan 24, 2003 at 01:57:12PM -0700, Curtis Call wrote: > Disclaimer, I'm a novice so bear with me. I've run into some problems with > apt-get. Currently, when trying to use 'apt-get -f install' to clean things > up I continue to get this error: > > ogd2jpr6908:/home/curtis# apt-get -f install > Reading Package Lists... Done > Building Dependency Tree... Done > Correcting dependencies... Done > The following extra packages will be installed: > libc6 > The following NEW packages will be installed: > libc6 > 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > 1 packages not fully installed or removed. > Need to get 0B/3191kB of archives. After unpacking 12.4MB will be used. > Do you want to continue? [Y/n] > E: Cannot get debconf version. Is debconf installed? > (Reading database ... 11 files and directories currently installed.)
Since your system reports that only 11 files and directories are install, /var/lib/dpkg/status is probably badly damaged. I suspect a damaged filesystem or hardware that is failing. You should boot into single mode or boot from rescue disk and run fsck on the partition in which /var is located. After repairing any file system damage, replace the /var/lib/dpkg/status with a backup. Look in /var/backups for a recent backup of the status file. The backups will have names dpkg.status.0 or dpkg.status.[123456].gz. Good luck. > Unpacking libc6 (from .../libc6_2.3.1-10_i386.deb) ... > dpkg not recorded as installed, cannot check for epoch support ! > dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-10_i386.deb > (--unpack): > subprocess pre-installation script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/libc6_2.3.1-10_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > I noticed that dpkg is complaining that perhaps it isn't installed? Any ideas > of how to go about fixing this? > > Thanks > > -- Jerome
msg26084/pgp00000.pgp
Description: PGP signature