LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora upgrade 10 --> 12 (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-upgrade-10-12-a-851069/)

jonaskellens 12-18-2010 09:57 AM

Fedora upgrade 10 --> 12
 
It should be possible to upgrade Fedora 10 to 11, and then to 12.

The guide tells to update rpm, and then upgrade to Fedora 11.

But :

Code:

[root@webserver ~]# yum update rpm
Loaded plugins: refresh-packagekit
fedora                                                                                                                              | 2.8 kB    00:00   
fedora/primary_db                                                                                                                    | 6.6 MB    00:07   
updates                                                                                                                              | 3.4 kB    00:00   
updates/primary_db                                                                                                                  | 4.8 MB    00:05   
Setting up Update Process
No Packages marked for Update

and :

Code:

[root@webserver ~]# rpm --version
RPM version 4.6.1

I think I need version 4.7.1-1, but I don't know how to get it.

acid_kewpie 12-18-2010 09:58 AM

Why are you trying to upgrade to an out dated system? Really would not recommend it. If you do want to though, just search for the rpm manually, google it etc.

JoshyJ 12-18-2010 10:05 AM

If I were you I would do a fresh install since you are trying to get from version A to version C. If you were just upgrading from version A to version B then I would do what your doing.

snowday 12-18-2010 10:07 AM

Fedora 14 is the current release; Fedora 12 is obsolete.

Back up your data and do a fresh install of 14 is my recommendation.

Fedora is a fast-moving distro with a new release every 6 months and only 13 months of support. If that's too fast for you, you might consider a distro like CentOS that has many years of support for each release.

ilvista 12-18-2010 10:54 AM

you can do a fresh install of fedora 14,or use preupgrade to upgrade your system.
don't forget to backup your data
http://fedoraproject.org/wiki/PreUpgrade

i used preupgrade to upgrade from 8 directly to 14,it worked just fine.but i did the back up.
if it's a remote server you're going to loose the ssh access after the upgrade.

jonaskellens 12-18-2010 11:22 AM

Quote:

Originally Posted by ilvista (Post 4195940)
you can do a fresh install of fedora 14,or use preupgrade to upgrade your system.
don't forget to backup your data
http://fedoraproject.org/wiki/PreUpgrade

i used preupgrade to upgrade from 8 directly to 14,it worked just fine.but i did the back up.
if it's a remote server you're going to loose the ssh access after the upgrade.

Yes preupgrade did the trick. Thanks

jonaskellens 12-18-2010 02:15 PM

I have 1 problem after upgrade :

Code:

[root@webserver ~]# /sbin/service httpd start
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
                                                          [FAILED]


acid_kewpie 12-18-2010 02:37 PM

Quote:

Originally Posted by jonaskellens (Post 4196134)
I have 1 problem after upgrade :

Code:

[root@webserver ~]# /sbin/service httpd start
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
                                                          [FAILED]


Ok, so what have you done to attempt to rectify this issue?

jonaskellens 12-19-2010 04:05 AM

Quote:

Originally Posted by acid_kewpie (Post 4196153)
Ok, so what have you done to attempt to rectify this issue?

What do you mean by "rectify this issue" ?

What I have tried is :

Code:

yum provides *mod_file_cache.so*
Code:

yum provides *file_cache*
Code:

yum provides *mod_file*
But there is no package providing mod_file_cache.so

ilvista 12-19-2010 04:07 AM

check the httpd version
Code:

rpm -q ntp
you may see the previous version is still there.
the best way is to use yum to remove and install httpd.

good luck

ilvista 12-19-2010 04:08 AM

Code:

rpm -q httpd
to see the version

jonaskellens 12-19-2010 01:51 PM

I don't think I have 2 versions :

Code:

[root@webserver ~]# rpm -qa | grep httpd
httpd-manual-2.2.15-1.fc11.1.i586
httpd-2.2.15-1.fc11.1.i586
httpd-tools-2.2.15-1.fc11.1.i586
[root@webserver ~]#


John VV 12-19-2010 03:51 PM

so you DID use preupgrade to install fedora 14 ????
well if you did it did not work you now have a Frankensteined machine - some fedorea 14 some fedora 11
Quote:

httpd-2.2.15-1.fc11.1.i586
is still installed UNINSTALL ALL fedora 11 rpms !!!!!!!!!!!!!!!!
and reinstall them with fedora 14 rpms!!!!!!!!!

Code:

rpm -qa | grep fc11
remove ALL fedora11 repos in yum.d
and reinstall every and all in that list from above with the fedora 14 packages .

to get a list of the repos on the system
Code:

yum repolist all
this is one of the main reasons i recomend doing a full 100% clean install after a reformat
going from fedora 11 to 14 MIGHT work sometimes for some installs ??? but IS NOT and it has NEVER been recommended . Even skip 1 version is and has never been recommended let alone 3 versions.

ilvista 12-19-2010 04:10 PM

you still have the old httpd
i'm running fedora 14
Code:

[root@benchabane benchabane]# rpm -qa|grep  httpd
httpd-tools-2.2.17-1.fc14.i686
httpd-2.2.17-1.fc14.i686

try to remove the old one and get the new one .

jonaskellens 12-20-2010 01:29 AM

I've just upgraded from Fedora 10 to Fedora 11... Where did I said I upgraded to Fedora 14 ?

So I have the right httpd-package for Fedora 11... But I'm getting the error when starting the http-deamon.


All times are GMT -5. The time now is 11:37 PM.