Comment 11 for bug 989353

Revision history for this message
Richard (resaulsberry) wrote : Re: [Bug 989353] Re: package mysql-server-5.5 5.5.22-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

richard@richard-laptop:~$ sudo pico 1335532033831.log
[sudo] password for richard:
richard@richard-laptop:~$ sudo dpkg -l |grep mysql-server[sudo] password
for richard:
ii mysql-server-5.5 5.5.22-0ubuntu1
                 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.22-0ubuntu1
                 MySQL database server binaries
richard@richard-laptop:~$ sudo dpkg -l |grep mysql
ii libdbd-mysql-perl 4.020-1build2
                 Perl5 database interface to the MySQL database
rc libmysqlclient16 5.1.62-0ubuntu0.11.10.1
                 MySQL database client library
ii libmysqlclient18 5.5.22-0ubuntu1
                 MySQL database client library
ii mysql-client-5.5 5.5.22-0ubuntu1
                 MySQL database client binaries
ii mysql-client-core-5.5 5.5.22-0ubuntu1
                 MySQL database core client binaries
ii mysql-common 5.5.22-0ubuntu1
                 MySQL database common files, e.g. /etc/mysql/my.cnf
rc mysql-navigator 1.4.2-13
                  GUI client program for MySQL database server
ii mysql-server-5.5 5.5.22-0ubuntu1
                 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.22-0ubuntu1
                 MySQL database server binaries
ii php5-mysql 5.3.10-1ubuntu3.1
                 MySQL module for php5
richard@richard-laptop:~$

On Mon, May 7, 2012 at 4:20 PM, Richard Saulsberry
<email address hidden>wrote:

> what do you see when you run dpkg -l | grep mysql-server?
>
>
>
>
> On Mon, May 7, 2012 at 3:08 PM, Sasa Stamenkovic <
> <email address hidden>> wrote:
>
>> I tried again, and I got:
>>
>> # apt-get --purge remove mysql-server-5.1 mysql-server-5.5
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Virtual packages like 'mysql-server-5.1' can't be removed
>> The following packages will be REMOVED:
>> mysql-server-5.5*
>> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
>> 1 not fully installed or removed.
>> After this operation, 31.3 MB disk space will be freed.
>> Do you want to continue [Y/n]? Y
>> (Reading database ... 243407 files and directories currently installed.)
>> Removing mysql-server-5.5 ...
>> Purging configuration files for mysql-server-5.5 ...
>> Processing triggers for ureadahead ...
>> Processing triggers for man-db ...
>>
>> The most important part is:
>>
>> Virtual packages like 'mysql-server-5.1' can't be removed
>>
>> I can't get rid of mysql-server-5.1.
>>
>> Thanks in advance.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/989353
>>
>> Title:
>> package mysql-server-5.5 5.5.22-0ubuntu1 failed to install/upgrade:
>> subprocess installed post-installation script returned error exit
>> status 1
>>
>> Status in “mysql-5.5” package in Ubuntu:
>> Confirmed
>>
>> Bug description:
>> unable to login to mysql, Error: unable to set password fro mysql
>> "root" user.
>>
>> I then tried to uninstall and then I got more error messages
>>
>> ProblemType: Package
>> DistroRelease: Ubuntu 12.04
>> Package: mysql-server-5.5 5.5.22-0ubuntu1
>> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
>> Uname: Linux 3.2.0-24-generic i686
>> ApportVersion: 2.0.1-0ubuntu6
>> AptOrdering:
>> libjaxp1.3-java: Remove
>> mysql-server-5.5: Configure
>> mysql-server: Configure
>> Architecture: i386
>> Date: Thu Apr 26 21:51:30 2012
>> DuplicateSignature:
>> Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
>> start: Job failed to start
>> invoke-rc.d: initscript mysql, action "start" failed.
>> dpkg: error processing mysql-server-5.5 (--configure):
>> subprocess installed post-installation script returned error exit
>> status 1
>> ErrorMessage: subprocess installed post-installation script returned
>> error exit status 1
>> InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386
>> (20100429.4)
>> Logs.var.log.daemon.log:
>>
>> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
>> [mysqld_safe]
>> syslog
>> MySQLVarLibDirListing: ['mysql_upgrade_info', 'test', 'shoppingcart',
>> 'performance_schema', 'ibdata1', 'debian-5.1.flag', 'mysql',
>> 'debian-5.5.flag']
>> SourcePackage: mysql-5.5
>> Title: package mysql-server-5.5 5.5.22-0ubuntu1 failed to
>> install/upgrade: subprocess installed post-installation script returned
>> error exit status 1
>> UpgradeStatus: Upgraded to precise on 2012-04-27 (0 days ago)
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/989353/+subscriptions
>>
>
>