[Bug 460248] [NEW] flashplugin-installer can't continue downloading

derWolf derwolfman at gmail.com
Sun Oct 25 07:56:22 UTC 2009


Public bug reported:

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

** Affects: flashplugin-nonfree (Ubuntu)
     Importance: Undecided
         Status: New

-- 
flashplugin-installer can't continue downloading
https://bugs.launchpad.net/bugs/460248
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to flashplugin-nonfree in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list