{"id":24935,"date":"2015-11-04T14:44:50","date_gmt":"2015-11-04T12:44:50","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=24935"},"modified":"2015-11-04T14:44:50","modified_gmt":"2015-11-04T12:44:50","slug":"fedora-23-and-upgrade-issues","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2015\/11\/04\/fedora-23-and-upgrade-issues\/","title":{"rendered":"Fedora 23 and upgrade issues"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24937\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2015\/11\/04\/fedora-23-and-upgrade-issues\/fedora\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora.jpg?fit=945%2C400&amp;ssl=1\" data-orig-size=\"945,400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"fedora\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora.jpg?fit=660%2C279&amp;ssl=1\" class=\"aligncenter size-medium wp-image-24937\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora-500x212.jpg?resize=500%2C212&#038;ssl=1\" alt=\"fedora\" width=\"500\" height=\"212\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora.jpg?resize=500%2C212&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/11\/fedora.jpg?w=945&amp;ssl=1 945w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/fedoramagazine.org\/fedora-23-released\/\">Fedora 23<\/a> has been released yesterday, and as a big fan and a long time user I had to upgrade my laptop (from Fedora 22) immediately. \u00a0Or at least try.<\/p>\n<p>Usually, the process is quite simple and doesn&#8217;t take much figuring out. \u00a0This time it was somewhat different though. \u00a0At first, the <a href=\"http:\/\/fedoraproject.org\/wiki\/DNF_system_upgrade#How_do_I_use_it.3F\">recommended upgrade command<\/a> changed slightly from the nice and simple <em>fedup<\/em> to <em>dnf system-upgrade<\/em>.<\/p>\n<p>The first attempt downloaded all packages, ended with a cryptic error along the lines of &#8220;<em>No updates for kernel packages were found<\/em>&#8220;. \u00a0Hmm, weird. \u00a0I thought maybe this was caused by me forgetting to run &#8220;<em>dnf update<\/em>&#8221; before the upgrade process. \u00a0So I did. \u00a0Some updates were installed, but there were no kernel packages among them. \u00a0I rebooted the laptop just in case.<\/p>\n<p>The second attempt for some reason failed to find any of the previously downloaded packages, so I had to wait until the almost 2 GB get pulled down again. \u00a0Result &#8211; same error about missing kernel updates. \u00a0Hmm, again.<\/p>\n<p>After poking around for a bit, I realized that I had previously configured <em>yum<\/em> to exclude some packages from updates (kernel, kmod-wl, kmod-VirtualBox, and VirtualBox). \u00a0These settings were picked up by <em>dnf<\/em>. \u00a0Editing both <em>\/etc\/yum.conf<\/em> and <em>\/etc\/dnf\/dnf.conf<\/em> to disable the exclude fixed the issue. \u00a0&#8220;<em>dnf update<\/em>&#8221; now pulled some updates to the kernel. \u00a0Another reboot.<\/p>\n<p>The third attempt once again lost all the downloaded packages and I had to wait some more. \u00a0This was annoying, especially at 1am now. \u00a0The process of downloading finished OK and this time there was no errors. \u00a0So &#8220;<em>dnf system-upgrade reboot<\/em>&#8221; should do the trick now, right? \u00a0Wrong!<\/p>\n<p>Surprisingly, there was no boot menu for system upgrade upon reboot. \u00a0So I went with Fedora 22 boot option. \u00a0Which resulted in a brief screen saying &#8220;<em>Preparing for upgrade<\/em>&#8220;. \u00a0Which then disappeared and the system booted back into Fedora 22. \u00a0Now that was interesting.<\/p>\n<p>It took me a while to find the issue. \u00a0The problem was that my Fedora 22 laptop wasn&#8217;t a clean install, but an upgrade from Fedora 21. \u00a0That shouldn&#8217;t be a problem, but it is, due to <a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=1214783\">this bug<\/a>. \u00a0My <em>\/etc\/os-release<\/em> file didn&#8217;t have the VARIANT and VARIANT_ID variables (thanks to <a href=\"http:\/\/www.unixmen.com\/fedora-23-beta-is-out-upgrade-to-fedora-23-from-fedora-22\/\">this blog<\/a>). \u00a0So after adding these lines:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nVARIANT=&quot;Workstation Edition&quot;\r\nVARIANT_ID=workstation\r\n<\/pre>\n<p>I&#8217;ve rebooted once again, and started the fourth attempt. \u00a0Downloaded packages were gone once again, so I had to wait a bit more. \u00a0This time the faster office Internet connection helped to save some time. \u00a0Download finished OK. Another reboot. \u00a0Once again, there is no option to upgrade Fedora, so I&#8217;m going into Fedora 22 boot. \u00a0Finally, now there is the upgrade screen! \u00a0After some preparation time, the packages were installed, the machine rebooted, and now I&#8217;m Fedora 23 user.<\/p>\n<p>Checking my <em>\/etc\/os-release<\/em> file I see that both variant variables are gone now. \u00a0This feels weird, but hopefully won&#8217;t cause issues in the future. \u00a0If it will, I&#8217;ll probably Google for three hours before finding this very blog post.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>&nbsp; Fedora 23 has been released yesterday, and as a big fan and a long time user I had to upgrade my laptop (from Fedora 22) immediately. \u00a0Or at least try. Usually, the process is quite simple and doesn&#8217;t take much figuring out. \u00a0This time it was somewhat different though. \u00a0At first, the recommended upgrade &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2015\/11\/04\/fedora-23-and-upgrade-issues\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fedora 23 and upgrade issues<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Fedora 23 and upgrade issues #fedora #linux","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,133,62],"tags":[2351],"keyring_services":[],"class_list":["post-24935","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-sysadmin","category-technology","tag-fedora-linux"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":42578,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/05\/02\/fedora-30\/","url_meta":{"origin":24935,"position":0},"title":"Fedora 30","author":"Leonid Mamchenkov","date":"May 2, 2019","format":false,"excerpt":"Fedora 30 has been released a few days ago. In the long list of changes, the most interesting to me are: Upgrade to Bash 5Upgrade to PHP 7.3 (more specifically 7.3.4)Deprecation of \/etc\/sysconfig\/nfs in favor of \/etc\/nfs.conf I've already upgraded my laptop to this version and everything seems to work\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/05\/fedora30.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":27794,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/07\/24\/fedora-26-update\/","url_meta":{"origin":24935,"position":1},"title":"Fedora 26 Update","author":"Leonid Mamchenkov","date":"July 24, 2017","format":false,"excerpt":"Fedora 26 has been release about a month and a half ago. \u00a0But I didn't have the time to update my laptop until today. \u00a0There was also nothing particularly exciting for me in this release, so there was no rush. Here's what I had to do today to update my\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26947,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/24\/fedora-25\/","url_meta":{"origin":24935,"position":2},"title":"Fedora 25","author":"Leonid Mamchenkov","date":"November 24, 2016","format":false,"excerpt":"I've just upgraded my laptop to Fedora 25. \u00a0The upgrade process was a breeze (as per instructions from this article): [code light=\"true\"] sudo su - dnf upgrade --refresh dnf install dnf-plugin-system-upgrade dnf system-upgrade download --releasever=25 dnf system-upgrade reboot [\/code] About 2,500 packages (1 GB and some) were downloaded in about\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10903,"url":"https:\/\/mamchenkov.net\/wordpress\/2007\/11\/14\/going-for-fedora-8\/","url_meta":{"origin":24935,"position":3},"title":"Going for Fedora 8","author":"Leonid Mamchenkov","date":"November 14, 2007","format":false,"excerpt":"A new version of my favorite Linux distribution has been released recently - Fedora 8.\u00c2\u00a0 I got my hands on the installation DVD (thanks bro!) and tried it straight away. It didn't go very well - the installation was hanging up during dependencies check.\u00c2\u00a0 I thought maybe it was something\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19001,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/12\/18\/upgrading-to-fedora-20\/","url_meta":{"origin":24935,"position":4},"title":"Upgrading to Fedora 20","author":"Leonid Mamchenkov","date":"December 18, 2013","format":false,"excerpt":"Well, last night I spent a bit more time than I expected trying to upgrade to Fedora 20. \u00a0 The standard recommended way is: [code lang=\"shell\" light=\"true\"] yum install fedup fedup --network 20 [\/code] I tried that and it seemed to be working OK. \u00a0My laptop spent a while downloading\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12094,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/01\/27\/fedora-linux-history-tour\/","url_meta":{"origin":24935,"position":5},"title":"Fedora Linux history tour","author":"Leonid Mamchenkov","date":"January 27, 2010","format":false,"excerpt":"Last weekend I went through a somewhat lengthy process of upgrading one of my servers from Fedora 6 to Fedora 12. \u00a0The server is vital for a company that uses it, there is more than 2 TBytes of data on that machine, and I only had a weekend to go\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/01\/fedora_logo.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/24935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=24935"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/24935\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=24935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=24935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=24935"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=24935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}