Error while installation of mariadb 10 on Ubuntu 14.04
When I tried to install mariadb on Ubuntu 14.04, it shows:
dpkg: error processing archive
/var/cache/apt/archives/libmysqlclient18_10.0.14+maria-1~trusty_amd64.deb (--unpack):
libmysqlclient18:amd64 10.0.14+maria-1~trusty
(Multi-Arch: no) is not co-installable
with libmysqlclient18 which has multiple installed instances
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried many ways to solve it but no one solved it.
14.04 apt dpkg mysql mariadb
add a comment |
When I tried to install mariadb on Ubuntu 14.04, it shows:
dpkg: error processing archive
/var/cache/apt/archives/libmysqlclient18_10.0.14+maria-1~trusty_amd64.deb (--unpack):
libmysqlclient18:amd64 10.0.14+maria-1~trusty
(Multi-Arch: no) is not co-installable
with libmysqlclient18 which has multiple installed instances
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried many ways to solve it but no one solved it.
14.04 apt dpkg mysql mariadb
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30
add a comment |
When I tried to install mariadb on Ubuntu 14.04, it shows:
dpkg: error processing archive
/var/cache/apt/archives/libmysqlclient18_10.0.14+maria-1~trusty_amd64.deb (--unpack):
libmysqlclient18:amd64 10.0.14+maria-1~trusty
(Multi-Arch: no) is not co-installable
with libmysqlclient18 which has multiple installed instances
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried many ways to solve it but no one solved it.
14.04 apt dpkg mysql mariadb
When I tried to install mariadb on Ubuntu 14.04, it shows:
dpkg: error processing archive
/var/cache/apt/archives/libmysqlclient18_10.0.14+maria-1~trusty_amd64.deb (--unpack):
libmysqlclient18:amd64 10.0.14+maria-1~trusty
(Multi-Arch: no) is not co-installable
with libmysqlclient18 which has multiple installed instances
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried many ways to solve it but no one solved it.
14.04 apt dpkg mysql mariadb
14.04 apt dpkg mysql mariadb
edited Feb 13 '17 at 13:37
Cristiana Nicolae
2,79082141
2,79082141
asked Nov 1 '14 at 10:54
Marwan ZakariyaMarwan Zakariya
2112
2112
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30
add a comment |
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30
add a comment |
3 Answers
3
active
oldest
votes
From comments in the mariadb documentation:
To fix the "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances" problem follow further steps:
The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:
fully remove
libmariadbclient18
(because it depends on libmysqlclient18) withapt-get --purge remove libmariadbclient18
fully remove
libmysqlclient18:i386
withapt-get --purge remove libmysqlclient18:i386
Then proceed with the automated Software Update installation (or install
libmariadbclient18
andlibmysqlclient18 5.5.34+maria-1saucy
from the terminal)
add a comment |
For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar
libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances
After following these suggestions to no avail, the following helped me greatly: How to Replace MySQL with MariaDB in Ubuntu Server by JournalXtra .
Editing /var/lib/dpkg/status and removing the two instances of libmysqlclient18 like this:
Package: libmysqlclient18
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 3392
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: same
Source: mysql-5.5
Version: 5.5.40-0ubuntu1
Config-Version: 5.5.40-0ubuntu1
Depends: mysql-common (>= 5.5.40-0ubuntu1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Allowed me to install MariaDB smoothly afterward.
sudo apt-get install mariadb-server
Note: I did get here after many attempts at this removing libmariadbclient18 and libmysqlclient18 before this solution worked. I couldn't get past apt-get issues until these two were removed since they were reported as broken packages before I could attempt any other repair.
add a comment |
It works for me.
sudo dpkg --purge libmysqlclient18
sudo dpkg --purge libmysqlclient18:i386
sudo apt install -f
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f544345%2ferror-while-installation-of-mariadb-10-on-ubuntu-14-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
From comments in the mariadb documentation:
To fix the "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances" problem follow further steps:
The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:
fully remove
libmariadbclient18
(because it depends on libmysqlclient18) withapt-get --purge remove libmariadbclient18
fully remove
libmysqlclient18:i386
withapt-get --purge remove libmysqlclient18:i386
Then proceed with the automated Software Update installation (or install
libmariadbclient18
andlibmysqlclient18 5.5.34+maria-1saucy
from the terminal)
add a comment |
From comments in the mariadb documentation:
To fix the "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances" problem follow further steps:
The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:
fully remove
libmariadbclient18
(because it depends on libmysqlclient18) withapt-get --purge remove libmariadbclient18
fully remove
libmysqlclient18:i386
withapt-get --purge remove libmysqlclient18:i386
Then proceed with the automated Software Update installation (or install
libmariadbclient18
andlibmysqlclient18 5.5.34+maria-1saucy
from the terminal)
add a comment |
From comments in the mariadb documentation:
To fix the "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances" problem follow further steps:
The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:
fully remove
libmariadbclient18
(because it depends on libmysqlclient18) withapt-get --purge remove libmariadbclient18
fully remove
libmysqlclient18:i386
withapt-get --purge remove libmysqlclient18:i386
Then proceed with the automated Software Update installation (or install
libmariadbclient18
andlibmysqlclient18 5.5.34+maria-1saucy
from the terminal)
From comments in the mariadb documentation:
To fix the "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances" problem follow further steps:
The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:
fully remove
libmariadbclient18
(because it depends on libmysqlclient18) withapt-get --purge remove libmariadbclient18
fully remove
libmysqlclient18:i386
withapt-get --purge remove libmysqlclient18:i386
Then proceed with the automated Software Update installation (or install
libmariadbclient18
andlibmysqlclient18 5.5.34+maria-1saucy
from the terminal)
edited Feb 13 '17 at 9:05
Oleg Abrazhaev
13417
13417
answered Nov 1 '14 at 11:34
RinzwindRinzwind
205k28392526
205k28392526
add a comment |
add a comment |
For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar
libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances
After following these suggestions to no avail, the following helped me greatly: How to Replace MySQL with MariaDB in Ubuntu Server by JournalXtra .
Editing /var/lib/dpkg/status and removing the two instances of libmysqlclient18 like this:
Package: libmysqlclient18
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 3392
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: same
Source: mysql-5.5
Version: 5.5.40-0ubuntu1
Config-Version: 5.5.40-0ubuntu1
Depends: mysql-common (>= 5.5.40-0ubuntu1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Allowed me to install MariaDB smoothly afterward.
sudo apt-get install mariadb-server
Note: I did get here after many attempts at this removing libmariadbclient18 and libmysqlclient18 before this solution worked. I couldn't get past apt-get issues until these two were removed since they were reported as broken packages before I could attempt any other repair.
add a comment |
For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar
libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances
After following these suggestions to no avail, the following helped me greatly: How to Replace MySQL with MariaDB in Ubuntu Server by JournalXtra .
Editing /var/lib/dpkg/status and removing the two instances of libmysqlclient18 like this:
Package: libmysqlclient18
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 3392
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: same
Source: mysql-5.5
Version: 5.5.40-0ubuntu1
Config-Version: 5.5.40-0ubuntu1
Depends: mysql-common (>= 5.5.40-0ubuntu1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Allowed me to install MariaDB smoothly afterward.
sudo apt-get install mariadb-server
Note: I did get here after many attempts at this removing libmariadbclient18 and libmysqlclient18 before this solution worked. I couldn't get past apt-get issues until these two were removed since they were reported as broken packages before I could attempt any other repair.
add a comment |
For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar
libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances
After following these suggestions to no avail, the following helped me greatly: How to Replace MySQL with MariaDB in Ubuntu Server by JournalXtra .
Editing /var/lib/dpkg/status and removing the two instances of libmysqlclient18 like this:
Package: libmysqlclient18
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 3392
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: same
Source: mysql-5.5
Version: 5.5.40-0ubuntu1
Config-Version: 5.5.40-0ubuntu1
Depends: mysql-common (>= 5.5.40-0ubuntu1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Allowed me to install MariaDB smoothly afterward.
sudo apt-get install mariadb-server
Note: I did get here after many attempts at this removing libmariadbclient18 and libmysqlclient18 before this solution worked. I couldn't get past apt-get issues until these two were removed since they were reported as broken packages before I could attempt any other repair.
For those in Ubuntu 14.10 upgrading from MySQL to Maria DB, I would find this as one answer from Google searches. I would get stuck in 14.10 also with a similar
libmysqlclient18:amd64 10.0.16+maria-1~utopic (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances
After following these suggestions to no avail, the following helped me greatly: How to Replace MySQL with MariaDB in Ubuntu Server by JournalXtra .
Editing /var/lib/dpkg/status and removing the two instances of libmysqlclient18 like this:
Package: libmysqlclient18
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 3392
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Multi-Arch: same
Source: mysql-5.5
Version: 5.5.40-0ubuntu1
Config-Version: 5.5.40-0ubuntu1
Depends: mysql-common (>= 5.5.40-0ubuntu1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Allowed me to install MariaDB smoothly afterward.
sudo apt-get install mariadb-server
Note: I did get here after many attempts at this removing libmariadbclient18 and libmysqlclient18 before this solution worked. I couldn't get past apt-get issues until these two were removed since they were reported as broken packages before I could attempt any other repair.
edited Apr 26 '17 at 10:43
jakob-r
1233
1233
answered Feb 9 '15 at 7:52
m1st0m1st0
892
892
add a comment |
add a comment |
It works for me.
sudo dpkg --purge libmysqlclient18
sudo dpkg --purge libmysqlclient18:i386
sudo apt install -f
add a comment |
It works for me.
sudo dpkg --purge libmysqlclient18
sudo dpkg --purge libmysqlclient18:i386
sudo apt install -f
add a comment |
It works for me.
sudo dpkg --purge libmysqlclient18
sudo dpkg --purge libmysqlclient18:i386
sudo apt install -f
It works for me.
sudo dpkg --purge libmysqlclient18
sudo dpkg --purge libmysqlclient18:i386
sudo apt install -f
edited Jan 15 at 1:20
Pablo Bianchi
2,4751532
2,4751532
answered Jan 14 at 10:41
yuliayulia
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f544345%2ferror-while-installation-of-mariadb-10-on-ubuntu-14-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
mariadb.com/kb/en/mariadb/documentation/getting-started/… seems the way to fix this.
– Rinzwind
Nov 1 '14 at 11:30