LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-27-2008, 08:29 AM   #1
Vassos
Member
 
Registered: Jul 2007
Posts: 52

Rep: Reputation: 15
rpm and yum problems on fedora 7


hay on my fedora 7 and everything its ok except yum and yumex!

Also there might be a problem with pirut because i am having trouble with rpm's.

The problems is kind of usual because i found them in severel threads but the answers given in these threads dont work for me.

1.15:22:54 : Failure getting http://download.fedora.redhat.com/pu...ry.sqlite.bz2:
15:22:54 : --> [Errno -1] Metadata file does not match checksum
15:22:54 : Trying other mirror.
15:23:03 : failure: repodata/primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

in my fedora-repo i have :
name=Fedora $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
#baseurl=http://www.jur-linux.org/download/fedora/releases/$releasever/Everything/$basearch/os/


i used every combination with these 3 adresses but i usually get the same answer.Then for some reasons sometimes it works. But even when yumex works fine and i go into the lists and i try to download something i get the usual error with the "Metadata does not match ckecksum" . I always do a yum
clean all. A strange thinf is that sometimes i get this error with the livna repo which i think is strange.

I also had some other problems with the rpmdb which where supposed to be solved with deleting tho old files and rebuilding rpmdb but rebuilding the rpmdb sometimes crushes and sometimes it works.!


2. the second basic problem is when downloading rpm's from the net , lets say the flash plugin when i try to install it it always says that the file is corrupted or if i do it with pirut it sais its installed but its not!
The if i download it for 15 times it finally gets installed!
 
Old 02-28-2008, 12:59 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This sounds like a net connection problem. How are you connecting? Do you go through a proxy?
 
Old 02-28-2008, 03:40 AM   #3
adymcc
Member
 
Registered: Dec 2006
Posts: 31

Rep: Reputation: 17
Do you get the md5 sum of the the package as well when you download manually?

Can you browse to the rpm repositories listed with/without a proxy?
 
Old 02-28-2008, 03:57 AM   #4
Vassos
Member
 
Registered: Jul 2007
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Do you get the md5 sum of the the package as well when you download manually?
What is this excactly?

I am connected with adsl i think that is without a proxy, my internet connection looks to work fine over the net.
But i also guessed that it was an internet connection problem BUT.
I had some rpm's on another hard disk that used to work, and they have the same problems.
Actually yesterday i have downloaded a thousand times the java files for jdk and i still havent got them installed.

java-1.5.0-sun-1.5.0.14-1jpp.nosrc.rpm jre-6u3-linux-i586.bin java_ee_sdk-5_04-linux.bin jre-6u3-linux-i586-rpm.bin
jdk-1_5_0_14-linux-i586.bin
jdk-1_5_0_14-linux-i586-rpm.bin
jdk-6u4-linux-i586.bin

I always get this message after executing the bin files:

Unpacking...
Checksumming...
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

i have downloaded different versions tried almost anything.
 
Old 02-28-2008, 04:32 AM   #5
adymcc
Member
 
Registered: Dec 2006
Posts: 31

Rep: Reputation: 17
Normally when people provide rpm files that will also publish an md5 hash of the file so that you can verify if the package is intact an unmodified.

so you can run 'md5sum filename.rpm' and the output should match the number published on the website for that file.


Within yum there should be an entry in the /etc/yum.repos.d/your.repo.file like the following:

gpgkey=file:///ete/"path to file"

This is the key that yum uses to check the validity for the packages it downloads.

See:

rpm -qa gpg-pubkey*
rpm -qil "name of package here"

And to check a rpm downloaded via yum:

rpm --checksig filename.rpm

Though it would appear at a glance that Sun have not provided a sum of the file just suggested that you check its length.

You could try switching off gpg checking and see what happens when you install one file? Be carefull.

Last edited by adymcc; 02-28-2008 at 04:48 AM.
 
  


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
RPM database error while installing using yum in fedora core 6 me4linux Fedora 4 04-25-2007 11:36 AM
Yum problems with Fedora 5 and 6 nbcohen Fedora 6 10-26-2006 05:41 PM
Fedora Yum problems Thom_Redhat Linux - Distributions 9 10-17-2005 01:52 PM
Fedora + yum - rpm-python = :( BrokenBrick Linux - Software 1 03-11-2005 08:41 PM
problems with yum (fedora 1) sohmc Fedora 4 09-14-2004 10:13 PM

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

All times are GMT -5. The time now is 05:59 PM.

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