[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-08-02 Thread Olivier Tilloy
** Also affects: gnome-software (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: gnome-software (Ubuntu Bionic) Assignee: (unassigned) => Olivier Tilloy (osomon) ** Changed in: gnome-software (Ubuntu Bionic) Status: New => In Progress ** Changed in: gnome-so

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-08-01 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-software - 3.29.1-0ubuntu6 --- gnome-software (3.29.1-0ubuntu6) cosmic; urgency=medium * debian/patches/0006-packagekit-Disable-updates.patch: - also disable offline updates in refresh plugin (LP: #1775226) -- Olivier Tilloy Wed, 01 Au

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Olivier Tilloy
Tentative fix: https://gitlab.gnome.org/Community/Ubuntu/gnome- software/merge_requests/4 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1775226 Title: Gnome Software offers

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Olivier Tilloy
Yes, if we return early in gs_plugin_refresh in plugins/packagekit/gs- plugin-packagekit-refresh.c just after refreshing the metadata (i.e. if we skip downloading updates), the prepared-update file is never written, so that appears to be what we want. -- You received this bug notification because

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Iain Lane
Thanks for the investigations. It's probably debian/patches/0006 -packagekit-Disable-updates.patch not being complete enough. Maybe it's gs_plugin_refresh in plugins/packagekit/gs-plugin-packagekit-refresh.c that also needs a return TRUE? -- You received this bug notification because you are a me

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Olivier Tilloy
> during my tests in a bionic VM, I also observed once that > prepared-update file being created without interaction with > gnome-software: I simply ran "sudo apt update" in a terminal window, > then requested shutdown, and the dialog offered to install updates, > so something else also triggered p

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Olivier Tilloy
** Changed in: gnome-software (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1775226 Title: Gnome Software offers installati

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-31 Thread Olivier Tilloy
I can confirm that clicking the refresh button in the title bar in gnome-software's update tab triggers packagekit to write /var/lib/PackageKit/prepared-update, which in turn makes the shutdown dialog offer to install updates before shutting down. A few observations: - contrary to what's stated

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-24 Thread Will Cooke
** Changed in: gnome-software (Ubuntu) Assignee: Canonical Desktop Team (canonical-desktop-team) => Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Sebastien Bacher
So from your step it looks like the "key" action is to click on "refresh" in the gnome-software updates tab. If that triggers an offline update in packagekit then we indeed have a bug, we are going to investigate that one. ** Changed in: gnome-software (Ubuntu) Assignee: (unassigned) => Canon

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Balint Reczey
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 Soft

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Balint Reczey
** Attachment added: "Dump of transtactions.db" https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1775226/+attachment/5164807/+files/dump-gnome-sw-transactions.db -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-so

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Balint Reczey
I'm sorry, I just upgraded my system and downgraded a package to test latest gnome sw. The current state is as follows: $ ls -alh --time-style=full-iso /var/lib/PackageKit/ total 148K drwxr-xr-x 2 root root 4,0K 2018-07-18 11:15:31.973829737 +0200 . drwxr-xr-x 65 root root 4,0K 2018-06-21 13:48:

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Sebastien Bacher
Googling a bit I found an old Debian discussion on https://lists.debian.org/debian-devel/2015/08/msg00548.html which state that packagekit creates the offline update file when a client requests for one. Did you use gnome-software and if so what did you click in there exactly? -- You received this

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Sebastien Bacher
It looks like that dialog should be displayed if the "/var/lib/PackageKit/prepared-update" file exists, which is what packagekit used to prepare offline updates. Those shouldn't happen on Ubuntu though. Do you have that file on your disk? What's the timestamp for it? -- You received this bug noti

[Bug 1775226] Re: Gnome Software offers installation of updates on shutdown independently from update-manager and unattended-upgrades

2018-07-18 Thread Sebastien Bacher
Thank you for your bug report. What you describe is a bug, we don't have that behaviour/dialog enabled by default. Do you have any non standard packagekit packages/configuration on your installation? Does it leads to any problem or just to UI confusion? (I saw dialog a few times during the bion