Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 19923

Summary: bad mirror site
Product: Mirrors Reporter: Marcus Fihlon <marcus>
Component: Server ProblemAssignee: Mirror Admins <mirror-admin>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcus Fihlon 2003-04-25 06:34:51 UTC
In the ebuild of phpMyAdmin is a bad digest. The installation fails. Downloading the 
original distribution files from the phpMyAdmin website and replacing the bad 
installation file solves the problem. 

Reproducible: Always
Steps to Reproduce:
1. become root 
2. execute "emerge phpmyadmin" 
 
Actual Results:  
The installation stops because of digest missmatch 

Expected Results:  
The digest in the ebuild and the generated digest should be the same and the 
installation should continue. 

In my /etc/make.conf i have: 
ACCEPT_KEYWORDS="~x86"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-25 08:31:15 UTC
wget http://belnet.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.4.0-php.tar.bz2
dcd26212b311a096e1d02aa3156eec1f  phpMyAdmin-2.4.0-php.tar.bz2
more /usr/portage/dev-db/phpmyadmin/files/digest-phpmyadmin-2.4.0 
MD5 c6a79ab6f3c9e6d657a5bee36b1f6565 /files/phpmyadmin-config.patch 4857
MD5 396133c1da8d8b716ad2da23aa0a5a30 /files/phpmyadmin-mysql-setup.sql.in 2712
MD5 7669a6c65ef19ce4412668c208dfd76e /phpmyadmin-2.4.0.ebuild 2503
MD5 dcd26212b311a096e1d02aa3156eec1f phpMyAdmin-2.4.0-php.tar.bz2 769848

exactly the same
Comment 2 Marcus Fihlon 2003-04-25 08:43:01 UTC
Hi, 
 
this is exactly what i did: 
 
###################################################################### 
 
bigdaddy root # emerge phpmyadmin 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-db/phpmyadmin-2.4.0 to / 
>>> Downloading http://bigdaddy.mobilcom.de/gentoo/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 
--15:37:09--  http://bigdaddy.mobilcom.de/gentoo/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 
           => `/usr/portage/distfiles/phpMyAdmin-2.4.0-php.tar.bz2' 
Resolving bigdaddy.mobilcom.de... done. 
Connecting to bigdaddy.mobilcom.de[10.36.137.57]:80... connected. 
HTTP request sent, awaiting response... 404 Not Found 
15:37:09 ERROR 404: Not Found. 
 
>>> Downloading 
http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 
--15:37:09--  http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 
           => `/usr/portage/distfiles/phpMyAdmin-2.4.0-php.tar.bz2' 
Resolving ftp.tu-clausthal.de... done. 
Connecting to ftp.tu-clausthal.de[139.174.2.36]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 769,848 [text/plain] 
 
100%[================================================================================================================>] 
769,848      115.54K/s    ETA 00:00 
 
15:37:16 (115.54 KB/s) - `/usr/portage/distfiles/phpMyAdmin-2.4.0-php.tar.bz2' saved 
[769848/769848] 
 
 
!!! phpMyAdmin-2.4.0-php.tar.bz2: message digests do not match! 
!!! phpMyAdmin-2.4.0-php.tar.bz2 is corrupt or incomplete. 
>>> our recorded digest: dcd26212b311a096e1d02aa3156eec1f 
>>>  your file's digest: c0de061fbc159951a75f70feff4b126e 
>>> Please delete /usr/portage/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 and refetch. 
 
###################################################################### 
 
Then i did this to install phpMyAdmin succesfully: 
 
###################################################################### 
 
bigdaddy root # wget 
http://twtelecom.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.4.0-php.tar.bz2 
--15:39:28--  
http://twtelecom.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.4.0-php.tar.bz2 
           => `phpMyAdmin-2.4.0-php.tar.bz2' 
Resolving twtelecom.dl.sourceforge.net... done. 
Connecting to twtelecom.dl.sourceforge.net[207.250.4.12]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 769,848 [application/x-bzip2] 
 
100%[================================================================================================================>] 
769,848      246.74K/s    ETA 00:00 
 
15:39:31 (246.74 KB/s) - `phpMyAdmin-2.4.0-php.tar.bz2' saved [769848/769848] 
 
bigdaddy root # mv phpMyAdmin-2.4.0-php.tar.bz2 
/usr/portage/distfiles/phpMyAdmin-2.4.0-php.tar.bz2 
 
bigdaddy root # emerge phpmyadmin 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-db/phpmyadmin-2.4.0 to / 
>>> md5 ;-) phpMyAdmin-2.4.0-php.tar.bz2 
>>> Unpacking source... 
>>> Unpacking phpMyAdmin-2.4.0-php.tar.bz2 to /var/tmp/portage/phpmyadmin-2.4.0/work 
 
###################################################################### 
 
I tried it with several mirrors, everytime the same. Only if i download the distribution file from the 
phpMyAdmin download page, it works. 
 
a uname -a says: 
Linux bigdaddy 2.4.20-gentoo-r3 #1 SMP Wed Apr 16 10:02:17 CEST 2003 i686 Intel(R) 
Pentium(R) 4 CPU 1.70GHz GenuineIntel GNU/Linux 
 
What else can i do to help you identify the problem? In the mailing list gentoo-user-de i asked 
other people and they can verify it, e.g. Thomas Arnhold <mail@slysoft.de>. 
 
Thank you very much for your help! 
Marcus 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-25 08:46:41 UTC
official mirror is good
wget http://gentoo.oregonstate.edu/distfiles/phpMyAdmin-2.4.0-php.tar.bz2
`phpMyAdmin-2.4.0-php.tar.bz2' saved [769848/769848]

gentoo tmp # md5sum phpMyAdmin-2.4.0-php.tar.bz2 
dcd26212b311a096e1d02aa3156eec1f  phpMyAdmin-2.4.0-php.tar.bz2
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-04-25 08:47:14 UTC
see the log for info
Comment 5 Kurt Lieber (RETIRED) gentoo-dev 2003-05-05 08:07:24 UTC
the ibiblio mirror had a corrupt copy of phpmyadmin -- any other mirrors syncing against ibiblio would have received the same corrupt file.  We've fixed the ibib problem -- after things propogate out, it should resolve the problems with the other mirrors as well.

*** This bug has been marked as a duplicate of 20301 ***