1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ubuntu 16.04 can't run “sudo apt upgrade”

Discussion in 'Main Forum' started by Jano_Bokuchava, Sep 12, 2018.

  1. I have server running

    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.5 LTS
    Release: 16.04
    Codename: xenial


    I'm trying to upgrade system using this commands. current user is not a root.

    sudo apt-get update
    sudo apt-get upgrade


    but it shows me errors like this


    linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-33-generic but it is not installed Recommends: thermald but it is not installed

    linux-modules-extra-4.15.0-30-generic : Depends: linux-image-4.15.0-30-generic but it is not installed or linux-image-unsigned-4.15.0-30-generic but it is not installed

    I've tried to install this packages independently but it did not solve my problem

    also i've tried to use

    sudo apt-get -f install


    no solution.

    Edited

    sudo apt install linux-image-4.15.0-33-generic

    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:



    linux-image-4.15.0-33-generic : Depends: linux-modules-4.15.0-33-generic but it is not going to be installed



    linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-34-generic but it is not going to be installed


    Recommends: thermald but it is not going to be installed



    linux-modules-extra-4.15.0-34-generic : Depends: linux-image-4.15.0-34-generic but it is not going to be installed or
    linux-image-unsigned-4.15.0-34-generic but it is not going to be installed

    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    I have googled but i could not find the answer, may be i'm searching wrongly.

    What i can do now ?

    Login To add answer/comment
     

Share This Page