LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2009, 12:49 PM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Smile 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.
 
Old 01-16-2009, 02:17 PM   #2
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
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
 
Old 01-16-2009, 03:23 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
Old 01-19-2009, 05:29 PM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Please note that Fedora 8 is end-of-live, not supported anymore.

http://lwn.net/Articles/308913/
 
  


Reply



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
yum install not working and giving errors .....kindly find a way out sureka Linux - Software 6 06-30-2008 12:01 AM
yum update giving problems to install mplayer jaycee4u Linux - Newbie 2 02-18-2008 09:09 PM
[SOLVED] Use yum to install package. brave heart Red Hat 9 09-06-2007 02:51 AM
Using YUM to install a package bwallace Linux - Newbie 2 02-21-2006 09:43 AM
YUM/RPM commands giving errors MontyPY Linux - Software 1 03-04-2005 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:35 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