LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-27-2004, 08:01 PM   #1
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Rep: Reputation: 0
URPMI Update problems...


OK first off I am running Mandrake Linux 10.0
Community and I am using the EASY URPMI website to add
sources for updates, contribs, and main files... When
I add the sources through the command '
urpmi.addmedia ' it downloads my hdlist.cz or
synthesis.hdlist.cz fine and everything works great.

But... the problem is when I try to update my sources using
the command ' urpmi.update -a ' - I get this error:

Quote:
computing md5sum of existing source hdlist (or synthesis)
examining MD5SUM file
retrieving source hdlist (or synthesis) of "esat.net_contrib"...
ftp.esat.net/pub/linux/mandrake/official/10.0/i586/Mandrake/base/hdlist2.cz
computing md5sum of retrieved source hdlist (or synthesis)
...retrieving failed: md5sum mismatch
retrieval of source hdlist (or synthesis) failed
no hdlist file found for medium "esat.net_contrib"
This actually happens with almost every single hdlist.cz / synthesis.hdlist.cz file when I try to update it in the terminal or in MCC... Has anyone else noticed this problem?
 
Old 04-28-2004, 07:04 AM   #2
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Original Poster
Rep: Reputation: 0
I got a small few replies in other forums one saying to try and add ' -f ' to the command to force the hdlist.cz to be regenerated. I thought for sure this was it but it wasn't.

Everyone's first response is that the mirrors are either down, out-of-sync, or not accepting new connections. After being told this I disabled all of my current sources and tried adding three fresh locations straight from the Mandrakelinux.com download locations. Again it added them, downloaded the hdlist/synthesis.hdlist file just fine with no errors. Again when I try to update I get the "Md5Sum mismatch error."

The only thing I found that works to avoid seeing the missage is to add ' --no-md5sum ' to the command. This just avoids the checking of it though. Does anyone know if this might be bad for me?
 
Old 04-28-2004, 02:37 PM   #3
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
Mandrake Updates are working now. Why not update from there?
 
Old 04-28-2004, 03:50 PM   #4
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Original Poster
Rep: Reputation: 0
rrsc16954: What do you mean by that? Mandrake Update is working now. The program or the service?
 
Old 04-28-2004, 05:40 PM   #5
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
The service.
 
Old 04-28-2004, 09:42 PM   #6
ewok
LQ Newbie
 
Registered: Apr 2004
Location: SA, Australia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
I have confirmed this as a problem using Mandrake 10.0 CE - I have added and removed multiple main and contrib sources, and it always fails on an update, either using urpmi.update -a or urpmi.update sourcename.

I have tried this with at least 3 sources for main and contrib each, using curl and wget. I have also tried the -f switch with no success.

I feel it is unlikely to be due to faulty mirrors, given the number of different mirrors I have tried.

Google on "md5sum mismatch" urpmi.update has no useful hits.

I haven't searched qa.mandrakesoft.com yet...

Will keep working on the problem akuira. Let us know if you have any luck.
 
Old 04-28-2004, 10:11 PM   #7
ewok
LQ Newbie
 
Registered: Apr 2004
Location: SA, Australia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
qa.mandrakesoft.com and bugs.mandrakelinux.com don't show any similar bugs with urpmi.

Will do more testing with a network install tonight.
 
Old 04-29-2004, 08:30 AM   #8
ewok
LQ Newbie
 
Registered: Apr 2004
Location: SA, Australia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
URPMI bugs...

Results of testing after a network install via http.

md5sum mismatch error is consistent

Only main and contrib sources seem to be affected.

Code:
[root@localhost awjp]# urpmi.update --wget -f -c -a
computing md5sum of existing source hdlist (or synthesis)
examining MD5SUM file
retrieving source hdlist (or synthesis) of "main-france"...
    http://ftp.club-internet.fr/pub/unix...base/hdlist.cz
computing md5sum of retrieved source hdlist (or synthesis)
...retrieving failed: md5sum mismatch
retrieval of source hdlist (or synthesis) failed
no hdlist file found for medium "main-france"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main-france.cz]
The error is consistent despite using multiple major mirrors (club-internet, sunsite, planetmirror)

Switches "-f" and "-c" do not seem to help.
Using:
Code:
urpmi.update --no-md5sum -a
Is a workaround, but seems to defeat the purpose of having hash checks.

Additional issues identified with urpmi:
  • adding ftp sources results in urpmi hanging once the hdlist.cz download is complete.
  • this occurs whether curl or wget is used as the ftp client.
  • Killing the urpmi process with Ctrl-C, then restarting it will allow the urpmi.addmedia command to complete.

Example:
Code:
[root@localhost awjp]# urpmi.addmedia main-france ftp://ftp.club-internet.fr/pub/unix/.../Mandrake/RPMS with ../base/hdlist.cz
added medium main-france
computing md5sum of existing source hdlist (or synthesis)
retrieving source hdlist (or synthesis) of "main-france"...
    ftp://ftp.club-internet.fr/pub/unix/...base/hdlist.cz







[root@localhost awjp]# urpmi.addmedia main-france http://ftp.club-internet.fr/pub/unix.../Mandrake/RPMS with ../base/hdlist.cz
added medium main-france
computing md5sum of existing source hdlist (or synthesis)
retrieving source hdlist (or synthesis) of "main-france"...
    http://ftp.club-internet.fr/pub/unix...base/hdlist.cz
found probed hdlist (or synthesis) as ../base/hdlist.cz
...retrieving done
examining hdlist file [/var/cache/urpmi/partial/hdlist.main-france.cz]
examining pubkey file of "main-france"...
performing second pass to compute dependencies

examining hdlist file [/var/lib/urpmi/hdlist.main-france.cz]
built hdlist synthesis file for medium "main-france"
found 0 headers in cache
removing 0 obsolete headers in cache
write config file [/etc/urpmi/urpmi.cfg]
Interestingly, on the second attempt, urpmi uses the previously-downloaded hdlist.cz from the cache to build the hdlist file.

What is confusing for me is why sources like PLF and --update sources seem to be immune to this problem?

Any urpmi gurus out there willing to do some testing?
 
Old 04-29-2004, 08:03 PM   #9
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Original Poster
Rep: Reputation: 0
I wish Mandrake would get onto fixing this. It's really bugging the sh*t out of me. I would like to update my mediums or download RPMS without getting errors about the medium or md5sum mismatch...!! >:|
 
Old 04-29-2004, 08:46 PM   #10
ewok
LQ Newbie
 
Registered: Apr 2004
Location: SA, Australia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
So will you put in the bug report or shall I?
 
Old 04-29-2004, 09:33 PM   #11
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Original Poster
Rep: Reputation: 0
What about both.

Persistence.
 
Old 04-30-2004, 05:57 PM   #12
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
ewok and akuira: in plain English are the bugfixes etc from Mandrake Update flawed or what is the problem?
 
Old 04-30-2004, 10:45 PM   #13
ewok
LQ Newbie
 
Registered: Apr 2004
Location: SA, Australia
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Arrow Problem defined...

The issue is as folllows:

URPMI sources for 'main' and 'contrib' can be added no problems, HOWEVER, when one tries to update the sources using the urpmi.update command, the update fails with the error detailed above "md5sum mismatch".

This error does not appear to occur when updating sources marked with the --update switch.

To test for this error try the following procedure:

1. Open a text console and
Code:
su
2. Type
Code:
urpmi.addmedia main http://ftp.club-internet.fr/pub/unix.../Mandrake/RPMS with ../base/hdlist.cz
3. Next command:
Code:
urpmi.update main
4. If you get output that looks like the postings above with
Code:
md5sum mismatch
as the error, you have experienced the problem.

If you're using the MCC GUI, then the same error will be returned when you go to Software management --> Media manager, then add and update a "main" source as above.
 
Old 05-03-2004, 08:06 PM   #14
akuira
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake Linux 10.0 Official
Posts: 6

Original Poster
Rep: Reputation: 0
Has anyone gotten a solution to this yet? I wish I had! My problem is the exact same as the one above posted by ewok.
 
Old 07-13-2004, 06:39 PM   #15
VaskoV
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
I wonder if anyone has already found any solution or workaround for this problem?
I'm on mdk 10 official and still the exact same prob.

Any feedback would be appreciated?

Thanks

Last edited by VaskoV; 07-13-2004 at 06:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to 10.1 through urpmi ? Sebsebseb Mandriva 9 01-31-2005 03:21 PM
Is doing a urpmi.update worth it? ben_build#2.1.0 Mandriva 4 01-01-2005 06:02 PM
Urpmi update mikkove Linux - Newbie 2 01-31-2004 07:34 AM
urpmi.update --all / urpmi database locked thepoint Mandriva 5 11-05-2003 06:03 PM
Having problems with urpmi.update troworld Mandriva 6 08-26-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration