package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 255
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Happened using Update Manager
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.24-
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Mon Nov 5 12:35:57 2012
ErrorMessage: subprocess new pre-removal script returned error exit status 255
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Logs.var.
Logs.var.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
SourcePackage: mysql-5.5
Title: package mysql-server-5.5 5.5.24-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
Hi Richard, it appears your system is misconfigured a bit:
Preparing to replace mysql-server 5.5.24- 0ubuntu0. 12.04.1 (using .../mysql- server_ 5.5.28- 0ubuntu0. 12.04.2_ all.deb) ... 0ubuntu0. 12.04.1 (using .../mysql- server- 5.5_5.5. 28-0ubuntu0. 12.04.2_ amd64.deb) ... perl5/Debconf/ Db.pm line 35, <DEBCONF_CONFIG> chunk 8. perl5/Debconf/ Db.pm line 35, <DEBCONF_CONFIG> chunk 8. apt/archives/ mysql-server- 5.5_5.5. 28-0ubuntu0. 12.04.2_ amd64.deb (--unpack):
Unpacking replacement mysql-server ...
Preparing to replace mysql-server-5.5 5.5.24-
debconf: Problem setting up the database defined by stanza 8 of /etc/debconf.conf.
driver type not specified (perhaps you need to re-read debconf.conf(5)) at /usr/share/
dpkg: warning: subprocess old pre-removal script returned error exit status 255
dpkg - trying script from the new package instead ...
debconf: Problem setting up the database defined by stanza 8 of /etc/debconf.conf.
driver type not specified (perhaps you need to re-read debconf.conf(5)) at /usr/share/
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 255
You may want to try restoring the original /etc/debconf.conf file. You can do so with:
apt-get download debconf
sudo dpkg -i --force-confnew debconf_*.deb
Good luck!