LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-02-2005, 08:31 AM   #1
lmanwarren
Member
 
Registered: Oct 2003
Location: Norwich NY
Distribution: Fedora 3
Posts: 128

Rep: Reputation: 15
New install and have trouble yum update


Did a fresh install of fedora 3 and want to set up yum and get the error at the bottom question is how can I fix it.I have done other installs and never got this why now.
[root@localhost ~]# gedit /etc/yum.repos.d/dag.repo
I/O warning : failed to load external entity "/root/.gnome2/gedit-metadata.xml"
[root@localhost ~]# gedit /etc/yum.repos.d/freshrpms.repo
[root@localhost ~]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag. txt
[root@localhost ~]# rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
[root@localhost ~]# rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY*
[root@localhost ~]# yum update
Setting up Update Process
Setting up Repo: core
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: dag
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: freshrpms
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 830 kB 00:45
MD Read : ################################################## 2622/2622
core : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 822 kB 00:03
MD Read : ################################################## 2216/2216
dag : ################################################## 2216/2216
primary.xml.gz 100% |=========================| 797 kB 00:02
MD Read : ################################################## 2623/2623
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 347 kB 00:15
MD Read : ################################################## 896/896
updates : ################################################## 896/896
primary.xml.gz 100% |=========================| 349 kB 00:01
MD Read : ################################################## 872/872
updates-re: ################################################## 872/872
primary.xml.gz 100% |=========================| 150 kB 00:12
http://ayo.freshrpms.net/fedora/linu...rimary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from freshrpms: [Errno 256] No more mirr ors to try.
[root@localhost ~]# yum install apt
Setting up Install Process
Setting up Repo: core
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: dag
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: freshrpms
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
core : ################################################## 2622/2622
dag : ################################################## 2216/2216
base : ################################################## 2622/2622
updates : ################################################## 896/896
updates-re: ################################################## 872/872
primary.xml.gz 100% |=========================| 150 kB 00:04
http://ayo.freshrpms.net/fedora/linu...rimary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from freshrpms: [Errno 256] No more mirr ors to try.
[root@localhost ~]#
 
Old 05-02-2005, 08:57 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Here's what mine look like.
I import the keys with these commands:
Code:
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
rpm --import http://download.fedora.redhat.com/pu...-Fedora-Extras
# cat /etc/yum.repos.d/fedora.repo
Code:
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
# cat /etc/yum.repos.d/fedora-extras.repo
Code:
[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
enabled=1
gpgcheck=1
 
Old 05-02-2005, 09:15 AM   #3
ShaneK
Member
 
Registered: Mar 2005
Location: Lancaster, PA
Distribution: Gentoo, Fedora Core
Posts: 39

Rep: Reputation: 15
Does your /etc/yum.repos.d/freshrpms.repo file look like this?

# $Id: freshrpms.repo 2478 2004-11-11 22:44:01Z dude $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgcheck=1

It seems to me that YUM isn't too happy with freshrpms. If you have the same file that I am using, maybe you just need to try again. (you probably have) Every once in a while, I'll get an error, but I can't remember if that was it. It looks like everything else you are doing is correct.

Something else that may help: This file: /var/cache/yum/freshrpms/repomd.xml may not be matching up with what is being downloaded. Here's what the file looks like on my box:

<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other">
<location href="repodata/other.xml.gz"/>
<checksum type="sha">f88a3eb07c8c631266e8201c73a1837db9d85f1f</checksum>
<timestamp>1113755555</timestamp>
<open-checksum type="sha">290667dfd3df3e94a55a72eb3c26dd3b2a542091</open-checksum>
</data>
<data type="filelists">
<location href="repodata/filelists.xml.gz"/>
<checksum type="sha">f754a1a798b7a72af675076c982eb127c14a3b09</checksum>
<timestamp>1113755555</timestamp>
<open-checksum type="sha">240a3b2527bc3c00164859aa86618fdfbdf8affc</open-checksum>
</data>
<data type="primary">
<location href="repodata/primary.xml.gz"/>
<checksum type="sha">77e7486e223a8a0a98bfed84588b8c438392239b</checksum>
<timestamp>1113755555</timestamp>
<open-checksum type="sha">ec263a070bc4ce47fb26a95dfaa70b0b81914868</open-checksum>
</data>
</repomd>

My line of thought here is that yum looks in either this file or some other checksum sort of file and isn't finding the correct checksum from what you're downloading.

Perhaps you need to remove anything involved with freshrpms, and reinstall the freshrpm repository related files. You probably wouldn't need to reimport the gpg key, but it wouldn't hurt, either.

Good luck.
 
Old 05-02-2005, 02:23 PM   #4
ShaneK
Member
 
Registered: Mar 2005
Location: Lancaster, PA
Distribution: Gentoo, Fedora Core
Posts: 39

Rep: Reputation: 15
Have a look at this thread:

http://www.linuxquestions.org/questi...hreadid=318934
 
Old 05-02-2005, 11:22 PM   #5
Intimidator
Member
 
Registered: Mar 2005
Distribution: FC4
Posts: 83

Rep: Reputation: 15
http://forum.lowyat.net/lofiversion/...p/t143337.html
 
  


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
DISCUSSION: Using yum to update and install applications. GufyMike LinuxAnswers Discussion 11 04-09-2011 03:02 AM
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
yum update yum? TranceDude Linux - Software 3 08-23-2005 09:56 AM
Minimal install of FC3: cannot get wget and yum update to work. gregf50 Linux - Newbie 5 03-16-2005 09:33 AM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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