package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: my.cnf was missing

Bug #437600 reported by martin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When installing this package, it won't start because of (or at least reports 3 warnings about) the missing file /etc/mysql/my.cnf. I tried to remove it, re-install it, but the file is still missing.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
martin (mbvlist) wrote :
Revision history for this message
Andreas Olsson (andol) wrote :

For a configuration files (among others) to be recreated at reinstall the original package need to be purge. The file /etc/mysql/my.cnf belong to the package mysql-common. Hence you want to purge the package mysql-common and then reinstall.

Does that help?

Changed in mysql-dfsg-5.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
martin (mbvlist) wrote :

I'll try to do that this night, but I'm a bit busy with a thesis and stuff like that.

Revision history for this message
martin (mbvlist) wrote :

apt-get remove mysql-common will make sure I have to remove 43 packages:

The following packages will be REMOVED:
  apache2-mpm-prefork apache2-utils apache2.2-common dolphin
  gstreamer0.10-plugins-bad kdebase-bin kdebase-data kdebase-runtime
  kdebase-runtime-bin-kde4 kdelibs-bin kdelibs5 kfind khelpcenter4 kile
  konqueror konqueror-nsplugins konsole libapache2-mod-php5 libaprutil1
  libdbd-mysql-perl libgmyth0 libkonq5 libmysqlclient15off libokularcore1
  libqt4-sql-mysql librdf0 libsoprano4 libsvn-perl libsvn1 libsvncpp1
  mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
  mysql-server-core-5.0 okular okular-extra-backends php5-mysql
  python-subversion rapidsvn redland-utils soprano-daemon subversion

I'll give it a shot tomorrow in a virtual machine. I've seen in /var/log/apt/term.log.2.gz (my oldest) that mysql-common was installed a lot earlier than mysql-client and mysql-server. But it doesn't show up in /var/log/dpkg.log. My best shot is that it was installed during the installation, and somehow broken by an update.

Revision history for this message
martin (mbvlist) wrote :

My virtual machine doesn't have the server or client installed, but my.cnf is present, so I don't think I can help with that. Let's call it a freak of nature :)

Revision history for this message
Chuck Short (zulcss) wrote :

Marking as invalid.

Changed in mysql-dfsg-5.0 (Ubuntu):
status: Incomplete → Invalid
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.