[Bug 2008280] Re: regression: update-manager 1:23.04.1 no longer installs any updates (lunar)
Kiwinote
2008280 at bugs.launchpad.net
Mon Feb 27 22:55:24 UTC 2023
further investigation based on rev 2959:
- commenting out self._get_ua_security_status() in
UpdateManager.refresh_cache appears to resolve this (this would appear
to confirm that this revision is the cause)
- it would appear that calling updates() (imported from
uaclient.api.u.pro.packages.updates.v1) in
UpdateManager._get_ua_security_status is 'messing' with update-manager
- adding a print(apt_pkg.config.dump()) before and after update_result = updates() in UpdateManager._get_ua_security_status shows (diff only)
BEFORE updates():
Dir "/";
Dir::State::status "/var/lib/dpkg/status";
Dir::Bin::dpkg "/usr/bin/dpkg";
AFTER updates():
Dir "/var/lib/ubuntu-advantage/apt-esm";
Dir::State::status "/var/lib/ubuntu-advantage/apt-esm/var/lib/dpkg/status";
Dir::Bin::dpkg "/var/lib/ubuntu-advantage/apt-esm/usr/bin/dpkg";
This would seem to confirm interference with update-manager when calling calling updates() from ubuntu-advantage-client. There might of course be other interferences as well.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2008280
Title:
regression: update-manager 1:23.04.1 no longer installs any updates
(lunar)
Status in update-manager package in Ubuntu:
Confirmed
Bug description:
Hello,
On a fairly standard installation of lunar (ie no ubuntu pro linked
etc), the update-manager no longer appears able to install the updates
which are listed in the ui when clicking install.
symptoms:
- launch update-manager 1:23.04.1
- note that updates are available
- note that the ui shows 'unknown download size' in the bottom-left (this should be specified)
- note that the terminal output shows "required_download could not be calculated: E:Can't find a source to download version 'PKGVERSION' of 'PKGNAME:amd64'"
- click 'install now' button to install the listed updates
- note that update-manager doesn't actually install the updates (starting the update fails), the ui jumps to the generic 'installing snap updates' and then shows 'your system is up to date'
- note that if you launch update-manager again all the (same) updates are showing again
severity:
- this is a little concerning as the user can no longer install any updates using the update-manager ui - this includes updates for other packages and of course any updated package including a fix for this issue. (sudo apt update/upgrade in the terminal do of course still work)
- whilst this issue has been around for at least 5 days there don't appear to be any other reports of this issue. It doesn't seem likely to be something specific to my system though.
investigation:
- installing the debs of update-manager 1:22.10.6 (the previous version) resolves this issue
- it would appear that revision 2959 ( https://bazaar.launchpad.net/~ubuntu-core-dev/update-manager/main/revision/2959 ) is the first revision to introduce this issue
- this seems related to Ubuntu Pro / Advantage
Thanks for your attention
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2008280/+subscriptions
More information about the foundations-bugs
mailing list