Bug#688068: libmodule-corelist-perl: error removing diversion

gregor herrmann gregoa at debian.org
Tue Sep 18 21:18:38 UTC 2012


Control: tag -1 unreproducible

On Tue, 18 Sep 2012 22:57:55 +0200, Cristian Ionescu-Idbohrn wrote:

> $ apt-get --purge remove libmodule-corelist-perl
> ...
> Removing libmodule-corelist-perl ...
> No diversion 'diversion of /usr/bin/corelist to /usr/bin/corelist.bundled by libmodule-corelist-perl', none removed.
> Removing 'diversion of /usr/share/man/man1/corelist.1.gz to /usr/share/man/man1/corelist.bundled.1.gz by libmodule-corelist-perl'
> dpkg-divert: error: rename involves overwriting `/usr/share/man/man1/corelist.1.gz' with
>   different file `/usr/share/man/man1/corelist.bundled.1.gz', not allowed
> dpkg: error processing libmodule-corelist-perl (--remove):
>  subprocess installed post-removal script returned error exit status 2
> Errors were encountered while processing:
>  libmodule-corelist-perl

Hm, the dpkg-divert code in .preinst/.postrm hasn't changed since
2.18-2 (August 2009).

And I can't reproduce it:

# apt-get --purge remove libmodule-corelist-perl
[..]
Removing libmodule-corelist-perl ...
Removing 'diversion of /usr/bin/corelist to /usr/bin/corelist.bundled by libmodule-corelist-perl'
Removing 'diversion of /usr/share/man/man1/corelist.1.gz to /usr/share/man/man1/corelist.bundled.1.gz by libmodule-corelist-perl'
Purging configuration files for libmodule-corelist-perl ...
[..]


The interesting question is how you managed to get into a situation
where the package is installed without getting the diversions (from
the .preinst)? - Or where one is missing and the other is "a different file"?

Anyone any ideas?

Cheers,
gregor, installing libmodule-corelist-perl again, and seeing
        the two diversions passing by on the screen :)
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: B.B. King and Eric Clapton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120918/998cb796/attachment.pgp>


More information about the pkg-perl-maintainers mailing list