Public bug reported:

I was upgrading a system from 18.04 LTS to 20.04 LTS and had some
packages that were kept back and when I ran do-release-upgrade -d I was
told to install all available updates. However, there were no available
updates because some packages were kept back. This seems like a rare
scenario but the following check may need some improvement.

+  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

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: focal

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Triaged

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874927

Title:
  do-release-upgrade's upgradeable package check doesn't consider kept
  back packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1874927/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to