[Bug 1072136] Re: [FFe] After doing updates, update manager propose to install an empty list of updates

Balint Reczey balint.reczey at canonical.com
Sat Oct 20 09:08:27 UTC 2018


Verified the fix with 1:18.04.11.6 and the blank list does not appear.
Interestingly it does not appear now with 1:18.04.11.5 despite that I
marked the packages as being in phasing manually.


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
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/1072136

Title:
  [FFe] After doing updates, update manager propose to install an empty
  list of updates

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Confirmed
Status in update-manager source package in Bionic:
  Fix Committed

Bug description:
  [Impact]

  An empty list of updates is shown to the user when phased updates
  depending on each other are kept back from installation.

  The blank list confuses users.

  [Test Case]

  1. Start with a fully upgraded system and downgrade a few phased interdependent packages to let u-m upgrade them:
  (bionic)$ sudo eatmydata apt install -y --allow-downgrades gnome-software=3.28.1-0ubuntu4 gnome-software-common=3.28.1-0ubuntu4
  (xenial)$ sudo apt install gnome-software=3.20.1+git20160420.1.ca63436.ubuntu-xenial-0ubuntu2 gnome-software-common=3.20.1+git20160420.1.ca63436.ubuntu-xenial-0ubuntu2 ubuntu-software=3.20.1+git20160420.1.ca63436.ubuntu-xenial-0ubuntu2
  $ sudo eatmydata apt install -y --allow-downgrades linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic; sudo /etc/kernel/postinst.d/apt-auto-removal ; sudo apt-mark auto linux-headers-4.15.0-32  linux-headers-4.15.0-32-generic
  3. Set phasing to 0%:
  $ sudo sed -i 's/Phased-Update-Percentage: .*/Phased-Update-Percentage: 0/' /var/lib/apt/lists/*.archive.ubuntu.com_ubuntu_dists_*-updates_main_binary-amd64_Packages 

  2. Start u-m with:
   $ update-manager --no-update

  4. Observe installable updates or u-m telling that there are no
  updates to install in the fixed version or a blank list with unfixed
  u-m.

  [Regression Potential]

  Implementation mistakes could make phased updates installed of
  autoremovable kernels not to be removed but in my testing I found not
  such problem.

  [Original Bug Text]

  In the update dialog, there is no updates, just an empty list, see the
  attached screenhot. Clicking install now-button just takes me back to
  the dialog after some time.

  This problem started after some updates to update-manager to Quantal.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.174.3
  Uname: Linux 3.7.0-030700rc1-generic i686
  ApportVersion: 2.6.1-0ubuntu6
  Aptdaemon:
   Oct 27 18:45:26 marius-T1005 AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/f6cfb52c39784feb9427cff710a6b22c
   Oct 27 18:50:46 marius-T1005 AptDaemon: INFO: Quitting due to inactivity
   Oct 27 18:50:46 marius-T1005 AptDaemon: INFO: Quitting was requested
  Architecture: i386
  Date: Sat Oct 27 18:50:31 2012
  EcryptfsInUse: Yes
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1351354931'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'678'
   b'com.ubuntu.update-manager' b'window-width' b'1364'
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to quantal on 2012-08-31 (57 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1072136/+subscriptions



More information about the foundations-bugs mailing list