LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Please help updating media database, getting errors (https://www.linuxquestions.org/questions/linux-software-2/please-help-updating-media-database-getting-errors-654736/)

FirstBorn 07-09-2008 09:16 PM

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

alan_ri 07-10-2008 03:54 AM

Change/add a mirror.That should do unless they really don't have some files in the database.

FirstBorn 07-10-2008 09:43 AM

Easy URPMI Did the trick
 
Quote:

Originally Posted by alan_ri (Post 3209817)
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

jdines 07-10-2008 01:42 PM

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



All times are GMT -5. The time now is 06:35 AM.