flashplugin does not seem to download flash - postinst script wget?

Bug #975878 reported by GaryW
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

flashplugin update to 11.2.202.228ubuntu3 (amd64) does not work correctly.

A previously working flashplugin will just stop working.

The problem is (I think) that the .postinst script is missing the required wget to
grab the tar file from adobe.

Doing a quick wc -l on flashplugin....postinst on 10.04 lts show 133 lines, whereas
the current version (11.2.202.228ubuntu3) for 12.04 lts (beta) is only 66 lines.

Is .postinst incomplete?

Images illustrating the difference are here (click to enlarge):
  https://picasaweb.google.com/110066064545262332382/Flashplugin

I will try and attach the image to this bug report also.

This on a machine that has latest flashplugin:
  egrep '(wget|httpget)' /var/lib/dpkg/info/flashplugin-installer.postinst

....probably should return something.

Extra information about OS version and Kernel:

@a3k2g:~$ uname -a
Linux a3k2g 3.2.0-22-generic #35-Ubuntu SMP Tue Apr 3 18:33:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
@a3k2g:~$ cat /etc/*elease
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

@a3k2g:/tmp$ ls /tmp/flashplugin-installer_11.2.202.228ubuntu3_amd64.deb
/tmp/flashplugin-installer_11.2.202.228ubuntu3_amd64.deb

Revision history for this message
GaryW (gnubyexample) wrote :
affects: adobe-flashplugin (Ubuntu) → flashplugin-nonfree (Ubuntu)
Revision history for this message
GaryW (gnubyexample) wrote :

Hey Chris, I can see there is some activity by
   https://launchpad.net/~ubuntu-bugs-oittaa/
on related bug that should probably be merged.

Is that some sort of service / bugbot account?

Revision history for this message
Lazy (ubuntu-bugs-oittaa) wrote :

Sorry, but I'm not a bot. Just a user who is concerned about the bugs in 12.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flashplugin-nonfree (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

The postinst is not incomplete; the downloading has been moved out of the maintainer script so that download failures don't cause cascading package installation failures.

Please attach /var/log/apt/term.log from the affected system, and show the output of the following commands:
ls -l /var/lib/update-notifier/user.d/
ls -l /var/lib/update-notifier/package-data-downloads/

Changed in flashplugin-nonfree (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
GaryW (gnubyexample) wrote :

Understood.

First attachment here.

Revision history for this message
GaryW (gnubyexample) wrote :

Output attached.

There is a file named /var/lib/update-notifier/package-data-downloads/flashplugin-installer
but it seems to be empty ... is it just a placeholder or is it supposed to be a script?

Revision history for this message
Steve Langasek (vorlon) wrote :

That output shows the data has been successfully downloaded and the handler succeeded.

Does /usr/lib/mozilla/plugins/flashplugin-alternative.so exist? Does /usr/lib/flashplugin-installer/libflashplayer.so exist?

Revision history for this message
GaryW (gnubyexample) wrote :

log output 1 of 2

Revision history for this message
GaryW (gnubyexample) wrote :

Understood. But the symptom experienced at the time was 'no flash plugin' reported by web browser.

Just looking at the times here in the logs, it looks like the dpkg install log showing time 10:35, but the flashplugin
.so file has modified date 10:50

Does the new system of having smaller .postinst files mean that the process cannot complete in one single run?

Just a bit of awareness really ... is /usr/lib/flashplugin-installer/install_plugin script triggered immediately or does it need a reboot?

2012-04-07 10:35:01 status half-configured flashplugin-installer 11.2.202.228ubuntu3
2012-04-07 10:35:01 status installed flashplugin-installer 11.2.202.228ubuntu3

 29781 4 drwxr-xr-x 2 root root 4096 Apr 7 10:50 /usr/lib/flashplugin-installer/
  8412 18768 -rw-r--r-- 1 root root 19216752 Apr 7 10:50 /usr/lib/flashplugin-installer/libflashplayer.so

Revision history for this message
Steve Langasek (vorlon) wrote :

Based on the term.log, this is probably bug #977178, which is fixed in the latest upload of update-notifier.

> Just a bit of awareness really ... is /usr/lib/flashplugin-installer/install_plugin
> script triggered immediately or does it need a reboot?

It's meant to be triggered immediately - the above-mentioned bug prevented this from happening in certain cases.

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.