Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-22-2005, 09:23 AM   #1
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 222

Rep: Reputation: 30
yum update yum?


i want to update yum but is it a good idea to use yum for updating itself?
I'm a beginner and i need some advice about that

I'm also looking about a command that gives me all the available packages in a repository that i added to yum

Old 08-22-2005, 03:19 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
You can use yum to update itself - that's absolutely fine.

By default 'yum list' shows you all the packages from all the enabled repositories, but you can disable a repository for a single operation with "--disablerepo=repository"

So this command shows all the available packages that *aren't* from Core, Updates or Extras:

su -c 'yum --disablerepo=base --disablerepo=updates-released --disablerepo=extras list'

Most repositories have hundreds or thousands of packages so add a grep on the end to only show what you're interested in:

su -c 'yum --disablerepo=base --disablerepo=updates-released --disablerepo=extras list' | grep -i 'what-i-want'

Yum has other search facilities, which are briefly covered in the Fedora documentation:

I tend to go to the Website of the repository when I want to just casually browse the packages.
Old 08-22-2005, 03:26 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you run "yum update" or "yum upgrade" without any other parameters all packages on your system including yum will be upgraded so there really is no need to upgrade yum on its own unless you are upgrading Fedora or CentOS versions.
Old 08-23-2005, 10:56 AM   #4
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 222

Original Poster
Rep: Reputation: 30
thanks a lot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 04:03 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 03:28 AM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 05:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration