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.
>
> Greetings,
>
> Lux
--
Jerome
Attachment:
pgpnRwn21jfb6.pgp
Description: PGP signature