Unmet dependencies for Mariadb

Discussion in 'Server Operation' started by Wilt, Sep 29, 2017.

  1. Wilt

    Wilt Member HowtoForge Supporter

    I have started getting errors when running updates as follows:
    [email protected]:~# sudo apt-get update
    Hit:1 http://ppa.launchpad.net/pbek/qownnotes/ubuntu xenial InRelease
    Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                      
    Hit:3 http://mirrors.coreix.net/mariadb/repo/10.2/ubuntu xenial InRelease                                                       
    Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease                                                                      
    Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                       
    Hit:6 http://www.ftp.saix.net/DB/mariadb/repo/10.1/ubuntu xenial InRelease        
    Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]     
    Fetched 306 kB in 0s (425 kB/s)                             
    Reading package lists... Done
    [email protected]:~# sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    mariadb-client : Depends: mariadb-client-10.1 (= 10.1.28+maria-1~xenial) but it is not installed
    mariadb-server : Depends: mariadb-server-10.2 (>= 10.2.9+maria~xenial) but it is not installed
    mariadb-server-10.1 : Depends: mariadb-client-10.1 (>= 10.1.26+maria-1~xenial) but it is not installed
                           Depends: mariadb-server-core-10.1 (>= 10.1.26+maria-1~xenial) but it is not installed
    E: Unmet dependencies. Try using -f.
    I have tried apt-get -f install but still have the problem. My system is running Ubuntu 16.04.3 LTS and ISPConfig 3.1.6.
    Any help would really be appreciated.
    Many thanks,
  2. Wilt

    Wilt Member HowtoForge Supporter

Share This Page