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

Re: Help with errors in dpkg



On Thu, Sep 19, 2002 at 12:25:50PM -0600, Dave Bartmess wrote:
> Something else I noticed, noted below, is that it doesn't seem to think
> debconf is installed... I've searched the entire drive system, and can't
> find an executable "debconf" file. 
> $ sudo apt-get install libc6 
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
>   libdb1-compat 
> The following NEW packages will be installed:
>   libc6 
> 0 packages upgraded, 1 newly installed, 1 to remove and 0  not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B/3381kB of archives. After unpacking 13.0MB will be used.
> Do you want to continue? [Y/n] 
> ************************* Questionable response!
> E: Cannot get debconf version. Is debconf installed?
> *************************
> (Reading database ... 19 files and directories currently installed.)
                        ^------------------------------------------^

I think you should run fsck on the partition where /var is
located. Also, check contents of /var/lib/dpkg/status and the files in
/var/lib/dpkg/info. If /var/lib/dpkg/status is corrupted, you may
still be able to recover by using one of the backups in /var/backups.

> Removing libdb1-compat ...
> dpkg - warning: while removing libdb1-compat, directory `/usr/share/doc'
> not empty so not removed.
> dpkg - warning: while removing libdb1-compat, directory `/usr/share' not
> empty so not removed.
> dpkg - warning: while removing libdb1-compat, unable to remove directory
> `/usr': Device or resource busy - directory may be a mount point ?
> dpkg - warning: while removing libdb1-compat, directory `/lib' not empty
> so not removed.
> dpkg: error processing libdb1-compat (--remove):
>  cannot remove `/.': Invalid argument
> Errors were encountered while processing:
>  libdb1-compat
> localepurge: checking for new locale files ...
> localepurge: processing locale files ...
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> On Thu, 2002-09-19 at 06:36, Colin Watson wrote:
> > On Thu, Sep 19, 2002 at 06:33:20AM -0600, Dave Bartmess wrote:
> > > I believe this libdb1-compat HAS been removed, but how do I get past
> > > this? I can't get anything to upgrade at this point, because it
> > > continually errors out.
> > 
> > I've asked you a question to try to narrow things down twice now ...
> > 
> 
> 
> 

-- 
Jerome

Attachment: pgpDzPtYuvlsG.pgp
Description: PGP signature


Reply to: