flashplugin-installer can't continue downloading

Bug #460248 reported by derWolf
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: flashplugin-installer

Requirements:
* Ubuntu 9.10
* Not very fast internet

How to reproduce
1. sudo apt-get install flashplugin-installer
2. Ctrl-C when downloading is in the middle
3. dpkg --configure -a
4. You'll see, that installer will start download from beginning

Expected: on step 4 installer should continue downloading or at least ask a question

I'm not sure, that this will work or that you can add this ability, but imho that can fix it:

in postinst:
  # setting wget options
  :> wgetrc
  echo "noclobber = off" >> wgetrc
  echo "dir_prefix = ." >> wgetrc
  echo "dirstruct = off" >> wgetrc
  echo "verbose = on" >> wgetrc
  echo "progress = dot:default" >> wgetrc

  # downloading the plugin
  echo "Downloading..."
+ if [ -f $FILENAME ]; then
+ echo "Continue downloading <y or n> ? \c"
+ read CONTINUE
+
+ if [ $CONTINUE = "y" ] ; then
+ echo "continue = on" >> wgetrc
+ fi
+ if [ $CONTINUE = "n" ] ; then
+ rm -f $FILENAME
+ fi
+ fi
  WGETRC=wgetrc wget $PARTNER_URL \
   || fp_exit_with_error "download failed"

I haven't tested it, because i don't know how to do it.

Ubuntu:
Description: Ubuntu karmic (development branch)
Release: 9.10

Package:
flashplugin-installer:
  Installed: 10.0.32.18ubuntu1
  Candidate: 10.0.32.18ubuntu1
  Version table:
 *** 10.0.32.18ubuntu1 0
        500 http://archive.ubuntu.com karmic/multiverse Packages
        100 /var/lib/dpkg/status

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Thank you for your bug report! Can you reproduce this with newer Ubuntu versions, because Ubuntu 9.10 is EOL.

Changed in flashplugin-nonfree (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for flashplugin-nonfree (Ubuntu) because there has been no activity for 60 days.]

Changed in flashplugin-nonfree (Ubuntu):
status: Incomplete → Expired
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.