LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-16-2014, 09:55 AM   #1
circus78
Member
 
Registered: Dec 2011
Posts: 273

Rep: Reputation: Disabled
Issue with Ubuntu Server 14.04 and mariadb


Hi all,
I was trying to upgrade my ubuntu server 14.04 (apt-get update, apt-get upgrade, apt-get dist-upgrade) and now I am stuck with this:

Code:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic
  linux-image-3.13.0-35-generic linux-image-extra-3.13.0-35-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common mysql-common
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 kB/1,587 kB of archives.
After this operation, 287 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://mariadb.cu.be//repo/5.5/ubuntu/ trusty/main mysql-common all 5.5.40+maria-1~trusty [8,374 B]
Get:2 http://mariadb.cu.be//repo/5.5/ubuntu/ trusty/main mariadb-common all 5.5.40+maria-1~trusty [3,190 B]
Fetched 11.6 kB in 2s (4,179 B/s)
(Reading database ... 156730 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.5.40+maria-1~trusty_all.deb ...
Unpacking mysql-common (5.5.40+maria-1~trusty) over (5.5.40-0ubuntu0.14.04.1) ...
Preparing to unpack .../mariadb-common_5.5.40+maria-1~trusty_all.deb ...
Unpacking mariadb-common (5.5.40+maria-1~trusty) over (5.5.40-0ubuntu0.14.04.1) ...
dpkg: regarding .../mariadb-client-core-5.5_5.5.40+maria-1~trusty_amd64.deb containing mariadb-client-core-5.5:
 mariadb-client-5.5 conflicts with mysql-client-core-5.5
  mariadb-client-core-5.5 provides mysql-client-core-5.5 and is to be installed.

dpkg: error processing archive /var/cache/apt/archives/mariadb-client-core-5.5_5.5.40+maria-1~trusty_amd64.deb (--unpack):
 conflicting packages - not installing mariadb-client-core-5.5
dpkg: regarding .../mariadb-client-5.5_5.5.40+maria-1~trusty_amd64.deb containing mariadb-client-5.5:
 mariadb-client-core-5.5 conflicts with mysql-client-5.5
  mariadb-client-5.5 provides mysql-client-5.5 and is to be installed.

dpkg: error processing archive /var/cache/apt/archives/mariadb-client-5.5_5.5.40+maria-1~trusty_amd64.deb (--unpack):
 conflicting packages - not installing mariadb-client-5.5
Errors were encountered while processing:
 /var/cache/apt/archives/mariadb-client-core-5.5_5.5.40+maria-1~trusty_amd64.deb
 /var/cache/apt/archives/mariadb-client-5.5_5.5.40+maria-1~trusty_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you help me please?
Thank you
 
Old 11-17-2014, 05:55 AM   #2
circus78
Member
 
Registered: Dec 2011
Posts: 273

Original Poster
Rep: Reputation: Disabled
I had to remove lots a package (with aptitude) in order to fix dependency issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 14.10 LAMP server tutorial with Apache 2, PHP 5 and MySQL (MariaDB) LXer Syndicated Linux News 0 11-06-2014 08:35 PM
LXer: Install LEMP Server (nginx, MySQL or MariaDB, PHP) On Ubuntu 13.10 Server LXer Syndicated Linux News 0 10-24-2013 05:40 AM
LXer: Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 13.10 Server LXer Syndicated Linux News 0 10-22-2013 03:50 AM
LXer: How to install mariadb on ubuntu 13.04 LXer Syndicated Linux News 0 08-22-2013 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration