flashplugin-installer can't continue downloading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashplugin-nonfree (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: flashplugin-
Requirements:
* Ubuntu 9.10
* Not very fast internet
How to reproduce
1. sudo apt-get install flashplugin-
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-
Installed: 10.0.32.18ubuntu1
Candidate: 10.0.32.18ubuntu1
Version table:
*** 10.0.32.18ubuntu1 0
500 http://
100 /var/lib/
Thank you for your bug report! Can you reproduce this with newer Ubuntu versions, because Ubuntu 9.10 is EOL.