[Wylug-help] apt/dpkg woes

Dave Fisher davef at gbdirect.co.uk
Tue Feb 22 14:38:40 GMT 2005


On Fri, Feb 18, 2005 at 09:19:24PM +0000, Roger Leigh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John Hodrien <johnh at comp.leeds.ac.uk> writes:
>
> >>   (Reading database ... dpkg: error processing libvideo-ivtv-perl (--purge):
> >>   failed in buffer_read(fd): files list for package `libvideo-ivtv-perl': Invalid argument
> >>   Errors were encountered while processing:
> >>   libvideo-ivtv-perl
> >>   Processing was halted because there were too many errors.
> >>   E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > Quit using apt.  Use dpkg and remove the package.
>
> Agreed.  If none of your filesystems are full, it's possible the prerm
> or postrm scripts are borked.  If you look under /var/lib/dpkg/info,
> you'll find libvideo-ivtv-perl.foo where foo is one of several things
> (preinst|postinst|prerm|postrm|list|md5sums|shlibs).  If necessary,
> you can edit the scripts directly to prevent failure, or run them
> directly to test.

Thanks John and Roger,

As Roger guessed, the problem was the postrm scripts.  I think I'm
straight again now.  Cheers.

Dave




More information about the Wylug-help mailing list