Re: How to purge completly a broken MySQL



On Sat, Jan 10, 2009 at 02:46:53PM -0500, Hal Burgiss wrote:
On Sat, Jan 10, 2009 at 02:41:20PM -0500, stan wrote:

How can I force a complete purge of this package?

apt-get purge ....

AFAIK, that will remove all remnants of the original installation.


root@boo-boo:/etc/mysql# apt-get purge mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server-5.0 is not installed, so not removed

Yet,

root@boo-boo:/etc/mysql# apt-get install mysql-server-5.0

Fails with.
Processing triggers for man-db ...
Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ...
* Stopping MySQL database server mysqld [
OK ]
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143:
/etc/mysql/conf.d/old_passwords.cnf: No such file or directory
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)

So, that did not, somehow get me back to where no traces of the original
install exits.

--
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
    ... Reading package fields... ... i t does not have execute permission ... installation script returned error exit status 100. ...
    (Debian-User)
  • Re: debian how-to
    ... like to do after installation, such as add mp3 playing ability, ... I've thought a number of times that the package description aspect ... lists every file named header.php complete with path ... # whereis whereis lists every file named "whereis" on your hard disk, ...
    (Debian-User)
  • Re: g77-3.4, ubuntu 7.10
    ... Reading package lists... ... DRE> I have done: ...
    (Ubuntu)
  • Re: apt-get...
    ... Reading package lists... ... Package fglrx-driver has no installation candidate ... you work on your computer when you want to turn your brain on" -- ...
    (Ubuntu)
  • Re: unstable: problems installing GNOME
    ... Reading package lists... ... Building dependency tree... ...
    (Debian-User)