nick210
June 26th, 2018, 10:28 AM
Hi,
In the past week or so I've been having problems with updates on my laptop running 16.04 LTS. Typically, when I run the graphical update manager it uses up a lot of memory and reports "Not all upgrades can be installed"; it seems to particularly have a problem with ubuntu-desktop.
Command line updates seem to want to remove ubuntu-desktop and a load of X packages.
Here is a typical sequence of events, what I tried this morning, but similar things have happened on previous days.
Firstly I tried the apt update; apt upgrade - didn't want to install any updates, but maybe none were available.
Next I tried apt update; dist-upgrade, and it wanted to remove ubuntu-desktop and all the X packages (the same as on previous occasions in the past week) - so I aborted.
I didn't do any unusual system modifications that might have caused this.
I then went through a repeated series of attempted upgrades and reboots as follows.
As an alternative I tried running the partial upgrade offered by the graphical update manager but - even though it didn't say it was going to remove it - once I started the partial upgrade, it reported once again that it wanted to remove several X-related packages and ubuntu-desktop.
At the end of this it offered to remove obsolete packages including things such as the Ubuntu system image updater - I said "No" to this as a precaution.
_However_ on reboot, it booted back into X again so it appeared that not all X packages were removed, despite the upgrade reporting that it was going to remove ubuntu-desktop and various X packages.
Next I have tried running the graphical update manager again. The same problem persists - it uses a lot of memory and then comes back with the 'not all updates can be installed' again.
I once again allowed it to do the partial upgrade and this time it only wanted to remove two packages and not update anything.
I let it remove the two packages and then it prompted me to remove 69 obsolete packages, including, for example, gnome-icon-theme, a load of Qt 5 packages, system-image-common, system-image-dbus, ubuntu-keyboard-data, and xserver-xorg-legacy, as well as an old kernel (4.13; it's now on 4.15). I let it remove these 69 packages as it didn't seem to want to remove ubuntu-desktop or X anymore.
Then I let it reboot again. It successfully rebooted back into X and the Ubuntu desktop.
Next I tried a third update using the graphical update manager. Still the problem of using a lot of memory and "Not all updates can be installed". Tried partial upgrade again. It offered to install 61 packages including most of the ones that it removed on the second update! .. basically everything it removed apart from the old kernel packages. I let it install the 61 packages.
After installing the 61 it now reports they're obsolete and is offering to remove them again! This time I selected "Keep".
Reboot again (third reboot), and then I ran the graphical updater for a fourth time. Same result as before ("Not all updates can be installed"). Selected Partial Upgrade and this time just offers to remove 2 packages, gnome-online-accounts and libgoa-backend-1.0.1 (these were the same two as the 2nd run of the updater). Let it remove these two. Then reports that 59 packages are obsolete (i.e. the same 61 minus these two).
Lastly I tried the apt-get update; apt-get dist-upgrade again. Still wanting to remove X stuff, specifically:
gstreamer1.0-clustter-3.0 indicator-bluetooth libcheese-gtk25 libcheese8 libclutter libclutter-gst libclutter-gtk libcogol-pango20 libcogl-path20 libcogl20 ubuntu-desktop unity-control-center xorg xserver-xorg-(various things)
Any ideas on how to resolve this? Or is there any way I can diagnose this (e.g. by looking at config files) to find out what is wrong?
Thanks,
Nick
In the past week or so I've been having problems with updates on my laptop running 16.04 LTS. Typically, when I run the graphical update manager it uses up a lot of memory and reports "Not all upgrades can be installed"; it seems to particularly have a problem with ubuntu-desktop.
Command line updates seem to want to remove ubuntu-desktop and a load of X packages.
Here is a typical sequence of events, what I tried this morning, but similar things have happened on previous days.
Firstly I tried the apt update; apt upgrade - didn't want to install any updates, but maybe none were available.
Next I tried apt update; dist-upgrade, and it wanted to remove ubuntu-desktop and all the X packages (the same as on previous occasions in the past week) - so I aborted.
I didn't do any unusual system modifications that might have caused this.
I then went through a repeated series of attempted upgrades and reboots as follows.
As an alternative I tried running the partial upgrade offered by the graphical update manager but - even though it didn't say it was going to remove it - once I started the partial upgrade, it reported once again that it wanted to remove several X-related packages and ubuntu-desktop.
At the end of this it offered to remove obsolete packages including things such as the Ubuntu system image updater - I said "No" to this as a precaution.
_However_ on reboot, it booted back into X again so it appeared that not all X packages were removed, despite the upgrade reporting that it was going to remove ubuntu-desktop and various X packages.
Next I have tried running the graphical update manager again. The same problem persists - it uses a lot of memory and then comes back with the 'not all updates can be installed' again.
I once again allowed it to do the partial upgrade and this time it only wanted to remove two packages and not update anything.
I let it remove the two packages and then it prompted me to remove 69 obsolete packages, including, for example, gnome-icon-theme, a load of Qt 5 packages, system-image-common, system-image-dbus, ubuntu-keyboard-data, and xserver-xorg-legacy, as well as an old kernel (4.13; it's now on 4.15). I let it remove these 69 packages as it didn't seem to want to remove ubuntu-desktop or X anymore.
Then I let it reboot again. It successfully rebooted back into X and the Ubuntu desktop.
Next I tried a third update using the graphical update manager. Still the problem of using a lot of memory and "Not all updates can be installed". Tried partial upgrade again. It offered to install 61 packages including most of the ones that it removed on the second update! .. basically everything it removed apart from the old kernel packages. I let it install the 61 packages.
After installing the 61 it now reports they're obsolete and is offering to remove them again! This time I selected "Keep".
Reboot again (third reboot), and then I ran the graphical updater for a fourth time. Same result as before ("Not all updates can be installed"). Selected Partial Upgrade and this time just offers to remove 2 packages, gnome-online-accounts and libgoa-backend-1.0.1 (these were the same two as the 2nd run of the updater). Let it remove these two. Then reports that 59 packages are obsolete (i.e. the same 61 minus these two).
Lastly I tried the apt-get update; apt-get dist-upgrade again. Still wanting to remove X stuff, specifically:
gstreamer1.0-clustter-3.0 indicator-bluetooth libcheese-gtk25 libcheese8 libclutter libclutter-gst libclutter-gtk libcogol-pango20 libcogl-path20 libcogl20 ubuntu-desktop unity-control-center xorg xserver-xorg-(various things)
Any ideas on how to resolve this? Or is there any way I can diagnose this (e.g. by looking at config files) to find out what is wrong?
Thanks,
Nick