systematic duplicate download of adobe-flashplugin_xxx.orig.tar.gz on package installation or upgrade

Bug #1187535 reported by Ernst Kloppenburg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

I suspect an error in the postinst script of flashplugin-installer (ubuntu 12.04.2).

With initial installation or package upgrade, I see flashplugin-installer downloading and installing the tar.gz file from adobe. So far ok.

Then, wrongly, the subsequent run of /etc/cron.daily/update-notifier-common downloads and installs the same tar.gz file again.

This happens because update-notifier-common (or rather /usr/lib/update-notifier/package-data-downloader) finds a definition file /usr/share/package-data-downloads/flashplugin-installer but no stamp file /var/lib/update-notifier/package-data-downloads/flashplugin-installer.

After the run of update-notifier-common a stampfile is of course present, so that this unnecessary download happens only once.

The postrm script of flashplugin-installer seems to handle this stamp file correctly, as it is no longer present after purging the package.

But the postinst script should, I guess, create the stamp file on successful download, so that update-notifier-common can detect that no action is necessary.

I verified this on two different machines, one is a fresh installation of ubuntu 12.04, the other is kubuntu upgraded to 12.04.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flashplugin-installer 11.2.202.285ubuntu0.12.04.1
ProcVersionSignature: Ubuntu 3.2.0-45.70-generic 3.2.44
Uname: Linux 3.2.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: amd64
Date: Tue Jun 4 20:35:56 2013
InstallationMedia: Kubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: flashplugin-nonfree
UpgradeStatus: Upgraded to precise on 2012-04-12 (418 days ago)

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :
summary: - systematic duplicate download of adobe-flashplugin_xxx.orig.tar.gz after
+ systematic duplicate download of adobe-flashplugin_xxx.orig.tar.gz on
package installation or upgrade
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.