Failure to install: pre-removal script returned error exit status 1
Bug #397832 reported by
Ahop
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I was trying to upgrade from MySQL 5.0.75 to 5.1 when I received the below error:
E: mysql-server-5.0: subprocess pre-removal script returned error exit status 1
It appears that there is an issue with removing the existing package.
To post a comment you must log in.
apt-get -y --force-yes -f install mysql-client mysql-server mysql-admin ..
Reading package lists... tools-common (= 5.0r12-1ubuntu1) but it is not going to be installed
Recommends: mysql-query-browser but it is not going to be installed 0.75-0ubuntu10. 2) but it is not going to be installed
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-admin: Depends: mysql-gui-
mysql-client: Depends: mysql-client-5.1 but it is not going to be installed
mysql-server: Depends: mysql-server-5.1 but it is not going to be installed
mysql-server-5.0: Depends: mysql-client-5.0 (>= 5.1.30really5.
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).