Niko Tyni a écrit :
On Tue, Sep 16, 2008 at 08:36:17AM +0200, Julien PUYDT wrote:
Package: perl-doc
Version: 5.10.0-14
Unpacking perl-doc (from .../perl-doc_5.10.0-14_all.deb) ...
Adding `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
dpkg-divert: rename involves overwriting `/usr/bin/perldoc.stub' with
different file `/usr/bin/perldoc', not allowed
dpkg: error processing
/var/cache/apt/archives/perl-doc_5.10.0-14_all.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/perl-doc_5.10.0-14_all.deb
That's weird, I'm going to need more details. The only way I can get
this to happen is by manually creating /usr/bin/perldoc.stub first:
# dpkg --purge perl-doc
# touch /usr/bin/perldoc.stub
# apt-get install perl-doc
Was this an upgrade or a new installation of the package?
Is it reproducible?
Which architecture is this?
What's the output of
ls -l /usr/bin/perldoc*
dpkg-divert --list /usr/bin/perldoc
dpkg -S perldoc
Why do you mention perl-base in the bug title? (The stub /usr/bin/perldoc
should be in the perl package, not perl-base)
$ ls -l /usr/bin/perldoc*
-rwxr-xr-x 1 root root 125 sep 12 21:07 /usr/bin/perldoc
-rwxr-xr-x 1 root root 125 sep 16 23:01 /usr/bin/perldoc.stub
$ /usr/sbin/dpkg-divert --list /usr/bin/perldoc
(nothing)
$ dpkg -S perldoc
perl: /usr/bin/perldoc
emacs-goodies-el: /usr/share/emacs/site-lisp/emacs-goodies-el/perldoc.el
It was a dist-upgrade.
Since that seemed so strange, I did just "rm /usr/bin/perldoc.stub",
then retried to dist-upgrade : it worked :-/
I mentioned perl-base because it had a problem installing too (which got
fixed with dpkg --pending --configure if I remember well). Could it be
that a bad interaction triggered the problem?
Thanks for your reply,
Snark on freenode&gimpnet
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]