sudo apt upgrade not working after ubuntu update

TheDrone7

I recently upgraded from Ubuntu 18.04 to Ubuntu 18.10 using the command line command sudo do-release-upgrade and after that, whenever I run sudo apt upgrade, all I see is the following: -

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  bind9-host dnsutils evolution-data-server fwupdate libbind9-160 libebackend-1.2-10 libebook-1.2-19 libebook-contacts-1.2-2 libecal-1.2-19
  libedata-book-1.2-25 libedataserver-1.2-23 libedataserverui-1.2-2 libfwup1 libirs160 libisc169 libisccc160 libisccfg160 liblwres160
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

How can I fix this? I want to upgrade to Ubuntu 19.04 and this is getting in my way. Also, on running sudo apt update I see this warning: -

W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7

EDIT: -

I got rid of the duplicates, now when I do sudo apt update it says: -

Reading package lists... Done                      
Building dependency tree       
Reading state information... Done
18 packages can be upgraded. Run 'apt list --upgradable' to see them.

but on doing sudo apt upgrade, it's still the same.


EDIT 2: -

I found the solution, apparently, sudo apt full-upgrade did the trick. Thank you everyone for helping me out!

Carlos Dagorret

You have duplicate entries in your sources.list

You should check them in that file (/etc/apt/sources.list)

Another way is:

going to

System settings >> Software and Updates >> Other Software and removing each duplicate entry.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Just a pink screen after "sudo apt update && sudo apt upgrade". My laptop is new and it came with ubuntu

From Dev

sudo apt upgrade command is not working for ubuntu 16.04 LTS

From Dev

Ubuntu Server Wifi connection fails after each sudo apt upgrade

From Dev

sudo apt-get update not working after install PPAs

From Dev

Does sudo apt upgrade update my microcode?

From Dev

"sudo apt-get upgrade" not working

From Dev

When to run "sudo apt update" and when "sudo apt update && sudo apt upgrade"?

From Dev

ubuntu 18.04.02 - sudo apt upgrade - stuck

From Dev

Packages dependencies after sudo apt upgrade?

From Dev

UBUNTU: sudo apt-get update error

From Dev

apt-get update fails after upgrade

From Dev

APT unable to update after release upgrade

From Dev

apt-get update fails after upgrade

From Dev

xdebug not working after ubuntu upgrade

From Dev

sudo apt-get update is taking a long time after upgrading software from software center in ubuntu 14.04

From Dev

Unable to install vim editor on Ubuntu 17.04 even after doing sudo apt-get update

From Dev

Error:some index files failed to download in sudo apt-get update after installing ubuntu 14.1

From Dev

Problem with IPv6 sudo apt-get update/upgrade

From Dev

alias updt='sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y' ... What could go wrong?

From Dev

Error with "sudo apt-get upgrade" (Ubuntu 14.04)

From Dev

Ubuntu 16.04 can't run "sudo apt upgrade"

From Dev

403 Forbidden error in sudo apt-get upgrade ubuntu 17.4

From Dev

Ubuntu 16.04 doesn't start anymore but only boots to grub terminal after system froze during sudo apt upgrade

From Dev

no internet after apt-get update && apt-get upgrade

From Dev

Ubuntu the difference between sudo apt-get upgrade and sudo apt-get install?

From Dev

Must execute "sudo su" and then do apt-get update/upgrade/install, prefacing with sudo doesn't work

From Dev

Is it safe for my ssh user to be given passwordless sudo for `apt-get update` and `apt-get upgrade`?

From Dev

Unable to lock the administration directory (sudo apt-get upgrade && apt-get update)

From Dev

ubuntu 14.04 apt-get update not working

Related Related

  1. 1

    Just a pink screen after "sudo apt update && sudo apt upgrade". My laptop is new and it came with ubuntu

  2. 2

    sudo apt upgrade command is not working for ubuntu 16.04 LTS

  3. 3

    Ubuntu Server Wifi connection fails after each sudo apt upgrade

  4. 4

    sudo apt-get update not working after install PPAs

  5. 5

    Does sudo apt upgrade update my microcode?

  6. 6

    "sudo apt-get upgrade" not working

  7. 7

    When to run "sudo apt update" and when "sudo apt update && sudo apt upgrade"?

  8. 8

    ubuntu 18.04.02 - sudo apt upgrade - stuck

  9. 9

    Packages dependencies after sudo apt upgrade?

  10. 10

    UBUNTU: sudo apt-get update error

  11. 11

    apt-get update fails after upgrade

  12. 12

    APT unable to update after release upgrade

  13. 13

    apt-get update fails after upgrade

  14. 14

    xdebug not working after ubuntu upgrade

  15. 15

    sudo apt-get update is taking a long time after upgrading software from software center in ubuntu 14.04

  16. 16

    Unable to install vim editor on Ubuntu 17.04 even after doing sudo apt-get update

  17. 17

    Error:some index files failed to download in sudo apt-get update after installing ubuntu 14.1

  18. 18

    Problem with IPv6 sudo apt-get update/upgrade

  19. 19

    alias updt='sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y' ... What could go wrong?

  20. 20

    Error with "sudo apt-get upgrade" (Ubuntu 14.04)

  21. 21

    Ubuntu 16.04 can't run "sudo apt upgrade"

  22. 22

    403 Forbidden error in sudo apt-get upgrade ubuntu 17.4

  23. 23

    Ubuntu 16.04 doesn't start anymore but only boots to grub terminal after system froze during sudo apt upgrade

  24. 24

    no internet after apt-get update && apt-get upgrade

  25. 25

    Ubuntu the difference between sudo apt-get upgrade and sudo apt-get install?

  26. 26

    Must execute "sudo su" and then do apt-get update/upgrade/install, prefacing with sudo doesn't work

  27. 27

    Is it safe for my ssh user to be given passwordless sudo for `apt-get update` and `apt-get upgrade`?

  28. 28

    Unable to lock the administration directory (sudo apt-get upgrade && apt-get update)

  29. 29

    ubuntu 14.04 apt-get update not working

HotTag

Archive