{"id":548,"date":"2006-06-21T19:08:22","date_gmt":"2006-06-22T03:08:22","guid":{"rendered":"http:\/\/www.wiredatom.com\/blog\/?p=548"},"modified":"2006-06-21T19:29:13","modified_gmt":"2006-06-22T03:29:13","slug":"upgrading-to-fedora-core-5","status":"publish","type":"post","link":"https:\/\/www.wiredatom.com\/blog\/2006\/06\/21\/upgrading-to-fedora-core-5\/","title":{"rendered":"Upgrading to Fedora Core 5"},"content":{"rendered":"<p>After having successsfully <a href=\"https:\/\/www.wiredatom.com\/blog\/2006\/06\/14\/the-blast-from-the-past-2\/\">upgraded<\/a> my spared Dell box to Fedora Core 5, I messed up the boot partition and had to do it all over again. So I decided I might as well document it here since the processs wasn&#8217;t quite as smooth as one&#8217;d hope.<\/p>\n<p><strong>UPGRADING FEDORA CORE 4 TO CORE 5 USING YUM<\/strong><br \/>\n1. First, make sure<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>is up to date. If you are going to upgrade your system with it, you might as well make sure the tool is up to pars.<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum -y upgrade yum<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>This is going to download a bunch of other stuff other than<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>. So be patient.<\/p>\n<p>2a. Next, make sure sure your<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>is up to date as well. Or else when you upgrade to FC5, it will throw a bunch of errors like this:<\/p>\n<blockquote>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\">Error: Package initscripts needs kernel &lt; 2.6.12, this is not available.<br \/>\n&nbsp; Error: Package kudzu needs kernel &lt; 2.6.13, this is not available.<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p><\/code><\/p><\/blockquote>\n<p>So here we go:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">&nbsp;yum -y upgrade kernel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>For multi-CPU systems, do the following instead:<br \/>\nme@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum -y upgrade kernel-smp<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>2b. Just to be on the safe side, some packages may need to be removed before upgrading. This script should tell you what needs to go:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">perl -ne 'print &quot;$1\\n&quot; if ((\/Error: Missing Dependency:.*is needed by package (.*)$\/) || (\/Error: Package (.*?) needs.*, this is not available.\/))' \/tmp\/yum_upgrade | sort | uniq<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>3. Reboot. Make sure you boot into the latest<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>or else you are going to have the same problems as I mentioned before.<\/p>\n<p>4a. Now delete any old<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernels<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>you have still on your system. First, let&#8217;s see what&#8217;s there:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm -q kernel kernel-smp kernel-devel kernel-smp-devel | sort<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>4b. Delete old<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernels<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm -e kernel-version-number<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>I read somewhere that you should delete<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernels<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>by using<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>since it also tidies up your bootloader file for you.<\/p>\n<p>Optional: Update<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>packages:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm --rebuilddb<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>5. Now we are ready to get the FC5 upgrade package:<\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\">rpm -Uvh &lt;a href=&quot;http:\/\/download.fedora.redhat.com\/pub\/fedora\/linux\/core\/5\/i386\/os\/Fedora\/RPMS\/fedora-release-5-5.noarch.rpm&quot; target=&quot;_blank&quot;&gt;http:\/\/download.fedora<br \/>\n.redhat.com\/pub\/fedora\/linux\/core\/5\/i386\/os<br \/>\n\/Fedora\/RPMS\/fedora-release-5-5.noarch.rpm&lt;\/a&gt; (this code wraps for cosmetic reasons. But you should copy\/paste this as if it's one unbroken line.)<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>6. Finally. Show time. Let&#8217;s upgrade this puppy&#8230; <\/p>\n<blockquote><p>me@localhost$<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">yum -y upgrade<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/blockquote>\n<p>Now sit tight and wait. This could take a while depending on your Internet connection. It took me roughly 5-7 hours on a moderately fast DSL.<\/p>\n<p>7. Once everything is downloaded and installed, reboot.<\/p>\n<p>8. It&#8217;s probably a good idea to keep your old<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">kernels<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>. But I deleted my FC4 kernels.<\/p>\n<p><strong>INSTALLING VMWARE 5.5.1.x<\/strong><br \/>\nNothing is EVER easy on Linux. The same assumption (and proof) goes to updating VMWare after the FC5 upgrade. VMWare complained about not being able to find &#8220;the directory of C header files&#8221;. To resolve this problem, you must download the<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">&lt;a href=&quot;http:\/\/ftp.cvut.cz\/vmware\/vmware-any-any-update101.tar.gz&quot; target=&quot;_blank&quot;&gt;vmware-any-any-update101.tar.gz&lt;\/a&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>and run it. Everything will hum just fine after this update is applied to VMWare.<\/p>\n<p>Much thanks to: <a href=\"http:\/\/www.brandonhutchinson.com\/Upgrading_Red_Hat_Linux_with_yum.html\" target=\"_blank\">brandonhutchinson.com<\/a> and <a href=\"http:\/\/www.linuxsky.net\/bbs\/viewthread.php?tid=2635&#038;fpage=1&#038;highlight=\" target=\"_blank\">LinuxSky.com<\/a> (Simplified Chinese only)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After having successsfully upgraded my spared Dell box to Fedora Core 5, I messed up the boot partition and had to do it all over again. So I decided I might as well document it here since the processs wasn&#8217;t quite as smooth as one&#8217;d hope. UPGRADING FEDORA CORE 4 TO CORE 5 USING YUM &hellip; <a href=\"https:\/\/www.wiredatom.com\/blog\/2006\/06\/21\/upgrading-to-fedora-core-5\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Upgrading to Fedora Core 5&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10,14,4],"tags":[],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-geek-stuff","category-linuxunix","category-tips-tricks"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p54IqZ-8Q","_links":{"self":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/comments?post=548"}],"version-history":[{"count":0,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/548\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/media?parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/categories?post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/tags?post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}