Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The following packages have unmet dependencies:
mysql-server-5.5: PreDepends: mysql-common (>= 5.5.22-0ubuntu1) but 5.5.24-0ubuntu0.12.04.1 is installed
Depends: mysql-client-5.5 (>= 5.5.22-0ubuntu1) but 5.5.24-0ubuntu0.12.04.1 is installed
Depends: perl (>= 5.6) but 5.14.2-6ubuntu2 is installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu4 is installed
Depends: upstart-job but it is a virtual package
Depends: mysql-server-core-5.5 (= 5.5.22-0ubuntu1) but 5.5.24-0ubuntu0.12.04.1 is installed
Owner

arooni commented Jun 14, 2012

reslut of sudo apt-get install -f:

LilArooni ~: sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
mysql-server-5.5
Suggested packages:
tinyca
The following packages will be upgraded:
mysql-server-5.5
1 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
9 not fully installed or removed.
Need to get 0 B/8,821 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 226295 files and directories currently installed.)
Preparing to replace mysql-server-5.5 5.5.22-0ubuntu1 (using .../mysql-server-5.5_5.5.24-0ubuntu0.12.04.1_amd64.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg - trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.5_5.5.24-0ubuntu0.12.04.1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.5_5.5.24-0ubuntu0.12.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment