Posts

Showing posts with the label unmet dependencies

How to fix apt-get upgrade/install fail error related to linux-headers-server unmet dependencies

I was trying to upgrade my Ubuntu server and got this error this morning: You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  linux-server : Depends: linux-image-server (= 3.2.0.69.82) but 3.2.0.76.90 is installed                 Depends: linux-headers-server (= 3.2.0.69.82) but 3.2.0.76.90 is installed E: Unmet dependencies. Try using -f. I ran the apt-get -f install  command over and over but It kept failing. Then I found the solution: $ sudo aptitude install linux-headers-server aptitude is smarter at dependency solutions than apt-get. It fixed the issue and the server is fine now. Reference:   http://ubuntuforums.org/showthread.php?t=2198740

Install MariaDB in Ubuntu13.10

Ubuntu 13.10 is the latest release when I post this blog. I tried to install MariaDB following these instructions: sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu saucy main' sudo apt-get update sudo apt-get install mariadb-server (source: https://downloads.mariadb.org/mariadb/repositories/) And I got this error message: The following packages have unmet dependencies: mariadb-server-5.5 : Depends: mariadb-client-5.5 (>= 5.5.33a+maria-1~saucy) but it is not going to be installed Depends: mariadb-server-core-5.5 (>= 5.5.33a+maria-1~saucy) but it is not going to be installed E: Unable to correct problems, you have held broken packages. The reason for this issue is the version of MariaDB is mismatch with the version in the Ubuntu repositories ( click to read more about this ). ...