LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-09-2008, 10:16 PM   #1
FirstBorn
Member
 
Registered: Jul 2008
Location: Hell - aka - Florida
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64

Rep: Reputation: 15
Please help updating media database, getting errors


Hi,

Thanks for helping.

There is a RED Circle with an Exclamation Point in the task tray.

Clicked on it, entered root password, then MCC Software Management
program loads, I accept process to update, then get the following
error message:

Code:
Installation failed, some files are missing:
- ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2008.0/i586/media/main/updates/ruby-1.8.6-5.2mdv2008.0.i586.rpm

You may want to update your media database.

Error(s) reported:
...retrieving failed: curl failed: exited with 19
k, so, the question is, How do I update My media database?

Thanks,
FirstBorn

Mandriva 2008.0
 
Old 07-10-2008, 04:54 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Change/add a mirror.That should do unless they really don't have some files in the database.
 
Old 07-10-2008, 10:43 AM   #3
FirstBorn
Member
 
Registered: Jul 2008
Location: Hell - aka - Florida
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64

Original Poster
Rep: Reputation: 15
Easy URPMI Did the trick

Quote:
Originally Posted by alan_ri View Post
Change/add a mirror.That should do unless they really don't have some files in the database.
Hi alan_ri,

Thanks.

I just went to the Easy URPMI site and it seemed to have
fixed it when I went to run the updates.
http://easyurpmi.zarb.org/

Thanks,
Christopher
 
Old 07-10-2008, 02:42 PM   #4
jdines
LQ Newbie
 
Registered: Jul 2008
Posts: 19

Rep: Reputation: 0
Post Everything you ever wanted to know about Mandriva updates

When you use the Mandriva GUI to apply updates it automatically updates the media database, however when the mirror sites are being upodated they can sometimes get out of sync. This is because the updates are not atomic. In other words, the system does not update the list of files present and the actual directory contents at the exact same moment. For this reason, you will sometimes see this error. It will automagically go away on its own if you wait a bit and try again when this is the problem.

It is also possible that the Mandriva team makes an error, and the files on the mirror and the ones in the database do not match for this reason. The solution in this case is to wait a bit longer ;-)

(i.e. The Mandriva team will fix the error)

When one is not using the GUI tools (which are merely a wrapper for urpmi and urpmq scripts, etc) you can do, as root:

Code:
urpmi.update -a
The above will update all the data for all of the repositories you have configured.

See also:
Code:
man urpmi.update
man urpmi
man urpmi.cfg
 
  


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
Apt Repositories not Updating Package Database carl0ski Ubuntu 4 10-22-2006 04:31 AM
Scripts updating a postgres database ethnicme Programming 1 07-15-2006 11:21 AM
PHP Question: Updating the database won't work(?) Mega Man X Programming 11 08-08-2004 03:51 PM
Updating the Sources Database?? fdiaz05 Linux - Software 0 02-18-2003 01:00 PM
Updating Scrollkeeper database.... JoeLinux Linux - Software 0 08-19-2002 06:17 PM


All times are GMT -5. The time now is 02:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration