Unix/Linux Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Concept of yum in RHEL

Red Hat


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-17-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 23 April 2015, 1:54 AM EDT
Posts: 77
Thanks: 12
Thanked 0 Times in 0 Posts
Concept of yum in RHEL

I have a confusion that even though yum is not configured on my RHEL server but yum list is showing. Yum install <package_name> fails.

I hope, my question is clear of how yum list is working even though yum is not configured on the server.

Please revert with the reply to my query.

Regards
Sponsored Links
    #2  
Old Unix and Linux 01-17-2013
mauregato's Unix or Linux Image
mauregato mauregato is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 20 May 2015, 4:12 PM EDT
Location: Bcn\Spain
Posts: 16
Thanks: 1
Thanked 3 Times in 3 Posts
Hello,
exec this command, "yum repolist", to show how many repositories are configured on your system.
The Following User Says Thank You to mauregato For This Useful Post:
RHCE (01-18-2013)
Sponsored Links
    #3  
Old Unix and Linux 01-18-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 23 April 2015, 1:54 AM EDT
Posts: 77
Thanks: 12
Thanked 0 Times in 0 Posts
But,can you please explain with an example. Thanks.
    #4  
Old Unix and Linux 01-18-2013
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 28 July 2015, 6:16 PM EDT
Location: /dev/ph
Posts: 4,942
Thanks: 70
Thanked 461 Times in 427 Posts
Run the following command as root and report the results:

Code:
yum repolist

That is what Mauregato asked you to do.
Sponsored Links
    #5  
Old Unix and Linux 01-18-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 23 April 2015, 1:54 AM EDT
Posts: 77
Thanks: 12
Thanked 0 Times in 0 Posts
Please find output of yum repolist:-


Code:
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
repo id repo name status
Packages server1 3,290
repolist: 3,290

Request you to please explain the output.

Regards

Last edited by Scott; 01-18-2013 at 08:35 AM.. Reason: Code tags
Sponsored Links
    #6  
Old Unix and Linux 01-21-2013
venikathir venikathir is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 8 July 2015, 3:31 AM EDT
Location: Bangalroe-India
Posts: 106
Thanks: 8
Thanked 5 Times in 5 Posts
In your output there is no repo's configured. What are the output your getting through yum, all are installed packages.
if yum is configured it will show the repo name (your repo name)

Last edited by venikathir; 01-21-2013 at 07:41 AM.. Reason: change
Sponsored Links
    #7  
Old Unix and Linux 01-21-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 23 April 2015, 1:54 AM EDT
Posts: 77
Thanks: 12
Thanked 0 Times in 0 Posts
Thanks for your reply. When I do

yum list,

Of the 3 column output, some are coming as installed and some as packages.

I hope, I could explain clearly.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Does RHEL 5 provide a command to collect RHEL system log in single compress file? nnnnnnine Red Hat 4 11-04-2011 04:08 AM
cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box drs.grid Red Hat 4 08-08-2011 02:30 PM
Centos commands: Yum Upgrade versus Yum update mojoman UNIX for Dummies Questions & Answers 3 01-28-2010 11:21 AM
How to configure YUM in RHEL 4.0 daya.pandit Ubuntu 3 11-13-2008 06:32 AM
Difference between RHEL 3 AND RHEL 4 sakthi_13 Red Hat 2 09-11-2007 07:51 AM



All times are GMT -4. The time now is 06:18 AM.