package mysql-server-5.1 5.1.41-3ubuntu12.10 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2

Bug #797832 reported by Holly Luo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

tried to install perl5 from source, but mysql-server-5.1 depends on ubuntu perl package.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.10
ProcVersionSignature: Ubuntu 2.6.32-32.62-generic-pae 2.6.32.38+drm33.16
Uname: Linux 2.6.32-32-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Jun 15 11:08:13 2011
ErrorMessage: subprocess new pre-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.10 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2

Revision history for this message
Holly Luo (zhgalaxy) wrote :
Revision history for this message
James Page (james-page) wrote :

Error from log:

Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.10_i386.deb) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/local/perl5/lib/site_perl/5.14.0/i686-linux /usr/local/perl5/lib/site_perl/5.14.0 /usr/local/perl5/lib/5.14.0/i686-linux /usr/local/perl5/lib/5.14.0 .) at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.10_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/local/perl5/lib/site_perl/5.14.0/i686-linux /usr/local/perl5/lib/site_perl/5.14.0 /usr/local/perl5/lib/5.14.0/i686-linux /usr/local/perl5/lib/5.14.0 .) at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 2

Revision history for this message
James Page (james-page) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Lucid ships perl 5.10.1-8ubuntu2.1; however looking at the error it would appear that you are using a localised perl 5.14.0 installation in /usr/local/perl5.

This is the most likely cause of your issue as the @INC path does not include the path to the required Debconf module.

If possible please could you revert to the standard Ubuntu perl installation and try to repeat the installation.

Please update this ticket if this resolves your issue.

Thanks

Changed in mysql-dfsg-5.1 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-dfsg-5.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.