0

sudo apt update && sudo apt dist-upgrade

Hit:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done'

The following packages have been kept back:

xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-input-evdev xserver-xorg-input-void xserver-xorg-video-dummy

0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded

When i open update-manager the following comes up:

You don't have the required privileges to perform this action.

I press "Ok", this comes up:

the software on this computer is up to date.
However, Ubuntu 18.04.2 LTS is now available (you have 16.04)

i press Upgrade. Nothing happenes.

sudo do-release-upgrade

Checking for a new Ubuntu release Please install all available updates for your release before upgrading.

lsb-release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:    16.04
Codename:   xenial

cat /etc/apt/sources.list

deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse main restricted universe
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse main restricted universe

sudo nano /etc/apt/sources.list

deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse main restricted universe
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse main restricted universe

1 Answers1

0

Problem solved by editing "sources.list"

sudo nano /etc/apt/sources.list

I simply modified sources.list using nano /etc/apt/sources.list and removed the lines that were stopping the upgrades that I found by running apt list --upgradable

karel
  • 122,292
  • 133
  • 301
  • 332