[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get files problems



"Jerome R. Acks" <jracksjr@bellatlantic.net> writes:

> On Wed, Dec 24, 2003 at 09:43:48PM +0100, A.L.Meyers wrote:
> > Hi!  Due to physical disk read errors had to copy /var/spool/apt and
> > /var/lib/apt files to another disk and, after bad block checking, back.
> > Apparently something went wrong in the process, perhaps due to file
> > corruption. 
> > 
> > Anyway, now consistently getting the following error messages when doing
> > apt-get dist-upgrade:
> > 
> > E: Cannot get debconf version. Is debconf installed?
> > (Reading database ... 0 files and directories currently installed.)
>            ^-------------------------------------------------------^
> 
> The installation status of all files is kept in /var/lib/dpkg/status. 
> Backups of this file are found in /var/backups. Try restoring the
> status file from one of the backups.   
> 
> > Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_i386.deb) ...
> > dpkg: error processing /var/cache/apt/archives/libdb1-compat_2.1.3-7_i386.deb (--unpack):
> >  unable to create updated files list file for package libdb1-compat: No such file or directory
> > Unpacking libc6 (from .../libc6_2.3.2.ds1-10_i386.deb) ...
> > dpkg not recorded as installed, cannot check for epoch support !
> > dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-10_i386.deb (--unpack):
> >  subprocess pre-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/libdb1-compat_2.1.3-7_i386.deb
> >  /var/cache/apt/archives/libc6_2.3.2.ds1-10_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > Suggestions much appreciated.

Thanks, Jerome, that did help.  apt-get goes a great step further but,
alas, then complains about missing file lists for each of the
installed packages.  Probably something else got corrupted.  Where
should those file lists per package be located, please?  Is there a
way to get apt to reconfigure itself in such a situation?

Regards,

Lux
-- 
If you receive this by error, please delete it and inform the sender.
Key fingerprint: 8994 CFDD 9C60 C978 A488 689F 5DCC EFC4 4D36 580D
To Big Brother Echelon from "spook":
supercomputer spy FSF DES class struggle counter-intelligence Albanian 



Reply to: