I don't remember what I did in the past, but I was able to reproduce the dialog 
with the following steps:
1. Upgrade fully and reboot the system.
2. Downgraded a package:
sudo apt install unattended-upgrades=1.1ubuntu1
3. Disabled u-u:
sudo dpkg-reconfigure unattended-upgrades
4. Opened Gnome Software (Ubuntu Software)
5. Clicked on Updates tab, then on the refresh/reload icon in the upper left 
corner.
   Gnome Software printed "Looking for updates", then misleadingly that 
"Software is up to date" despite u-u is still not upgraded.
6. The prepared-update file is now present:
$ ls -alh /var/lib/PackageKit/prepared-update 
-rw-r--r-- 1 root root 93 srp  18 12:24 /var/lib/PackageKit/prepared-update
7. Clicking on Shutdown now offers installing updates which is executed, too. 
Upon next login a report is shown about installed updates.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1775226

Title:
  Gnome Software offers installation of updates on shutdown
  independently from update-manager and unattended-upgrades

Status in gnome-software package in Ubuntu:
  New

Bug description:
  In Ubuntu the GUI for upgrading packages is update-manager allowing
  debconf questions to be answered when needed and Ubuntu also offers
  unattended-upgrades for upgrading packages in the background and it
  keeps back packages from upgrading when configuration-file changes
  would need user interaction during the upgrade. Unattended-upgrades
  can be configured to perform upgrades during system shutdown.

  Gnome Software in Bionic started offering performing upgrades during
  shutdown using PackageKit independently from update-manager and
  unattended-upgrades without offering all of the features of either
  one.

  Unless there is a decision to fully switch to Gnome Software I suggest
  disabling the "Install pending software updates" on the shutdown
  screen to avoid confusing users.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1775226/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to