[Bug 2080239] Re: Software Updater "up to date" message is misleading with phasing
Julian Andres Klode
2080239 at bugs.launchpad.net
Tue Sep 10 14:29:24 UTC 2024
The release upgrader already ignores phasing updates when considering
whether all updates are installed, at least for the do-release-upgrade
entry point:
upgradable = [pkg for pkg in cache if pkg.is_upgradable]
for pkg in upgradable:
if 'Phased-Update-Percentage' in pkg.candidate.record:
# P-U-P does not exist if it is fully phased
continue
else:
install_count += 1
# one upgradeable package is enough to stop the dist-upgrade
break
if install_count > 0:
if not options.quiet:
print(_("Please install all available updates "
"for your release before upgrading."))
Hence you only see this issue when there are no-longer-phased updates
missing. However, there might of course be issues there in case an
update that finished phasing depends on another update that is still
phasing - it is then being kept back because its dependencies can't be
satisfied.
This is not a very common issue, and very likely not the one in the
example.
If you have a *specific* instance of the issue, specifically ones that
are not in the described failure case, we are going to need a
/var/lib/dpkg/status and /var/lib/apt/lists and /etc/apt attached to the
bug report.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2080239
Title:
Software Updater "up to date" message is misleading with phasing
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
Software Update is confusing some users by:
- Claiming that software is up-to-date, and offering a release-upgrade
- Failing to install the selected release-upgrade due to phased updates.
Example showing the issue in Ubuntu 22.04:
https://askubuntu.com/questions/1526235/upgrade-button-from-software-
updater-doesnt-work/1526256
Software Update "upgrade" selection (and do-release-upgrade) might ignore phasing, as those phasing packages may be replaced.
Alternately, Software Update should be aware of phasing. It should not
offer a release-upgrade during phasing, or might offer an alternative
message "available soon".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2080239/+subscriptions
More information about the foundations-bugs
mailing list