LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 08-22-2005, 08:23 AM   #1
TranceDude
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 222

Rep: Reputation: 30
yum update yum?


hi

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

thx
 
Old 08-22-2005, 02:19 PM   #2
hob
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:

http://fedora.redhat.com/docs/yum/

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

Rep: Reputation: 73
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, 09:56 AM   #4
TranceDude
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 222

Original Poster
Rep: Reputation: 30
thanks a lot
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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-02-2010 11:42 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 04:24 PM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration