LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2008, 11:39 AM   #1
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Rep: Reputation: 17
Question fedora update query


i want to upgrade my fedora 9 to fedora 10
For this..at first i have to update my fedora 9
So,i run this command
[root@localhost pritam]# yum update
and it asks for permission for a 760MB download..

now i want to download my updates in three phase..(250MB each).
so first,i will have to sort out the package names in a txt file....
and then update as per my requirement

the output of yum update is --


................
vpnc i386 0.5.1-6.fc9 updates-newkey 95 k
wavpack i386 4.50.1-2.fc9 updates-newkey 126 k
wget i386 1.11.4-1.fc9 updates-newkey 597 k
wildmidi-libs i386 0.2.2-5.fc9 updates-newkey 47 k
words noarch 3.0-12.1.fc9 updates-newkey 1.4 M
wpa_supplicant i386 1:0.6.4-2.fc9 updates-newkey 271 k
wxBase i386 2.8.9-1.fc9 updates-newkey 680 k
wxGTK i386 2.8.9-1.fc9 updates-newkey 3.8 M
xkeyboard-config noarch 1.2-4.fc9 updates-newkey 334 k
xml-common noarch 0.6.3-24.fc9 updates-newkey 6.9 k
xorg-x11-drv-ati i386 6.8.0-19.fc9 updates-newkey 416 k
xorg-x11-drv-elographics i386 1.2.3-1.fc9 updates-newkey 13 k
xorg-x11-drv-evdev i386 2.0.7-1.fc9 updates-newkey 16 k
xorg-x11-drv-geode i386 2.10.1-1.fc9 updates-newkey 132 k
xorg-x11-drv-glint i386 1.2.1-1.fc9 updates-newkey 105 k
xorg-x11-drv-i810 i386 2.3.2-3.fc9 updates-newkey 407 k
xorg-x11-drv-mga i386 1.4.9-1.fc9 updates-newkey 91 k
xorg-x11-drv-mutouch i386 1.2.1-1.fc9 updates-newkey 13 k

etc...etc..

Transaction Summary
=============================================================================
Install 23 Package(s)
Update 509 Package(s)
Remove 0 Package(s)

Total size: 769 M
Total download size: 767 M
Is this ok [y/N]:



my problem is i cannot copy "only the package names" and leave out the architecture,repository,key entries from this update list.
how can i do this???

Last edited by ritam_bkp; 11-26-2008 at 11:41 AM.
 
Old 11-26-2008, 03:34 PM   #2
sfjoe
Member
 
Registered: Jun 2007
Location: San Francisco
Distribution: Centos 4, Debian
Posts: 55

Rep: Reputation: 16
You want the `cut` command. For your needs, do this:
cut -f1 update_file

or, do it all in one command like this:

yum list updates | cut -f 1 -d ' '
 
Old 11-26-2008, 04:47 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
You could install yumex or any other GUI front-end for YUM and just check off the ones you want to update.

Note, however, that YUM will do a dependency resolution, so, given your selection, you may need to install additional packages. I.e., you will find it quite hard to limit your download size to 250 Mb chunks.

In fact, I'd start by looking at the YUM output you first got to see what dependency resolution files were included for several applications. Then update those first, or at least put them into the same "chunk."
 
Old 11-26-2008, 05:54 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
This sounds like you are going to try a yum upgrade to F10. Be aware that this is still officially advised against. A fresh install is still strongly advised with good reasons. Either way you upgrade make certain that you have any critical files backed up.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
query for intsalling fedora ritam_bkp Linux - Newbie 2 10-06-2008 01:22 AM
Fedora 7 general query ehsan_moslemi Linux - Newbie 5 10-17-2007 11:18 AM
I have problem to update with the update function under fedora core 2 babyboss Fedora 4 08-10-2005 08:34 AM
update query jalldridge Linux - Newbie 4 04-07-2005 01:50 PM
write an update query in shell prompt to update the database in sqlserver suchi_s Programming 2 09-29-2004 08:27 AM


All times are GMT -5. The time now is 11:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration