Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509874 - www-plugins/adobe-flash-11.2.202.356.x86_64.tar.gz size mismatch
Summary: www-plugins/adobe-flash-11.2.202.356.x86_64.tar.gz size mismatch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-08 18:46 UTC by peter@prh.myzen.co.uk
Modified: 2014-05-10 14:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter@prh.myzen.co.uk 2014-05-08 18:46:40 UTC
Version 11.2.202.356.x86_6 of www-plugins/adobe-flash fails digets verification and all previous versions have been removed from portage.

# emerge -u adobe-flash
[...]
Downloading 'http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.356/install_flash_player_11_linux.x86_64.tar.gz'
--2014-05-08 16:39:12--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.356/install_flash_player_11_linux.x86_64.tar.gz
Resolving serv.prhnet... 192.168.0.2
Connecting to serv.prhnet|192.168.0.2|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 7235769 (6.9M)
Saving to: ‘/usr/portage/distfiles/adobe-flash-11.2.202.356.x86_64.tar.gz’

100%[======================================>] 7,235,769   16.3MB/s   in 0.4s   

2014-05-08 16:39:12 (16.3 MB/s) - ‘/usr/portage/distfiles/adobe-flash-11.2.202.356.x86_64.tar.gz’ saved [7235769/7235769]

!!! Fetched file: adobe-flash-11.2.202.356.x86_64.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      7235769
!!! Expected: 7235641
Refetching... File renamed to '/usr/portage/distfiles/adobe-flash-11.2.202.356.x86_64.tar.gz._checksum_failure_.4QnNJt'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-08 18:51:36 UTC
I can't reproduce that. Do you use a caching proxy?
Comment 2 peter@prh.myzen.co.uk 2014-05-09 09:31:11 UTC
Yes, I have a box on the LAN that runs squid and http-replicator. Taking your hint, I ran wget with --no-proxy to get the flash file and had no further problem, so it looks like I shouldn't have raised the bug. Sorry.

I had a similar problem with the previous version too, so a pattern seemed to be emerging (no pun intended). But why should my proxy have bad copies of these two versions of adobe-flash and yet never another bad file in the (few) years I've been running this way?

Anyway, I'll close the bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-09 14:27:22 UTC
(In reply to Peter Humphrey from comment #2)
> Yes, I have a box on the LAN that runs squid and http-replicator. Taking
> your hint, I ran wget with --no-proxy to get the flash file and had no
> further problem, so it looks like I shouldn't have raised the bug. Sorry.
> 
> I had a similar problem with the previous version too, so a pattern seemed
> to be emerging (no pun intended). But why should my proxy have bad copies of
> these two versions of adobe-flash and yet never another bad file in the
> (few) years I've been running this way?

Because Adobe doesn't version their files properly, and because your caching proxy fails at distinguishing the URLs. The URLs contain the version as a directory and include only the major version in the file name. A SRC_URI arrow is used to save the downloaded file under a more useful name that includes the package name and version. You would need to teach your proxy to distinguish between those directories.

(For the 64-bit installer:)

http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_${PV_M}_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz

What emerge ends up seeing is the part after the arrow "->", while the former is being requested from your proxy. It should be easy to tell it not to cache it or to pay better attention. :)
Comment 4 peter@prh.myzen.co.uk 2014-05-10 14:04:59 UTC
I use http-replicator to buffer emerge's source fetches. It has no built-in options to filter what it gets, at least not as far as I can see. Maybe I should arrange it to fetch through the local squid proxy, though it seems wasteful to cache files twice.

Thanks for the explanation anyway - you must weary of telling everyone who stumbles over this problem.