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

Bug #1075342 reported by Richard Spingarn
8
This bug affects 1 person
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-0ubuntu0.12.04.1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
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.log.daemon.log:

Logs.var.log.kern.log: Nov 5 12:39:54 richardsubuntu kernel: [ 22.711055] type=1400 audit(1352140794.354:16): apparmor="STATUS" operation="profile_load" name="/usr/sbin/mysqld" pid=1144 comm="apparmor_parser"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['debian-5.5.flag', 'ib_logfile1', 'ibdata1', 'mysql_upgrade_info', 'ib_logfile0', 'performance_schema', 'test', 'mysql']
SourcePackage: mysql-5.5
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apparmor.d.usr.sbin.mysqld: [modified]
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2012-10-11T08:07:46.713576

Revision history for this message
Richard Spingarn (richspin) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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) ...
Unpacking replacement mysql-server ...
Preparing to replace mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 (using .../mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb) ...
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/perl5/Debconf/Db.pm line 35, <DEBCONF_CONFIG> chunk 8.
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/perl5/Debconf/Db.pm line 35, <DEBCONF_CONFIG> chunk 8.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb (--unpack):
 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!

Changed in mysql-5.5 (Ubuntu):
status: New → Invalid
Revision history for this message
Richard Spingarn (richspin) wrote : Re: [Bug 1075342] Re: 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
Download full text (3.6 KiB)

Clint,

Thank you for writing. I figured out that my debconf was corrupted and
fixed the problem shortly after the bug was reported. Guess I should have
reported the fix. Sorry. Will be sure to do that in the future.

Thanks again for the reply.

Richard

On Fri, Nov 30, 2012 at 11:36 AM, Clint Byrum <email address hidden> wrote:

> 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) ...
> Unpacking replacement mysql-server ...
> Preparing to replace mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 (using
> .../mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb) ...
> 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/perl5/Debconf/Db.pm line 35, <DEBCONF_CONFIG> chunk 8.
> 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/perl5/Debconf/Db.pm line 35, <DEBCONF_CONFIG> chunk 8.
> dpkg: error processing
> /var/cache/apt/archives/mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb
> (--unpack):
> 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!
>
> ** Changed in: mysql-5.5 (Ubuntu)
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1075342
>
> Title:
> 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
>
> Status in “mysql-5.5” package in Ubuntu:
> Invalid
>
> Bug description:
> Happened using Update Manager
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1
> ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
> 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.log.daemon.log:
>
> Logs.var.log.kern.log: Nov 5 12:39:54 richardsubuntu kernel: [
> 22.711055] type=1400 audit(1352140794.354:16): apparmor="STATUS"
> operation="profile_load" name="/usr/sbin/mysqld" pid=1144
> comm="apparmor_parser"
> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['debian-5.5.flag', 'ib_logfile1', 'ibdata1',
> 'mysql_upgrade_info', 'ib_logfile0', 'performance_schema', 'test', 'mysql']
> SourcePackage: mysql-5.5
> Title: package mysql-server-5.5 5.5.24-0ubuntu0.12.04....

Read more...

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.