Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a écrit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
via /etc/yum.conf or /etc/yum.repos.d/*
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a écrit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Yes, that's ok, but what should I put ?
Derek Tracy a écrit :
via /etc/yum.conf or /etc/yum.repos.d/*
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a écrit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Tue, 2007-03-27 at 19:26 +0200, Luc MAIGNAN wrote:
Yes, that's ok, but what should I put ?
Basically, go through each repo file in /etc/yum.repos.d and where ever you see the string "$releasever", replace it with the single character "6".
Derek Tracy a écrit :
via /etc/yum.conf or /etc/yum.repos.d/*
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a écrit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens@internap.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Perseverance: When you're too damned stubborn to say "I quit!" - ----------------------------------------------------------------------
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Yes, that's ok, but what should I put ?
The URLs for the FC6 repositories. If you don't know what those are, here are things that you can do:
1) Search the mailing list archives. This subject has been covered several times before. Tip: use Google.
2) Search the topic at Fedora Forums, http://www.fedoraforum.org .
3) Search the Fedora Project Wiki's FAQ: http://fedoraproject.org/wiki/FAQ
4) Make life easy for yourself. Back up important user files, download the CD/DVD, and perform new install.
By the way, my experience is that step 4 is faster.
Derek Tracy a écrit :
via /etc/yum.conf or /etc/yum.repos.d/*
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a Ã(c)crit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Luc MAIGNAN wrote:
Yes, that's ok, but what should I put ?
Since you are top posting I will too. Perhaps you will see this before you trash your FC4 install.
You only need to install the package named fedora-release-6-4.noarch.rpm
This will set your repos variable to FC6. Then go to init level 3.
yum clean all
yum check-update - will show you *all* the packages to update
yum update - then answer yes when prompted will do the update.
*Remember* - *important* - You should do this in init 3 to avoid a 'crash' about half way through that can leave multiple versions listed in your rpm database.
If all goes well you should have a FC6 when you are finished. You will most likely have some things to fix though.
Derek Tracy a écrit :
via /etc/yum.conf or /etc/yum.repos.d/*
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Ok but how can I modify my repo to match FC6 ones ?
Derek Tracy a écrit :
You should just have to modify your repos to match FC6 repos and you will actually want to run
yum upgrade
Somebody correct me if I am wrong.
On 3/27/07, Luc MAIGNAN luc.maignan@winxpert.com wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Tuesday 27 March 2007 11:05:07 Luc MAIGNAN wrote:
Hi,
how can I setup yum to upgrade my FC4 to an FC6 using yum update ?
BR
This is a very helpful link:
http://fedoraproject.org/wiki/YumUpgradeFaq#head-046d8b21e4b28db2ccfc1686482...
However I recommend you to do first a FC4 -> FC5 upgrade, rather than the FC4 -> FC6 jump.
best regards
Teo FOnrouge
On Tuesday 27 March 2007 6:41:37 pm Rick Stevens wrote:
On Tue, 2007-03-27 at 19:26 +0200, Luc MAIGNAN wrote:
Yes, that's ok, but what should I put ?
Basically, go through each repo file in /etc/yum.repos.d and where ever you see the string "$releasever", replace it with the single character "6".
Bad advice, as this hardcodes your version number to 6...
better to do as another has suggested and to install fedora-release-6-4.noarch.rpm which updates your $releasever to 6. Then with 'yum update' the fun will start....
I suggest you backup your data first if you do this. A FC(n) ->FC(n+1) is reasonable but still not really recommended, normally it works for most people. FC(n) -> FC(n+2) is not so well tested...
Chris
On 3/27/07, Chris Jones jonesc@hep.phy.cam.ac.uk wrote:
I suggest you backup your data first if you do this. A FC(n) ->FC(n+1) is reasonable but still not really recommended, normally it works for most people. FC(n) -> FC(n+2) is not so well tested...
Look for the thread named "Direct Update FC 1 -> FC6" on this list not long ago. It has many opinions in there.
The summary of my opinion: Small jumps Fn->Fn+1,2: Fastest is rpm -Uvh release.rpm directly to the version you want, yum update in runlevel 3, inevitable cleanup. Medium jumps Fn->Fn+2,3: Fastest is Anaconda to upgrade in one version increments + minimal cleanup at each step. Large jumps Fn->Fn+4+: Fastest is backup, reinstall, then restore important personal data and settings.
This is flexible based on your ability to "cleanup" manually to possibly get X working and get all the new config files in place ... something that the anaconda updater makes a good effort to do for you. If you have lots of experience doing this sort of thing, add some jumps to each category. If you are a Linux-noob, subtract some jumps off each category such that yum might not even be an option for a complete neophyte.
/Mike
David Boles wrote:
Luc MAIGNAN wrote:
Yes, that's ok, but what should I put ?
Since you are top posting I will too. Perhaps you will see this before you trash your FC4 install.
You only need to install the package named fedora-release-6-4.noarch.rpm
This will set your repos variable to FC6. Then go to init level 3.
yum clean all
yum check-update - will show you *all* the packages to update
yum update - then answer yes when prompted will do the update.
*Remember* - *important* - You should do this in init 3 to avoid a 'crash' about half way through that can leave multiple versions listed in your rpm database.
If all goes well you should have a FC6 when you are finished. You will most likely have some things to fix though.
I went from FC4 to FC6 in January. In February, I hosed the upgrade and did a clean install. I just couldn't fix all the outstanding issues. There are a lot of changes that made things worse.
There are many applications that I was running in FC4 that I still have not found for FC6 in rpm form. There were some FC4 binaries left all over the place as well as some broken links.
It also took a very very long time to do, almost all day. A clean install was under an hour plus the updates.
I was planning on doing the FC4 to FC6 at home but have since decided that I will wait for FC7 and do a clean install.
Now, it may be different if you do not use any other repositories than core and extras.
My upgrade did work okay for those applications that were upgraded so you will have to make your choice.
Robin Laing wrote:
There are many applications that I was running in FC4 that I still have not found for FC6 in rpm form.
Such as ...
It also took a very very long time to do, almost all day. A clean install was under an hour plus the updates.
How exactly did you do the upgrade? Did you run the installation CD, and choose "upgrade"? I don't think this should have taken all day, or indeed more time than a clean install and update.
On 3/28/07, Timothy Murphy tim@birdsnest.maths.tcd.ie wrote:
Robin Laing wrote:
There are many applications that I was running in FC4 that I still have not found for FC6 in rpm form.
Such as ...
It also took a very very long time to do, almost all day. A clean install was under an hour plus the updates.
How exactly did you do the upgrade? Did you run the installation CD, and choose "upgrade"? I don't think this should have taken all day, or indeed more time than a clean install and update.
Yes, it does take a long time. My systems have almost every package is selected for installation. Upgrading just from FC5 to FC6 took about forever. This is especially apparent when a system has the mimimum (256MB) amount of recommended memory. You can see the hard drive being accessed all the time while the DVD drive sits idle.
IMHO, this is probably due to use of an inefficient algorithm for processing the packages. Smart package manager had a similar problem until they changed algorithms.
Timothy Murphy
Kam Leo wrote:
Yes, it does take a long time. My systems have almost every package is selected for installation. Upgrading just from FC5 to FC6 took about forever. This is especially apparent when a system has the mimimum (256MB) amount of recommended memory. You can see the hard drive being accessed all the time while the DVD drive sits idle.
I upgraded and installed FC5-FC6 on the same (450MHz PIII) machine, and did not notice any great difference in time.
IMHO, this is probably due to use of an inefficient algorithm for processing the packages. Smart package manager had a similar problem until they changed algorithms.
I assumed upgrade and clean install both use yum. Is that incorrect?
On 3/28/07, Timothy Murphy tim@birdsnest.maths.tcd.ie wrote:
Kam Leo wrote:
Yes, it does take a long time. My systems have almost every package is selected for installation. Upgrading just from FC5 to FC6 took about forever. This is especially apparent when a system has the mimimum (256MB) amount of recommended memory. You can see the hard drive being accessed all the time while the DVD drive sits idle.
I upgraded and installed FC5-FC6 on the same (450MHz PIII) machine, and did not notice any great difference in time.
IMHO, this is probably due to use of an inefficient algorithm for processing the packages. Smart package manager had a similar problem until they changed algorithms.
I assumed upgrade and clean install both use yum. Is that incorrect?
Yes, yum is used. However, the amount of memory installed plays a big difference in performance. That is why I made the reference to smartpm. Before changing algorithms smart-0.28 took hours to update its cache. This is on a 450 MHz K6-2 system with 256 MB RAM (maximum supported by motherboard). The developers changed algorithms and, now, smart-0.4+ has improved to the point where I choose it over yum for upgrading my system.
How much memory do you have installed in that system? If you can, try putting just 256MB of RAM in that machine. Then you'll see how much system performance suffers.
Timothy Murphy
On Tue, 2007-03-27 at 19:51 +0100, Chris Jones wrote:
I suggest you backup your data first if you do this. A FC(n) ->FC(n+1) is reasonable but still not really recommended, normally it works for most people. FC(n) -> FC(n+2) is not so well tested...
I wouldn't think of doing it at all. An upgrade just from one level to the next is an iffy proposition. Just one bleep or bloop on your net-connected massive yum session might leave you crippled and broken past the point of reasonable recovery. Ordering a set from one of the software houses is almost as cheap as buying blank CD's. Or, ask one of your friends that use Fedora to send you copies. That's what I did! <chuckles> At least you'd have the tools to recover with and could install from the CD's, if the upgrade fails. YMMV, but I'd prepare in advance for catastrophe. Most guys that have an upgrade session fail will report almost a week's worth of work to recover. I did that once, never again. Ric
On Wed, 2007-03-28 at 16:29 +0100, Timothy Murphy wrote:
Robin Laing wrote:
There are many applications that I was running in FC4 that I still have not found for FC6 in rpm form.
Such as ...
It also took a very very long time to do, almost all day. A clean install was under an hour plus the updates.
How exactly did you do the upgrade? Did you run the installation CD, and choose "upgrade"? I don't think this should have taken all day, or indeed more time than a clean install and update.
Oh no, me Irish Colleague. With a clean install there is no dependency Hell. It's spun to your harddrive as fast as the transfer can go from the CD device. With an upgrade, rpm is blowing it's lungs out deciding what and what not to do. That takes almost as much time as a clean install. (About one hour at most) Just a plain ole nightly yum update can take hours. and fails more than it works due to some obscure depend. Ric
Ric Moore wrote:
On Tue, 2007-03-27 at 19:51 +0100, Chris Jones wrote:
I suggest you backup your data first if you do this. A FC(n) ->FC(n+1) is reasonable but still not really recommended, normally it works for most people. FC(n) -> FC(n+2) is not so well tested...
I wouldn't think of doing it at all. An upgrade just from one level to the next is an iffy proposition. Just one bleep or bloop on your net-connected massive yum session might leave you crippled and broken past the point of reasonable recovery. Ordering a set from one of the software houses is almost as cheap as buying blank CD's. Or, ask one of your friends that use Fedora to send you copies. That's what I did! <chuckles> At least you'd have the tools to recover with and could install from the CD's, if the upgrade fails. YMMV, but I'd prepare in advance for catastrophe. Most guys that have an upgrade session fail will report almost a week's worth of work to recover. I did that once, never again. Ric
That's fine and dandy, except that I've tried twice to upgrade from FC5 to FC6 with two different sets of CDs. In both cases the .iso files and the CDs verified successfully, but the install crashed just before the end of the first CD with an error related to a lock file. (I misremember the exact message, but it was the same both times I tried.) In both cases, it left me with an unrecoverably trashed system. However rather than taking a week or more to straighten out, it took 1 1/2 days. A day to reinstall FC5, and about 12 hours to let YUM reapply all the updates. I'm now waiting for FC7 to see if it's any better, but I'm not really optimistic. Maybe I'll give kubuntu a try next. Gordon
On Wed 28 Mar 2007, Ric Moore wrote:
Just a plain ole nightly yum update can take hours. and fails more than it works due to some obscure depend. Ric
That's not my experience. I run "yum update" on several machines every day, and I would say it fails 1 time in 30-50.
Timothy Murphy wrote:
Robin Laing wrote:
There are many applications that I was running in FC4 that I still have not found for FC6 in rpm form.
Such as ...
Not all of them come from the Fedora team.
I would have to go through all my lists but the one that is causing me problems is gimp-gap at this time. Some of the DVD software was not available when I installed either.
I don't have a just application list at this time. When I did the clean install, I only installed the desktop I then installed other applications. At that time the number of packages that were different from the original install were 958 rpms including libs. Now some of the original packages from the FC4 system have been merged with newer packages and some are not needed due to different packages.
This was one of the problems with the upgrade. Packages couldn't be found by Anaconda. This is why I stated that using only the Fedora repositories may mean that an upgrade will go better.
It also took a very very long time to do, almost all day. A clean install was under an hour plus the updates.
How exactly did you do the upgrade? Did you run the installation CD, and choose "upgrade"? I don't think this should have taken all day, or indeed more time than a clean install and update.
It was an upgrade from the DVD using Anaconda. I also use other repositories so getting updates from them were problematic as some don't exist. Used the same DVD for the clean install on a new harddrive.
As many packages required going out to the Internet to get newer versions, this slowed things down.
On Wed, 2007-03-28 at 15:59 -0400, Gordon Keehn wrote:
Ric Moore wrote:
On Tue, 2007-03-27 at 19:51 +0100, Chris Jones wrote:
I suggest you backup your data first if you do this. A FC(n) ->FC(n+1) is reasonable but still not really recommended, normally it works for most people. FC(n) -> FC(n+2) is not so well tested...
I wouldn't think of doing it at all. An upgrade just from one level to the next is an iffy proposition. Just one bleep or bloop on your net-connected massive yum session might leave you crippled and broken past the point of reasonable recovery. Ordering a set from one of the software houses is almost as cheap as buying blank CD's. Or, ask one of your friends that use Fedora to send you copies. That's what I did! <chuckles> At least you'd have the tools to recover with and could install from the CD's, if the upgrade fails. YMMV, but I'd prepare in advance for catastrophe. Most guys that have an upgrade session fail will report almost a week's worth of work to recover. I did that once, never again. Ric
That's fine and dandy, except that I've tried twice to upgrade fromFC5 to FC6 with two different sets of CDs. In both cases the .iso files and the CDs verified successfully, but the install crashed just before the end of the first CD with an error related to a lock file. (I misremember the exact message, but it was the same both times I tried.) In both cases, it left me with an unrecoverably trashed system. However rather than taking a week or more to straighten out, it took 1 1/2 days. A day to reinstall FC5, and about 12 hours to let YUM reapply all the updates. I'm now waiting for FC7 to see if it's any better, but I'm not really optimistic. Maybe I'll give kubuntu a try next.
I've got friends using kubuntu reporting the same thing. :) Ric