I've tried several methods, from the terminal and now from the software centre and there I'm getting this error:
mysql-client-5.6: Depends: libwrap0 (>= 7.6-4~) but 7.6.q-25 is to be installed
Depends: zlib1g (>= 1:1.2.0) but 1:1.2.8.dfsg-1ubuntu1 is to be installed
How to fix this? What is happening?
Tried this:
sudo apt-get install mysql-client-core-5.5
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
The following NEW packages will be installed:
mysql-client-core-5.5
0 To upgrade, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B / 702 KB archive.
After this operation, additional 6,969 KB of space used on the drive.
Choose not previously chosen package mysql-client-core-5.5.
(Reading database ... 168860 files and directories currently installed.)
Preparing to decompress ... / mysql-client-core 5.5_5.5.44-0ubuntu0.14.04.1_amd64.deb ...
Unpack mysql-client-core-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Manages triggers for man-db (2.7.0.2-2) ...
marko @ marko-VPCEH1L8E: ~ $ sudo apt-get install mysql-server
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
Some packages could not be installed. It may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
from "Incoming".
The following information may help to resolve the situation:
The following packages have dependencies that can not be satisfied:
mysql-server: Depends: mysql-server-5.5 but it will not be installed
E: Unable to correct problems, you have held broken packages.
It comes more::
mysql-client-5.6:
Installerad: (ingen)
Kandidat: 5.6.19-0ubuntu0.14.04.1
Versionstabell:
5.6.19-0ubuntu0.14.04.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
5.6.16-1~exp1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libwrap0:
Installerad: 7.6.q-25
Kandidat: 7.6.q-25
Versionstabell:
*** 7.6.q-25 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
zlib1g:
Installerad: 1:1.2.8.dfsg-1ubuntu1
Kandidat: 1:1.2.8.dfsg-1ubuntu1
Versionstabell:
*** 1:1.2.8.dfsg-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
Even more::
sudo apt-get install mysql-client-5.6 libwrap0 zlib1g
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
libwrap0 is already the newest version.
zlib1g is already the newest version.
Some packages could not be installed. It may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
from "Incoming".
The following information may help to resolve the situation:
The following packages have dependencies that can not be satisfied:
mysql-client-5.6: Depends: libdbd-mysql-perl (> = 1.2202) but it will not be installed
Depends: libdbi-perl but it will not be installed
Depends: libterm-ReadKey-perl but it will not be installed
E: Unable to correct problems, you have held broken packages.
apt-cache policy mysql-client-5.6 libwrap0 zlib1g
– A.B. Oct 20 '15 at 17:42sudo apt-get install policy mysql-client-5.6 libwrap0 zlib1g
– A.B. Oct 20 '15 at 17:46LANG=C
before the command, i.e.LANG=C sudo apt-get update
. If you typeLANG=C
as only command, the terminal language will be set to English until you close the terminal window. – Byte Commander Oct 20 '15 at 19:48