Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd June 2012, 04:55 AM
gurutech Offline
Registered User
 
Join Date: Nov 2008
Location: Central NJ
Posts: 356
windows_7firefox
Upgrading without pre-upgrade

Thought I would post how I was able to upgrade from F15 to F16 without the use of "preupgrade", and some of the obstacles I ran across that I was able to resolve fairly easily. This may not be the best way to do this, but it worked for me, and I'm happy with the results. In a month or so, I plan on doing the same thing again to upgrade to F17...

1.) The first step is to back up all your important data, configuration files, etc... (in other words, the whole system!)
2.) As root, make a new folder called "repoback" and copy all files from /etc/yum.repo.d folder to this new folder (it can be placed anywhere, I placed mine in / )
3.) Modify each of the repo files in the /etc/yum.repo.d folder, one at a time, and change any instance of "$releasever" with the version number you want to upgrade to. I entered "16" since I was currently running 15.)
4.) Within each of these files are different sections, and in each section you will have to replace the "$releasever" with "16" twice (if I remember correctly).
5.) You will also have to edit each line (2 or 3 per file) stating "gpgcheck=1" and replace it with "gpgcheck=0", unless you have imported the GPG Keys for the newer OS version.
6.) After editing each of the files, you will need to update RPM and YUM, using the commands "yum update rpm" and "yum update yum" (in this order).
7.) Once this is complete, run "yum update", and allow it to upgrade your OS.
8.) After this is complete, reboot your system and run another "yum update".
9.) Now, copy back your original repo files on top of (overwrite!) the modified ones from before.

Now, this is where I started having some minor issues. After the reboot, and during the second "yum update", it wouldn't update one application. It happened to be a "chess" game, so it was no big deal, I just did a "yum remove chess", and then the "yum update" and all was fine.

Also, I probably should have rebooted a second time after this, however I did not, and I am seeing some instances of mounted shares not mounting properly, SQL database connection errors, Web service errors, and a couple others. I fixed each of these as they happen, by simply restarting the "offending" service - ie. service httpd restart, or service mysqld restart.

Other than these two minor issues, everything is running smoothly!
Reply With Quote
  #2  
Old 2nd June 2012, 05:04 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,048
linuxfirefox
Re: Upgrading without pre-upgrade

download rpm -fedora-release fedora-release-notes
yum upadate fedora-release...fc...rpm fedora-release-notes...fc17...rpm
yum upgrade
.
.
.
any unresoled packages?
rpm -e badoroldor3rdparty.rpm --test
rpm -e badoroldor3rdparty.rpm
try again
yum upgrade

A piece of cake,
easy as pie.

SJ
__________________
Do the Math

Last edited by SlowJet; 2nd June 2012 at 05:06 AM.
Reply With Quote
Reply

Tags
preupgrade, upgrading

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade stalls after selecting Grub upgrade option Divit11 Installation, Upgrades and Live Media 0 8th May 2012 04:57 AM
'Upgrade' filesystem ext3 to ext4 while upgrading fedora? warkbt Installation, Upgrades and Live Media 2 12th June 2009 02:51 PM
Upgrading FC3 to FC4 with apt-get dist-upgrade philip_w Guides & Solutions (No Questions) 3 15th June 2005 11:11 PM
Upgrade process similar to apt-get dist-upgrade? veganopolis Programming & Packaging 1 8th April 2005 12:39 AM


Current GMT-time: 23:55 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat