[wish] Tag flashplugin-nonfree not correctly configured when adobe's download fail during install

Bug #215191 reported by okparanoid
2
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Incomplete
Undecided
Mozilla Bugs

Bug Description

Binary package hint: flashplugin-nonfree

hello

i have upgrade my flashplugin-non free package, and in same time of lot of other packages in hardy, so between the download of the package and the installation i have lost my network access because of the hal upgrade who temporaly disconnect the network interfaces.

So the install script fails to download the remote file of flash on the adobe site.

Such things appends too if proxy settings is not correcly configured.

Is it possible to set the flashplugin-nonfree package not correctly configured in such case (download of flash failed) so
aptitude can retry the installation an other time ?

Thanks

BR

Revision history for this message
John Vivirito (gnomefreak) wrote :

Does sudo apt-get install flashplugin-nonfree not work? Can you please post error it gives you?
Does sudo dpkg --configure -a work? to fix this?

Changed in flashplugin-nonfree:
assignee: nobody → mozilla-bugs
status: New → Incomplete
Revision history for this message
okparanoid (okparanoid) wrote :

hello :)

here is the procedure :

loic@751660K001:~$ sudo aptitude install flashplugin-nonfree
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Lecture de l'information d'état étendu
Initialisation de l'état des paquets... Fait
Construction de la base de données des étiquettes... Fait
Les NOUVEAUX paquets suivants vont être installés :
  flashplugin-nonfree
0 paquets mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 18,4ko d'archives. Après dépaquetage, 168ko seront utilisés.
Écriture de l'information d'état étendu... Fait
Prendre :1 http://archive.ubuntu.com hardy/multiverse flashplugin-nonfree 9.0.124.0ubuntu1 [18,4kB]
18,4ko téléchargés en 0s (42,9ko/s)

#######################################
Here i manually shutdown my network interface to simulate networks problems, same things happen when proxy settings is not correctly configured
#######################################

Préconfiguration des paquets...
Sélection du paquet flashplugin-nonfree précédemment désélectionné.
(Lecture de la base de données... 217053 fichiers et répertoires déjà installés.)
Dépaquetage de flashplugin-nonfree (à partir de .../flashplugin-nonfree_9.0.124.0ubuntu1_i386.deb) ...
Paramétrage de flashplugin-nonfree (9.0.124.0ubuntu1) ...
Downloading...
--00:44:23-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
           => `./install_flash_player_9_linux.tar.gz'
Résolution de fpdownload.macromedia.com... échec: Nom ou service inconnu.
download failed
The Flash plugin is NOT installed.

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Lecture de l'information d'état étendu
Initialisation de l'état des paquets... Fait
Écriture de l'information d'état étendu... Fait
Construction de la base de données des étiquettes... Fait

#######################################
Here i manually restart my network interface
#######################################

loic@751660K001:~$ sudo dpkg --configure -a
loic@751660K001:~$ sudo aptitude -f install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Lecture de l'information d'état étendu
Initialisation de l'état des paquets... Fait
Construction de la base de données des étiquettes... Fait
Aucun paquet ne va être installé, mis à jour ou enlevé.
0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0o d'archives. Après dépaquetage, 0o seront utilisés.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Lecture de l'information d'état étendu
Initialisation de l'état des paquets... Fait
Construction de la base de données des étiquettes... Fait

As a result i have the package installed and not working.

It would be great if in such case the package is automatically tagged as missconfigured so that dpkg --configure -a could retry to download the tar.gz file from macromedia website an other time.

Best Regards

Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please post the errors in english,

Revision history for this message
okparanoid (okparanoid) wrote :

It just says that there is no problem except during the configuration of the package, in this line which are partially in english :

Paramétrage de flashplugin-nonfree (9.0.124.0ubuntu1) ...
Downloading...
--00:44:23-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
           => `./install_flash_player_9_linux.tar.gz'
Résolution de fpdownload.macromedia.com... échec: Nom ou service inconnu.
download failed
The Flash plugin is NOT installed.

I repeat that i have manually shut down my network to fail the download.
The installation process is good and work well. However if a network problem appears (by hardware defect or missconfiguration of things like proxy variable environment on the client) the case is not considered.

sudo dpkg --configure -a as no result since the package is considered to be correctly installed.
However the flash plugin are not. So the state of the package does not reflect the reality of the situation

Thanks !

Revision history for this message
John Vivirito (gnomefreak) wrote :

So the install worked its just flash fails to work properly? If this is the case please look in your firefox-3.0 profile and make sure its there, if its not please copy it from youyr firefox-2.0 profile than see if it works.

Revision history for this message
John Vivirito (gnomefreak) wrote :

could you please attach your pluginreg.dat from the .mozilla/firefox/
directory?

Revision history for this message
okparanoid (okparanoid) wrote :

Hello John

i'm very sorry for my poor english. i'm confused about the time you lose because of this.

the problem (and it's a minor one) is not about the flash plugin himself. it's work well on my hardy

I talk about the .deb package and the process of the configuration/installation.

During the configuration/installation of the .deb there is a script who download the adobe official tar.gz of the plugin.
It's work well and i have no problem with this and i have flash plugin working on firefox.

I talk about the case of having network problems during the download of the .tar.gz file or having not correctly configured the proxy settings to make wget work properly. (Wget is used to download the tar.gz). In such case naturally the flash plugin can't be installed.
The wish is to flag the .deb package not correctly configured in such case to let dpkg retry an other time. Actually when such things happen the package is considered correctly installed. it is not a very important request because a "aptitude reinstall flashplugin-nonfree" resolve the problem but perhaps it will be convenient for sysadmin of a desktop parc to know than in reality the package is not correctly installed.

hope this can help..

Regards

Revision history for this message
John Vivirito (gnomefreak) wrote :

" The wish is to flag the .deb package not correctly configured in such case to let dpkg retry an other time. "

The above line can make the install/config very messy since it will keep trying until it does and that can mean that dpkg will run maybe for a long time, or at least its possible.

Also this isnt flashplugin-nonfree's fault since aptitude work it out just fine this is more of an APT issue. Please confirm that if i understand properly.

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.