yum install <package name> giving errors.
Using Fedora 8,i386
I am getting errors while trying to download any package through yum. Below are my hand's on prior to make a new thread.Please look in it & let me know the solution. yum install gftp http://ftp.isu.edu.tw/pub/Linux/Fedo...ry.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out> Trying other mirror. primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00 http://mirror.yandex.ru/fedora/linux...ry.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00 http://ftp.cse.yzu.edu.tw/pub/Linux/...ry.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00 http://ftp.jaist.ac.jp/pub/Linux/Fed...ry.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00 ftp://dispenser.yandex.net/fedora/li...ry.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. After getting above error,I tried this commands to sort out the problem.But,it was also not working. yum clean all yum --disablerepo=fedora check-update After that,i tried again "yum install gftp" - Still getting same error. Below is the repo output. #yum repolist repo id repo name status InstallMedia Fedora 8 enabled fedora Fedora 8 - i386 enabled livna rpm.livna.org for 8 - i386 enabled updates Fedora 8 - i386 - Updates enabled Tell me what to do now? Please respond, Nishith Vyas. |
Hi,
A quick fix could be to download SMART PACKAGE MANAGER and reinstall yum. you can download and install it form freshrpms.org Code:
rpm -i smart-completename once you are done Code:
smart remove yum -y Code:
smart install yum -y Hope this solves your problem. Cheers |
Those messages are normally seen when the repositories are being updated. When a repository is updated, the checksums are the first thing changed, then all the new RPMs are copied in, and the final step is to update the metadata file. It's done that way so you can't use the repository when it could be in an inconsistent state.
Just wait a while -- usually an hour or so -- and try again. Bottom line: There's nothing wrong with yum, it's doing what it's supposed to do. P.S., Installing the smart package is is "good thing" to do. It can resolve some of the "dependance hell" that yum can get you into, and it includes a more sophisticated consistency checker than is available with yum. On the other hand, the default configuration file in the repository points only to the Red Hat central site, which can be quite crowded at times. |
|
All times are GMT -5. The time now is 04:59 AM. |