LinuxQuestions.org
Help answer threads with 0 replies.
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 06-25-2012, 03:52 PM   #1
Lucas Rey
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Rep: Reputation: Disabled
YUM cannot listrepo on RedHat 5.4


Dear all,
I installed Redhat Enterprise 5.4 without subscription-manager. So I created a local repository with my own RPM.

The problem is that I cannot activate it. Intalling a repository is quite simple, and the createrepo give me the following output after reading 1683 packages:
Quote:
[root@RedHat5 RHEL5.4]# createrepo /var/yum/Server/RHEL5.4
1683/1683 - Server/cyrus-imapd-perl-2.3.7-7.el5.x86_64.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
After that I cannot install anyting nor list the repo:
Quote:
[root@RedHat5 RHEL5.4]# yum repolist
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: security
repolist: 0
Maybe the problem is there, as I can see al local repository is DISABLED... but how can I activate the repo?:
Quote:
[root@RedHat5 RHEL5.4]# yum repolist all
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: security

repo id repo name status
3rdparty Repository for holding 3rdparty software packages disabled
3rdparty-test Repository for holding 3rdparty-test software packages disabled
RHEL5.4 Repository for holding RHEL5.4 software packages disabled
Thanks!
 
Old 06-25-2012, 04:03 PM   #2
Lucas Rey
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Original Poster
Rep: Reputation: Disabled
Well, I'm very sorry to waste space with my post! It was a very stupid issue!!!

[root@RedHat5 yum.repos.d]# cat RHEL5.4.repo
[RHEL5.4]
enabled=0
name=Repository for holding RHEL5.4 software packages
baseurl=file:///var/yum/Server/RHEL5.4
gpgcheck=0

You see?
 
  


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 in RedHat 6 morad_dba Linux - Newbie 1 04-05-2012 11:41 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM

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

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