Bug#567061: perl-doc: No /usr/bin/perldoc after Etch->Lenny Upgrade

Patrik Schindler poc at pocnet.net
Fri Jan 29 21:39:36 UTC 2010


Hello Niko,

thanks for your help!

Am 27.01.2010 um 09:46 schrieb Niko Tyni:

>> The Problem on the first machine has been fixed with a reinstall  
>> of perl-doc.
>> So I think, it's a package-bug.
>
> Yeah, something certainly went wrong there. The perl-doc package  
> contains
> /usr/bin/perldoc, so it's apparently been removed afterwards somehow.


Perhaps something broken with the Diversion-Thing?


> Do you have any logs left about the upgrade that would give us some  
> clue?
> Likely candidates would be /var/log/dpkg.log*, /var/log/apt/ 
> term.log*, and
> /var/log/aptitude* .


Yes, see (some things come multiple times, see below):


# zgrep -e ' perl ' -e ' perl-doc ' dpkg.log.3.gz
2009-10-08 11:40:46 upgrade perl-doc 5.8.8-7etch6 5.10.0-19lenny2
2009-10-08 11:40:46 status half-configured perl-doc 5.8.8-7etch6
2009-10-08 11:40:46 status unpacked perl-doc 5.8.8-7etch6
2009-10-08 11:40:46 status half-installed perl-doc 5.8.8-7etch6
2009-10-08 11:40:47 status half-installed perl-doc 5.8.8-7etch6
2009-10-08 11:40:48 status unpacked perl-doc 5.10.0-19lenny2
2009-10-08 11:40:48 status unpacked perl-doc 5.10.0-19lenny2
2009-10-08 11:40:49 upgrade perl 5.8.8-7etch6 5.10.0-19lenny2
2009-10-08 11:40:49 status half-configured perl 5.8.8-7etch6
2009-10-08 11:40:49 status unpacked perl 5.8.8-7etch6
2009-10-08 11:40:49 status half-installed perl 5.8.8-7etch6
2009-10-08 11:40:50 status unpacked perl 5.8.8-7etch6
2009-10-08 11:40:50 status installed perl 5.8.8-7etch6
2009-10-08 11:43:18 upgrade perl 5.8.8-7etch6 5.10.0-19lenny2
2009-10-08 11:43:18 status half-configured perl 5.8.8-7etch6
2009-10-08 11:43:19 status unpacked perl 5.8.8-7etch6
2009-10-08 11:43:19 status half-installed perl 5.8.8-7etch6
2009-10-08 11:43:19 status unpacked perl 5.8.8-7etch6
2009-10-08 11:43:20 status installed perl 5.8.8-7etch6
2009-10-08 11:43:40 upgrade perl 5.8.8-7etch6 5.10.0-19lenny2
2009-10-08 11:43:40 status half-configured perl 5.8.8-7etch6
2009-10-08 11:43:40 status unpacked perl 5.8.8-7etch6
2009-10-08 11:43:40 status half-installed perl 5.8.8-7etch6
2009-10-08 11:43:41 status unpacked perl 5.8.8-7etch6
2009-10-08 11:43:41 status installed perl 5.8.8-7etch6
2009-10-08 11:44:59 upgrade perl 5.8.8-7etch6 5.10.0-19lenny2
2009-10-08 11:44:59 status half-configured perl 5.8.8-7etch6
2009-10-08 11:44:59 status unpacked perl 5.8.8-7etch6
2009-10-08 11:44:59 status half-installed perl 5.8.8-7etch6
2009-10-08 11:45:00 status half-installed perl 5.8.8-7etch6
2009-10-08 11:45:02 status unpacked perl 5.10.0-19lenny2
2009-10-08 11:45:02 status unpacked perl 5.10.0-19lenny2
2009-10-08 11:47:41 configure perl 5.10.0-19lenny2 5.10.0-19lenny2
2009-10-08 11:47:41 status unpacked perl 5.10.0-19lenny2
2009-10-08 11:47:41 status half-configured perl 5.10.0-19lenny2
2009-10-08 11:47:41 status installed perl 5.10.0-19lenny2
2009-10-08 11:47:42 configure perl-doc 5.10.0-19lenny2 5.10.0-19lenny2
2009-10-08 11:47:42 status unpacked perl-doc 5.10.0-19lenny2
2009-10-08 11:47:42 status half-configured perl-doc 5.10.0-19lenny2
2009-10-08 11:47:42 status installed perl-doc 5.10.0-19lenny2

zgrep -e ' perl ' -e ' perl-doc ' term.log.3.gz
Preparing to replace perl-doc 5.8.8-7etch6 (using .../perl- 
doc_5.10.0-19lenny2_all.deb) ...
Unpacking replacement perl-doc ...
Preparing to replace perl 5.8.8-7etch6 (using .../ 
perl_5.10.0-19lenny2_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl 5.8.8-7etch6 (using .../ 
perl_5.10.0-19lenny2_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl 5.8.8-7etch6 (using .../ 
perl_5.10.0-19lenny2_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl 5.8.8-7etch6 (using .../ 
perl_5.10.0-19lenny2_i386.deb) ...
Unpacking replacement perl ...
Setting up perl (5.10.0-19lenny2) ...
Setting up perl-doc (5.10.0-19lenny2) ...


Manual looking reveals (happened before the next paragraph):

Preparing to replace perl-doc 5.8.8-7etch6 (using .../perl- 
doc_5.10.0-19lenny2_all.deb) ...
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by  
perl-doc'
Unpacking replacement perl-doc ...


But I found that (and remembered that this bit me):

dpkg: error processing /var/cache/apt/archives/ 
perl_5.10.0-19lenny2_i386.deb (--unpack):
  trying to overwrite `/usr/bin/ptardiff', which is also in package  
libarchive-tar-perl
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Errors were encountered while processing:
  /var/cache/apt/archives/perl_5.10.0-19lenny2_i386.deb
Log ended: 2009-10-08  11:40:55

I removed libarchive-tar-perl and it's dependencies (mainly  
spamassassin) so I could continue the dist-upgrade and (re)installed  
spamassassin afterwards. Maybe here is the problem? Interrupted  
package installation? Or because of the install order (first perldoc,  
then perl)?


:wq! PoC








More information about the Perl-maintainers mailing list