Solved Unable to download Flash Player

   To satisfy dependencies, the following packages are going to be installed:
     Package                        Version      Release       Dist  DEpoch Arch 
    (medium "non-free updates")
     flash-player-plugin            27.0.0.170   1             omv   2015.0 x86_64 
     flash-player-plugin-kde        27.0.0.170   1             omv   2015.0 x86_64 
    1.2KB of additional disk space will be used.
    17KB of packages will be retrieved.
    Proceed with the installation of the 2 packages? (Y/n) Y

Error: Unable to download Flash Player. This is likely due to this package
       being too old. Please file a bug report at https://issues.openmandriva.org
       so that the package gets updated. Thank you.

       In the meantime, you can download Flash Player manually from
       http://get.adobe.com/flashplayer/
ERROR: 'script' failed for 
error: %pre(flash-player-plugin-27.0.0.170-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping flash-player-plugin-27.0.0.170-1.x86_64
ERROR: 'script' failed for 
error: %pre(flash-player-plugin-kde-27.0.0.170-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping flash-player-plugin-kde-27.0.0.170-1.x86_64

This must have gotten fixed.

This has happend again today (11/19/2017) in a Fresh install of Latest Lx 3.03 ISO # 1588.

Error: Unable to download Flash Player. This is likely due to this package
       being too old. Please file a bug report at https://issues.openmandriva.org
       so that the package gets updated. Thank you.

       In the meantime, you can download Flash Player manually from
       http://get.adobe.com/flashplayer/
ERROR: 'script' failed for 
error: %pre(flash-player-plugin-27.0.0.183-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping flash-player-plugin-27.0.0.183-1.x86_64

It may be due to the new firefox.

Edit: This is a package installation from Konsole, Firefox is not involved.

# urpmi flash-player-plugin

This is a common recurring problem in OpenMandriva. It is a new version of flash-player-plugin trying to download the previous version of flash-player-plugin. Nothing to do with Firefox. This has happened before multiple times. I report it and it gets fixed.

In fact I’m reusing the thread from a previous instance of the same issue reported Oct. 25.

Edit: Current package is flash-player-plugin-27.0.0.183-1-omv2015.0.x86_64.rpm

I think it downloads the source.
Here’s an extract from the rpm spec file.
NOTE: This package does not contain the Flash Player itself. The
software will be automatically downloaded from Adobe during package
installation.
I suspect as soon as there is a new version the old version is removed.
Since the downloads requires a version number to be entered manually the package effectively expires.

Colin this has happened numerous times. The new package won’t download flash-player-plugin because it is calling for the wrong version:

Error: Unable to download Flash Player. This is likely due to this package being too old. Please file a bug report at https://issues.openmandriva.org
so that the package gets updated. Thank you.

This happens over and over.

Edit: Ever time previous it was because something did not get changed in OpenMandriva’s package when someone updated our package.

Does it say what version is?

It says what the new version is only. Again this is a common recurring problem.

But our script for downloading is calling for an older version.

Edit: The reason I know all this is because I’ve reported this 3 or 4 or maybe 5 times now.

Ben I know it’s a recurring problem but there’s nothing OpenMandriva can do about it. The version number is fixed in the rpm spec file but Adobe update the version the download url becomes invalid and we have to edit the rpm spec file to contain the new version number and then rebuild the rpm. There is no way to automate this because the sourcecode is not available; all we can do is fetch an rpm from Adobe and install the necessary dependencies.
I will try and find out the lates version number and update and rebuild the rpm.

For fruther illumination on this issue the urpmi output:

Downloading from http://fpdownload.macromedia.com/get/flashplayer/pdc/27.0.0.187/flash-player-npapi-27.0.0.187-release.x86_64.rpm:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8790k  100 8790k    0     0  8790k      0  0:00:01 --:--:--  0:00:01 14.6M
Downloading from http://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/flash-player-npapi-27.0.0.187-release.x86_64.rpm:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   286  100   286    0     0    286      0  0:00:01 --:--:--  0:00:01  1481
Downloading from http://linuxdownload.adobe.com/linux/x86_64/flash-player-npapi-27.0.0.187-release.x86_64.rpm:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8790k  100 8790k    0     0   976k      0  0:00:09  0:00:09 --:--:-- 1012k
Error: Unable to download Flash Player. This is likely due to this package
       being too old. Please file a bug report at https://issues.openmandriva.org
       so that the package gets updated. Thank you.

       In the meantime, you can download Flash Player manually from
       http://get.adobe.com/flashplayer/
ERROR: 'script' failed for 
error: %pre(flash-player-plugin-27.0.0.187-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping flash-player-plugin-27.0.0.187-1.x86_64
ERROR: 'script' failed for 
error: %pre(flash-player-plugin-kde-27.0.0.187-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping flash-player-plugin-kde-27.0.0.187-1.x86_64

Appears to show that our script is attempting to download the correct (latest) version of flash-player-npapi and that there is indeed something that downloads. Yet our script says that Download failed even though 1012k of something just got downloaded. So I don’t know what about this is failing. Sometimes I’m just not smart enough. :flushed:

Edit: The URL the script is using is definitely valid, it will download manually. So I’m baffled why the script still keeps saying: Error: Unable to download Flash Player.

I notice in the spec.file on Github that the flash-player-npapi version changed but the checksums remained the same. Could that be it?

OK now there is a version of:

# rpm -qa | grep flash-player
flash-player-plugin-27.0.0.187-2-omv2015.0.x86_64
flash-player-plugin-kde-27.0.0.187-2-omv2015.0.x86_64

in non-free-testing repo.