[Bug 2008280] Re: regression: update-manager 1:23.04.1 no longer installs any updates (lunar)
starkus
2008280 at bugs.launchpad.net
Thu Mar 23 05:58:03 UTC 2023
Dear Maintainer,
thanks for all your work.
I still get a loop and an error on using update-manager when it's trying
to fetch files from /var/lib/local-apt-repository. The files for the
local-apt-repository are located at /srv/local-apt-repository/. I don't
know if that is the reason for the loop.
update-manager
WARNING:root:can not import unity GI Namespace Unity not available
WARNING:uaclient.files.notices:Trying to remove a notice as non-root user
WARNING:uaclient.files.notices:Trying to remove a notice as non-root user
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 529, in _on_finished
self._action_done(
File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 414, in _action_done
self.window_main.start_available()
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 244, in start_available
self.refresh_cache()
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 456, in refresh_cache
self._get_ua_security_status()
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 280, in _get_ua_security_status
update_result = updates()
^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/api/u/pro/packages/updates/v1.py", line 84, in updates
return _updates(UAConfig())
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/api/u/pro/packages/updates/v1.py", line 88, in _updates
ua_info = get_ua_info(cfg)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/security_status.py", line 197, in get_ua_info
status_dict = status(cfg=cfg, show_all=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/status.py", line 378, in status
response = _attached_status(cfg)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/status.py", line 227, in _attached_status
_attached_service_status(ent, inapplicable_resources)
File "/usr/lib/python3/dist-packages/uaclient/status.py", line 131, in _attached_service_status
description_override = ent.status_description_override()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/entitlements/livepatch.py", line 256, in status_description_override
livepatch.on_supported_kernel() is False
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 302, in on_supported_kernel
arch = util.standardize_arch_name(system.get_lscpu_arch())
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/system.py", line 107, in get_lscpu_arch
raise exceptions.UserFacingError(
uaclient.exceptions.UserFacingError
Best regards,
--
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 ubuntu-advantage-tools package in Ubuntu:
Fix Released
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/ubuntu-advantage-tools/+bug/2008280/+subscriptions
More information about the foundations-bugs
mailing list