PDA

View Full Version : yum update 8 -> 9 ?


harrydrip
11th May 2008, 08:52 PM
Will it be possible to do use yum to upgrade from F8 to F9 when it comes out ?
I have always done full reinstalls but I have done alot of work getting 8 the
way I want it and everything working...

thx

Brian1
11th May 2008, 09:23 PM
I ususally download the ISOs and copy the rpms to the drive and use createrepo commnad to create local repo. Then use yum to upgrade from those repos only.

Brian

woden
12th May 2008, 04:13 AM

Yes, it will be possible. Instructions can be found at the Yum Upgrade FAQ here: http://fedoraproject.org/wiki/YumUpgradeFaq

Upgrade using install media covered here: http://docs.fedoraproject.org/install-guide/f8/en_US/index.html

voler
12th May 2008, 05:44 AM
I'm use Fedora 7 on two servers. I want to upgrade them for 8. Can I make local repos too?

woden
13th May 2008, 12:04 AM
I'm use Fedora 7 on two servers. I want to upgrade them for 8. Can I make local repos too?
Да можно вполне, тогда это будет то же самое, что и обновление с помощью yum. Если на серваках нет всякого барахла из сторонних репозиториев, тогда все нормально должно обновиться. Правда я бы все равно устанавливал с нуля, мало ли что. Можно больше времени потратить на починку.
---------------
Of course you can, it won't be different from upgrading through yum. If you didn't install apps from non-official repos, the upgrade process should be fine. But in case of servers I recommend to use fresh install. Just to be sure nothing went wrong.

A.Serbinski
13th May 2008, 12:27 AM
I ususally download the ISOs and copy the rpms to the drive and use createrepo commnad to create local repo. Then use yum to upgrade from those repos only.

Brian
That seems unnecessarily complicated. The disk is already a repo. Just mount it and you're all set.

woden
13th May 2008, 01:41 PM
No, it makes sence in case of servers, which often do not have CD drives and we have two or more almost identical machines.
But I myself come into conclusion that it will be simplier (and cheaper when it conserns time) to buy external DVD drive for upgrades and installs.

darko28
13th May 2008, 08:45 PM
Yes, it will be possible. Instructions can be found at the Yum Upgrade FAQ here: http://fedoraproject.org/wiki/YumUpgradeFaq

Upgrade using install media covered here: http://docs.fedoraproject.org/install-guide/f8/en_US/index.html

I have attempted adding the new repo in order to do the yum upgrade however I get the following message when I do:
[darko28@localhost ~]$ rpm -Uhv ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/fedora-release-*.noarch.rpm
Retrieving ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/fedora-release-9-2.noarch.rpm
Retrieving ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/fedora-release-notes-9.0.0-1.noarch.rpm
error: Failed dependencies:
fedora-release = 8 is needed by (installed) yum-fedorafaq-8-2007.11.12.noarch


Any suggestions?

voler
14th May 2008, 05:02 AM
Remove all package with one you have problem.

nutmac
14th May 2008, 06:33 PM
I am getting:
Missing Dependency: libxklavier.so.11 is needed by package 1:gnome-applets-2.20.1-1.fc8.i386 (installed)
Missing Dependency: libgnomekbd.so.1 is needed by package 1:gnome-applets-2.20.1-1.fc8.i386 (installed)
Missing Dependency: libgnomekbdui.so.1 is needed by package 1:gnome-applets-2.20.1-1.fc8.i386 (installed)
All three dependencies are located under both /usr/lib and /usr/lib64, so I don't know what the problem is.

darko28
14th May 2008, 10:13 PM
Ok so now when I try to do the update it goes through all the repos and at the end it says "No Packages Marked for Update." Any idea what is going on? I am downloading the dvd right now, but it is taking awhile, I would much rather use "yum upgrade" if I can get it to work.

voler
15th May 2008, 05:08 AM
I'll try help you to day. When I come home try to download Fedora 9 and upgrade my notebook. From 8 -> 9.

And posting here all my action

opasveer
15th May 2008, 07:49 AM
At the moment I am upgrading from 8 -> 9 using the 'preupgrade' tool.

$ yum install preupgrade

$ preupgrade &

Select the correct version and keep working while your system goes from 8 to 9 :D

woden
15th May 2008, 12:15 PM
It worth mentioning that "preupgrade" is in the "updates-testing" repository, which must be exclusively enabled to install that package.

darko28
16th May 2008, 12:35 AM
EDIT: Scratch what I had earlier.

Just started running preupgrade, seems to be going fine. Crossing fingers will let you know how it goes. Also it did not require any new repos, just did a "yum search preupgrade" to see if it was available and it was. Installed and ran "preupgrade &" as previously mentioned and it is almost at 50% now.

EDIT:
Ok so me being the "genius" that I am, left my computer running last night to do the preupgrade and when I woke up this morning someone had shut it so it went to sleep. I reopened it and the preupgrade window is greyed out and terminal is reading:
Probing devices to guess BIOS drives. This may take a long time.

Should I shutdown and restart the upgrade or is my system pretty much compromised now?

ccc1005
17th May 2008, 02:57 PM
If you follow the steps on this page you should be able to use yum. Its not finding new packages because its still looking at the core 8 set of files. Hope this helps :)

http://fedoraproject.org/wiki/YumUpgradeFaq#head-3264311536211de5f96564b78ac96fac3d6f6ebe

darko28
17th May 2008, 09:51 PM
I have already attempted using yum, as mentioned in a previous post, and I recieved a "No packages marked for update." message.

ccc1005
17th May 2008, 09:59 PM
I got the same initially then did this step:

3. Switch repositories

Update the packages that decide which yum repositories to use.

*

rpm -Uhv ftp://download.fedora.redhat.com/pub/fedora/linux/releases/<ReleaseNumber>/Fedora/<Arch>/os/Packages/fedora-release-*.noarch.rpm

For Fedora 9, as an example,

*

rpm -Uhv ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/fedora-release-*.noarch.rpm

(The architecture doesn't matter for this noarch package.)

Make sure the new repo files isn't placed as .rpmnew files, perhaps by

*

mv /etc/yum.repos.d/fedora-updates.repo.rpmnew /etc/yum.repos.d/fedora-updates.repo
mv /etc/yum.repos.d/fedora.repo.rpmnew /etc/yum.repos.d/fedora.repo

Also make sure that all the 3rd party repos you normally use point to the repository for the new Fedora release.

voler
22nd May 2008, 05:17 AM
I's download Fedora 9, after I upgrade my Fedora 8 up to 9 with out problem. But before I'm uninstall programs from other repositories.

But after upgrade I's found not good things.
1. When shutdown Fedora 9 I didn't see how services stopping, it is not good.
2. Logon screen is not good.

darko28
22nd May 2008, 09:21 PM
I believe the not seeing services is part of Fedora 9, because I do not see services stopping, but my computer is running fine, minus a few other issues that I am working to resolve. The login screen issue I am not so sure, possibly you had a custom login screen from Fedora 8 that is not compatible with Fedora 9?