[Bug 988531] Re: update-notifier can run flashplugin-installer right after the package has been updated

Jethro Beekman launchpad at jbeekman.nl
Tue May 1 18:11:32 UTC 2012


It is not only redundant and unnecessary, update-notifier should never
install packages by itself if not configured to.

** Changed in: update-notifier (Ubuntu)
       Status: Triaged => Confirmed

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

Title:
  update-notifier can run flashplugin-installer right after the package
  has been updated

Status in “update-notifier” package in Ubuntu:
  Confirmed

Bug description:
  In the event that both update-notifier-common and package that uses it
  like flashplugin-installer are upgraded during the same run update-
  notifier-common will also download and install the flashplugin which
  is redundant and unnecessary.

  Here's what Steve says about it:

  09:57 <slangasek> yeah, I think I understand it now; it's specific to the two 
                    packages being upgraded in the same run and u-n-c getting 
                    configured first
  09:58 <slangasek> oh, except I can't understand why u-n-c processes 
                    flashplugin-installer at all on line 12194
  10:04 <slangasek> ah yes
  10:04 <slangasek> because we do a timestamp check
  10:05 <slangasek> so because the hook is newer than the stamp, we process 
                    unconditionally; then flashplugin-installer removes the stamp 
                    file, but update-notifier-common was not configured at the 
                    time flashplugin-installer was unpacked, so there's no 
                    trigger; and the cron job re-downloads unnecessarily
  10:06 <slangasek> but in spite of the extra cron download, flashplugin-installer             
                    is configured as of the end of the apt run
  10:06 <slangasek> s/configured/usable/

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




More information about the foundations-bugs mailing list