Solved

upgrading linux

Posted on 2013-12-08
3
455 Views
Last Modified: 2013-12-31
I have fedora 18 (Kernel 3.6)

Is there a way to do command line to upgrade to latest Fedora 19 (that comes with Kernel 3.8)?

Or do I have to download the source, compile it, build rpm etc....Is there any instructions to upgrade from fedora 18 to fedora 19?
0
Comment
Question by:perlperl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39704591
You can issue a yum update, and it will upgrade to the latest release and kernel.

Only compile by hand if you are comfortable troubleshooting compile errors.
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 39704689
Yum update won't update to a newer version of fedora. But you should run yum update to first make sure your system is completely up-to-date, and after some further preparation you can use yum for the upgrade. The Link below shows you all the steps you need to do for this:

http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum

There is also another way, with a special tool, "FedUp". This is probably easier and the recommended method. The link for this is here:

http://fedoraproject.org/wiki/FedUp

Of course for both ways, you should keep in mind that if you ever installed any software not through yum via the fedora repositories, but rather manually, you'll probably have problems with that software, and may have to install that again. Of course making backups prior to the upgrade will also help.
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39711261
I second rindi,

FedUp is the way to upgrade Fedora from 17 onwards. Using YUM is generally not recommended any more.
You can easily install fedup with yum and run it from command line and upgrade directly to any release:
sudo fedup --network 19 # or even 20

Open in new window

It first downloads all the packages and then creates a special upgrade runtime env. FedUp then boots the upgrade kernel and runs the install via YUM.

I have done upgrades with fedup quite a few times and can recommend it.

You might end up having some *.fc18 RPM's still on your system, though f19 is around long enough to have all the packages available. Note, the old packages still work but will be frozen and never be updated until distro-sync'ed:
1. Find fc18 rpms with rpm -qa|grep fc18
2. Upgrade them with yum distro-sync <package-name>
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question