LinuxQuestions.org
Review your favorite Linux distribution.
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 12-18-2010, 09:57 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Rep: Reputation: 34
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.
 
Old 12-18-2010, 09:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 12-18-2010, 10:05 AM   #3
JoshyJ
Member
 
Registered: Nov 2003
Location: Sydney , Australia
Distribution: Fedora
Posts: 49

Rep: Reputation: 1
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.
 
Old 12-18-2010, 10:07 AM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.
 
Old 12-18-2010, 10:54 AM   #5
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
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.
 
Old 12-18-2010, 11:22 AM   #6
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by ilvista View Post
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
 
Old 12-18-2010, 02:15 PM   #7
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
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]
 
Old 12-18-2010, 02:37 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by jonaskellens View Post
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?
 
Old 12-19-2010, 04:05 AM   #9
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by acid_kewpie View Post
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
 
Old 12-19-2010, 04:07 AM   #10
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
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
 
Old 12-19-2010, 04:08 AM   #11
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
Code:
 rpm -q httpd
to see the version
 
Old 12-19-2010, 01:51 PM   #12
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
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 ~]#
 
Old 12-19-2010, 03:51 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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.
 
Old 12-19-2010, 04:10 PM   #14
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
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 .
 
Old 12-20-2010, 01:29 AM   #15
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
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.
 
  


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
LXer: How To Upgrade From Fedora 12 To Fedora 13 (Desktop & Server) LXer Syndicated Linux News 0 05-28-2010 03:30 PM
[SOLVED] Upgrade fedora 1 to fedora 8; problem with dual boot mounting partition. alan sherwood Linux - Newbie 6 05-19-2010 06:31 PM
LXer: How To Upgrade From Fedora 11 To Fedora 12 (Desktop & Server) LXer Syndicated Linux News 0 11-25-2009 06:50 PM
Can't install Fedora 11 directly, or upgrade from Fedora 10. Anaconda won't detect HD sheepy Fedora - Installation 11 10-06-2009 08:11 AM
LXer: How To Upgrade From Fedora 10 To Fedora 11 (Desktop & Server) LXer Syndicated Linux News 0 06-15-2009 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 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
Open Source Consulting | Domain Registration