LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-25-2013, 04:16 AM   #1
bharatlalgupta
Member
 
Registered: Aug 2008
Posts: 80
Blog Entries: 1

Rep: Reputation: 16
Yum server repository giving error


Hi All,

I've one RHEL-5.9 server and added one RHEL-6.4 server repository with RHEL-5.9 server but when I'm trying to install or upgrade any package. I'm getting below error.
[root@localhost mnt]# yum list all
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel/primary_db | 2.5 MB 00:00
file:///mnt/repodata/f7c87f40685756b9053252da3f8e4910c23ad818e30216c8f707706bbf081fac-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/f7c87f40685756b9053252da3f8e4910c23ad818e30216c8f707706bbf081fac-primary.sqlite.bz2 from rhel: [Errno 256] No more mirrors to try.


Any Idea please help.
 
Old 06-25-2013, 04:20 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
2 things stand out:

Quote:
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This makes it kinda hard to get updates/packages etc. It also makes me wonder if you are paying for RHEL (if you don't or don't want to: Use CentOS or Scientific Linux instead).

Quote:
[Errno -3] Error performing checksum
You are trying to mix and match 2 totally different RHEL versions (5.9 vs 6.4).
 
Old 07-01-2013, 10:14 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by bharatlalgupta View Post
Hi All,

I've one RHEL-5.9 server and added one RHEL-6.4 server repository with RHEL-5.9 server but when I'm trying to install or upgrade any package. I'm getting below error.
[root@localhost mnt]# yum list all
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Any Idea please help.
Well, you've been told SEVERAL times in other threads that you need to PAY FOR RED HAT ENTERPRISE, but you obviously haven't. If you want to use RHEL and get access to online repositories, you need to PAY FOR IT...there is no way 'around' it. Otherwise, use CentOS, which is nearly identical, but FREE.

And as druuna pointed out, you're using 5.9, so 6.4 packages/dependencies are going to be different, if they work AT ALL. So, as has been explained to you before:
  • PAY FOR Red Hat, and you get access to their repositories, which makes your problem go away
  • Load CentOS, and get access to the FREE repositories.
Not really a third option.
 
Old 07-01-2013, 08:44 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you've got the Install media, then you can setup a local repo https://code.google.com/p/iredmail/w...Yum_Repository.
However, see posts above for a long term soln.
 
Old 07-02-2013, 12:17 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
but a local repo will only get you what is on the dvd

you might as well just use the dvd

and if you have tried mixing third party repos for 5.9 AND 6.4
you have a " Frankensteined " install

and it is likely not fixable ( at least not in under a week or two )
 
Old 07-02-2013, 01:11 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See my 2nd sentence ...
 
  


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 Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
[SOLVED] yum repository error himalayan Linux - Software 8 04-12-2012 08:10 PM
yum repository error parkarnoor Linux - Newbie 3 10-13-2010 11:11 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
yum update is giving error namit Linux - Software 14 07-20-2007 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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