package perl-doc 5.10.1-8ubuntu2 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: perl
The following packages have unmet dependencies:
perl: Depends: perl-base (= 5.10.1-8ubuntu2) but 5.10.1-8ubuntu2.1 is installed
perl-suid: Depends: perl (= 5.10.1-8ubuntu2.1) but 5.10.1-8ubuntu2 is installed
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: perl-doc 5.10.1-8ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-28-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed May 4 09:45:04 2011
ErrorMessage: subprocess new pre-installation script returned error exit status 2
PackageArchitec
SourcePackage: perl
Title: package perl-doc 5.10.1-8ubuntu2 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2
tags: | added: package-conflict |
The complete install attempt
# aptitude full-upgrade 5.10.1- 8ubuntu2. 1_amd64. deb) ... apt/archives/ perl_5. 10.1-8ubuntu2. 1_amd64. deb (--unpack): doc_5.10. 1-8ubuntu2. 1_all.deb) ... perldoc. stub by perl-doc' perldoc. stub' with apt/archives/ perl-doc_ 5.10.1- 8ubuntu2. 1_all.deb (--unpack): apt/archives/ perl_5. 10.1-8ubuntu2. 1_amd64. deb apt/archives/ perl-doc_ 5.10.1- 8ubuntu2. 1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
perl perl-doc
The following partially installed packages will be configured:
perl-suid
2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/11.6MB of archives. After unpacking 24.6kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 497330 files and directories currently installed.)
Preparing to replace perl 5.10.1-8ubuntu2 (using .../perl_
Unpacking replacement perl ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/bin/perldoc', which is also in package perl-doc 0:5.10.1-8ubuntu2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace perl-doc 5.10.1-8ubuntu2 (using .../perl-
Adding `diversion of /usr/bin/perldoc to /usr/bin/
dpkg-divert: rename involves overwriting `/usr/bin/
different file `/usr/bin/perldoc', not allowed
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 2
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of perl-suid:
perl-suid depends on perl (= 5.10.1-8ubuntu2.1); however:
Version of perl on system is 5.10.1-8ubuntu2.
dpkg: error processing perl-suid (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl-suid
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done