package phpmyadmin 4:3.3.7-5build0.10.10.1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

Bug #948055 reported by Maximilian Albert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed the package phpmyadmin (via apt-get install) and then tried to remove it straight away. It gave me the option to purge the database for phpmyadmin (to which I agreed) but this step failed with the following error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

This seems to be what keeps the package from uninstalling properly.

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: phpmyadmin 4:3.3.7-5build0.10.10.1
ProcVersionSignature: Ubuntu 2.6.35-32.66-generic 2.6.35.14
Uname: Linux 2.6.35-32-generic x86_64
NonfreeKernelModules: nvidia
AptOrdering: phpmyadmin: Purge
Architecture: amd64
Date: Tue Mar 6 14:05:42 2012
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
PackageArchitecture: all
SourcePackage: phpmyadmin
Title: package phpmyadmin 4:3.3.7-5build0.10.10.1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

Revision history for this message
Maximilian Albert (cilix) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Thank you for reporting this bug to Ubuntu. Ubuntu 10.10 reached End Of Live on April 10, 2012
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

I have tried to reproduce with the latest developer version of Ubuntu, but could not.

Please upgrade to the latest stable version(Ubuntu 12.04) and re-test.

Do feel free to report any other bugs you may find.

----------------------------------------------------------

Howto Upgrade:

Look at the "software sources" of your system. There should under the menu point "actualization" some entries about notifications.

Set them all to the shortest times available. The last entrie there should be something like notify about newer ubuntu versions.

Apply this changes and reload your package sources : e.g synaptic relaod or update manager(Software updates).

You should after this get a notification(try a bit arround until the sytem recognize) about a release upgrade from the update-manager(may be called Software updates).

Run this.

!Make first a backup of your system!(e.g. dejadub)

The upgrades has become more and more stable in the last years, but the procedure is a complicated one for the software and may under circumstances render your system unbootable.

The whole upgrade may take some hours.

Good luck!

-------------------------------------------------------------------------------------

Please iterate this until you have reached the actual version Ubuntu12.04.

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.