LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fedora update query (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-update-query-686381/)

ritam_bkp 11-26-2008 10:39 AM

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???

sfjoe 11-26-2008 02:34 PM

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 ' '

PTrenholme 11-26-2008 03:47 PM

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."

lazlow 11-26-2008 04:54 PM

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.


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