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

Re: Serious Warning? [SECURITY] New versions of lpr released



On Sat, Oct 30, 1999 at 12:23, Ben Collins wrote:
> On Sat, Oct 30, 1999 at 09:03:00AM -0700, Pann McCuaig wrote:
> > What's this "serious warning" business all about? Why should the lpr
> > package care what kernel source package I have installed? (2.0.36 FYI),
> > but I might well want to install lpr with _NO_ kernel source files
> > installed.
> > 
> > ---------------------------------------------------------------------
> > desktop# dpkg -i lpr_0.46-1-0slink1_i386.deb
> > (Reading database ...
> > dpkg: serious warning: files list file for package
> > `kernel-source-2.2.12' missing, assuming package has no files currently
> > installed.
> 
> This has nothing to do with lpr. It's from dpkg checking it's install
> files (/var/lib/dpkg/info/*) and making sure all is well before proceeding
> with the upgrade. Apparently, you removed (or something removed) the
> kernel-source-2.2.12 .list file from that directory, so dpkg removes the
> references to it from /var/lib/dpkg/status, since it now believes the
> package is not installed.

You are so right. I now recall that I attempted to install
kernel-source-2.2.12 (forgetting which machine I was on and running out
of disk space). I "recovered" by killing the dpkg -i process and
deleting the .deb file and the partial /usr/src/kernel-2.2.12 tree.

Now I have this:

pann@desktop:~$ dpkg -l | grep kernel
ii  kernel-doc-2.0. 2.0.36-3       Linux kernel specific documentation.
ii  kernel-image-2. Compaq.3.0     Linux kernel binary image.
ii  kernel-package  6.05           Debian Linux kernel package build scripts.
ii  kernel-source-2 2.0.36-3       Linux kernel source.
iHR kernel-source-2 2.2.12-4

desktop# dpkg --purge kernel-source-2.2.12
dpkg: error processing kernel-source-2.2.12 (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 kernel-source-2.2.12

desktop# ls /var/lib/dpkg/info/kernel-source*
/var/lib/dpkg/info/kernel-source-2.0.36.list
/var/lib/dpkg/info/kernel-source-2.0.36.postinst
/var/lib/dpkg/info/kernel-source-2.0.36.postrm

Any suggestions? Thanks.

Cheers,
 Pann
-- 
geek by nature, Linux by choice                     L I N U X       .~.
                                                    The Choice      /V\
http://www.ourmanpann.com/linux/                     of a GNU      /( )\
                                                    Generation     ^^-^^


Reply to: