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)

Thanks for your help,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to