[MDEV-6622] Installation problem Ubuntu 14.01.1 64 bit Created: 2014-08-21 Updated: 2014-10-23 Due: 2014-10-21 Resolved: 2014-10-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Debian |
| Affects Version/s: | 10.1.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | L C Wyche | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Installed badly. Package manager says package is broken. Cannot remove until fixed . Cannot fix. Lives here. /var/cache/apt/archives/libmysqlclient18_10.1.0+maria-1~trusty_amd64.deb Cannot see place for basic problems so put it here. Sorry. |
| Comments |
| Comment by Elena Stepanova [ 2014-08-21 ] |
|
Please paste the exact command that you ran and the output. |
| Comment by L C Wyche [ 2014-08-21 ] |
|
Thanks, Elena. I installed on Ubuntu using the Debian package as I can never get Tar packages to work, probably due to old age. |
| Comment by Elena Stepanova [ 2014-08-21 ] |
|
Yes, I understand that you are using deb packages. >> The output of dpkg -l | grep -E 'maria|mysql' is 'Command not found'. |
| Comment by L C Wyche [ 2014-08-22 ] |
|
According to Synaptic package manager neither MySql nor Maria DB are installed. When I try to install MySql following message shown -Could not apply changes! Tried again command dpkg -l | grep -E 'maria|mysql' - Result loz@loz-Comp:~$ dpkg -l | grep -E 'maria|mysql' |
| Comment by Elena Stepanova [ 2014-08-22 ] |
|
>> When I try to install MySql following message shown -Could not apply changes! What is the exact name of the package you are trying to install? Also, you have some parts of MySQL 5.6 in your system. Was it installed intentionally? |
| Comment by L C Wyche [ 2014-08-22 ] |
|
mysql-client 5.6.20 -lubuntu 14.0 The parts of MySql must have been installed intentionally but I don't remember doing it. It is only after trying to install MariaDB that I started getting messages about system faults and broken packages. The package manager reports no broken packages when applying the 'broken' filter, only in the example shown above - 'Could not apply changes - fix packages first! I am looking for a way to fix this short of re-installing the OS. Thanks |
| Comment by Elena Stepanova [ 2014-08-22 ] |
|
So, you are trying to install MySQL 5.6.20 client over an existing mix of MariaDB 5.5 + 10.1 and MySQL 5.6.19 packages, and getting a problem with this installation – is it what you are saying? If so, you need to report it to the packager of MySQL 5.6.20 client. Already installed MariaDB cannot do anything to prevent other packages from failing to install, if those packages do not have proper dependencies/conflicts etc. If I misunderstood your problem, please start from the beginning, saying what and how exactly you are trying to install (a full command if you are doing it from the command line, or package name(s) and actions if you are doing it via GUI), and pasting the exact quote of the error you are getting. |
| Comment by L C Wyche [ 2014-08-22 ] |
|
My attempt to install MySql over the remains of earlier versions of MySql and MariaDB is for purposes of illustration only. It is the only way to get the thing to admit the existence of broken packages. Thus:- loz@loz-Comp:~$ sudo apt-get install MySql-Client The following packages have unmet dependencies. The beginning of this problem is me trying to install WordPress. It demanded installation of one of a very limited list of SQL's, and I picked Maria, unaware that MySQL was already there. I download the DEB package, double-click on it, follow installation instructions, and the broken package appears. Also notification of system problems. I do not know if it is a good idea to attempt to re- install Maria DB. Thanks. |
| Comment by Elena Stepanova [ 2014-08-24 ] |
|
Currently you have on the machine a mix of MySQL 5.5.38, MySQL 5.6.19, MariaDB 10.1.0, remains of i386 installation which apparently doesn't belong there at all, and you also manually removed a package from the cache. On top of it, you are trying to install MySQL client 5.6.20. I don't think it's surprising that apt-get complains about broken packages; I also doubt that the whole mess happened upon installation of MariaDB 10.1.0 only, it wouldn't pull different versions of MySQL. I assume you already tried to run apt-get install -f ? Try it several times, stupid as it sounds, it's known to work this way. Regardless the package problem that you are experiencing, should you want to try MariaDB again in a more controlled environment, please keep in mind that 10.1.0 is currently Alpha and is not recommended for use in production. Please use 10.0 instead. |
| Comment by nafis [ 2014-09-11 ] |
|
I am facing same Problem. MariaDB is working fine. but i can not use apt-get command anymore. apt-get autoremove -f , apt-get dist-upgrade nothing works. $sudo apt-get autoremove -f dpkg: error processing archive /var/cache/apt/archives/libmysqlclient18_10.1.0+maria-1~trusty_amd64.deb (--unpack): $ dpkg -l | grep -E 'maria|mysql' ii libapache2-mod-auth-mysql 4.3.9-13.1ubuntu3 amd64 Apache 2 module ... |
| Comment by Elena Stepanova [ 2014-10-09 ] |
|
To offer a sensible explanation and exact steps to fix the environment, we need to know how you got there.
It also doesn't help that both of you have some i386 packages installed alongside with amd64. I've seen before mysql-common:i386 coming from MySQL repo along with MySQL 5.6 server (amd64), don't know the conditions why it happens. Possibly libmysqlclient18:i386 came from the same source. I know for a fact that switching between versions and distributions like that causes various problems on deb-based systems, but to know which flavor of the problem you hit, it's necessary to understand in which order you were installing the versions and, very importantly, how you were doing it (exact apt-get commands: whether it was install, or upgrade, or dist-upgrade, and if it was install, which packages you listed explicitly). Without knowing more, I can only make some general suggestions. 1) As already mentioned (none of you said whether it helped or not), try to manually remove all packages starting from mysql-, mariadb-, libmysql* and libmariadb* (and even purge if possible). Maybe it will help to fix the broken environment. After you removed everything, you can also retry install -f. 2) After it is fixed,
Whichever you choose, you should never have both MySQL 5.6 repo and MariaDB repo enabled at the same time. It really makes no sense because there is nothing else useful in the repos apart from the servers/clients, and you cannot have both servers installed simultaneously. |
| Comment by Elena Stepanova [ 2014-10-23 ] |
|
Closing as incomplete for now (see the previous comment). |