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

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Sep 21 16:53:27 UTC 2012


On Thu, 20 Sep 2012, Salvatore Bonaccorso wrote:
>
> Hi Cristian
>
> I hope the following approach with manual intervention might help:

I think i might.  Thanks again for keeping looking into this.

> Let's check the files:
>
> root at sid:~# zgrep 2012 /usr/share/man/man1/corelist.*.gz
> /usr/share/man/man1/corelist.bundled.1.gz:.TH CORELIST 1 "2012-09-07" "perl v5.14.2" "Perl Programmers Reference Guide"
> root at sid:~# ls -lah /usr/share/man/man1/corelist.*
> -rw-r--r-- 1 root root    0 Sep 20 18:07 /usr/share/man/man1/corelist.1.gz
> -rw-r--r-- 1 root root 3.0K Sep  7 03:16 /usr/share/man/man1/corelist.bundled.1.gz
>
> Ah okay so my empty created /usr/share/man/man1/corelist.1.gz is still
> there, the one from libmodule-corelist-perl is already gone:

In my case:

$ ls -l /usr/share/man/man1/corelist*
-rw-r--r-- 1 root root 2982 Aug 10  2011 /usr/share/man/man1/corelist.1.gz
-rw-r--r-- 1 root root 3259 Sep 20 14:13 /usr/share/man/man1/corelist.1p.gz
-rw-r--r-- 1 root root 2985 Sep  7 01:26 /usr/share/man/man1/corelist.bundled.1.gz

$ zcat /usr/share/man/man1/corelist.1.gz | head -n1
.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
$  zcat /usr/share/man/man1/corelist.1p.gz | head -n1
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
$ zcat /usr/share/man/man1/corelist.bundled.1.gz | head -n1
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)

So, where do all these /usr/share/man/man1/corelist*.gz come from?

> root at sid:~# rm /usr/share/man/man1/corelist.1.gz
> root at sid:~# apt-get --purge remove libmodule-corelist-perl
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>   libmodule-corelist-perl
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 475 kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 30181 files and directories currently installed.)
> 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'
> root at sid:~# zgrep 2012 /usr/share/man/man1/corelist.*.gz
> .TH CORELIST 1 "2012-09-07" "perl v5.14.2" "Perl Programmers Reference Guide"

Hmm... I don't see that in the unpacked perl deb:

	/var/cache/apt/archives/perl_5.14.2-13_i386.deb

but something else:

$ zcat usr/share/man/man1/corelist.1.gz | head
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)

So, who's at fault here?  What am I missing?


Cheers,

-- 
Cristian



More information about the pkg-perl-maintainers mailing list