{"id":4339,"date":"2013-03-23T12:33:45","date_gmt":"2013-03-23T16:33:45","guid":{"rendered":"http:\/\/starlightcascade.ca\/blog\/?p=4339"},"modified":"2013-03-24T08:58:49","modified_gmt":"2013-03-24T12:58:49","slug":"linux-fedora-16-upgrade","status":"publish","type":"post","link":"https:\/\/starlightcascade.ca\/blog\/2013\/03\/linux-fedora-16-upgrade\/","title":{"rendered":"Linux Fedora 16  upgrade fail"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2012\/08\/fedora-penguin.png\" align=right><br \/>\n<a href=\"http:\/\/fedoraproject.org\/\" target=\"_blank\"> Fedora 16 linux installation<\/a><\/p>\n<p>I have a couple of old linux fedora 16 servers that are now longer supported, and do not get updates any longer.<br \/>\nThey must be upgraded to at least Fedora 17 or better yet, Fedora 18.<\/p>\n<p>I&#8217;ve tried a few times over the last year to upgrade, but always ran into issues that defied troubleshooting, especially on a production server when you have a very tiny window to get the job done and back online again.<\/p>\n<p>This is a log of the issues upgrading the first&#8230; It was a good learning experience and that means the second one should go that much better tomorrow.<\/p>\n<p>11:18 EDT<br \/>\nAs root, in a terminal, run preupgrade-cli for the command line version.  It will tell you what is available and you rerun the command as such:<br \/>\n<em>preupgrade-cli &#8220;Fedora 17 (Beefy Miracle)&#8221;<\/em><\/p>\n<p>1st Major error: can&#8217;t find the file \/etc\/sysconfig\/i18n<br \/>\na bunch of google searchs leads me to create the file manually with a text editor vi<br \/>\nLANG=&#8221;en_US.UTF-8&#8243;<br \/>\nSUPPORTED=&#8221;en_US.UTF-8:en_US:en&#8221;<br \/>\nSYSFONT=&#8221;iatarcyrheb-sun16&#8243;<\/p>\n<p>11:28 EDT<br \/>\nreboot into  fedora16 as root run <em>preupgrade-cli &#8220;Fedora 17 (Beefy Miracle)&#8221;<\/em><br \/>\n11:33  EDT<br \/>\nstart downloads 1.1Gb in 1569 packages<br \/>\n11:53 EDT<br \/>\ncomplete download, reboot choose preupgrade<br \/>\nERROR \/\/anothercomputer\/mountpoint<br \/>\nreboot into fedora16, vi \/etc\/fstab and comment out  external mounts<\/p>\n<p>11:58 EDT<br \/>\nreboot into preupgrade<br \/>\nfails at \/usr merge scripts<br \/>\nsymlinks are the problem, use this command to delete all of the symlinks affecting the \/usr merge<br \/>\n<em>find .\/ -mount  -lname \/etc\/\\* -delete<\/em><\/p>\n<p>12:06 EDT<br \/>\nreboot into preupgrade, gets past \/usr merge script problem!  starting upgrade of 1569 packages<\/p>\n<p>12:23 EDT about 50% done<br \/>\n12:33 EDT about 66% done<br \/>\n12:49 EDT completed&#8230; now in cleanup phase<br \/>\n13:05 restart into Fedora 17. Yay!<br \/>\n13:10 revise the yay to an &#8220;oh crap&#8221;.  The boot progress indicator sticks near 100%, it is not pingable from the outside and it just doesn&#8217;t work.<br \/>\nsee a typo in the i18n file from before, boot from a fedora 17 live cd and mount and edit the file,<br \/>\nrestart again&#8230; the edit does not seem to have stuck.<br \/>\nok.  shut down, put in the backup drive cloned earlier in the morning and call it a day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fedora 16 linux installation I have a couple of old linux fedora 16 servers that are now longer supported, and do not get updates any longer. They must be upgraded to at least Fedora 17 or better yet, Fedora 18. I&#8217;ve tried a few times over the last year to upgrade, but always ran into [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-4339","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/4339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/comments?post=4339"}],"version-history":[{"count":0,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/4339\/revisions"}],"wp:attachment":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/media?parent=4339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/categories?post=4339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/tags?post=4339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}