[Helpdesk] How to fix the Mint 17.3 to 18.0 Upgrade if it goes wrong


 Share

Recommended Posts

[Note: I've taken my post from the earlier thread regarding Linux Mint 18 Beta and created a new thread for it so that it can be easily found.]

 

If you're upgrading from 17.3 to 18.0 and the process stops with a package upgrade failure of any kind you'll need to do the following or you'll end up with a broken installation. Please keep in mind that the Linux Mint Developers are almost begging users to backup their data and perform clean installs instead of upgrading due to all of the issues people are running into. The following instructions will help mitigate most of those issues, but not all of them.

 

Step 1: Force-install everything queued up for the upgrade.

sudo apt-get install -a -f -y

This command will force all packages in the queue to install (even ones that have already installed -- and no, it won't hurt anything) and to automatically say "yes" to any prompts that appear -- otherwise you'll be sitting for half an hour (or longer) waiting for perhaps the ten of them that could have been handled automatically.

 

After that paint-drying session, you'll need to move on to Step 2.

sudo apt-get dist-upgrade

"Didn't we just do this?" Nope. This will handle the remaining stray packages. Shouldn't take long. Mine took less than two minutes. Better safe than sorry.

 

Step 3: My Cinnamon DE was completely hosed. It needed to be reinstalled. You can verify whether yours is hosed or not yourself by seeing if MDM lists it as "Cinnamon.desktop" or simply as "Cinnamon". If you've only got Cinnamon and it's showing the entry as a .desktop file, you'll need to drop to the Failsafe Mode (if it's available, or a command shell if it isn't) and do the next step.

sudo apt-get install mint-meta-cinnamon

This will install whatever is messed up with Cinnamon, but more importantly it'll perform the configuration stuff that Cinnamon needs to get back up and running. Tweak the above instructions for MATE as needed. Chances are you know what you need to do already in that case. (XFCE installs seem to be functionally okay-ish, but my Desktop launchers had their icon labels off-position relative to their shading.)

 

Step 4: Next, reboot the system and make sure stuff is working. Things will be unsettled, so this reboot is going to take a bit. Don't panic. It'll get there eventually. 2-3 minutes on my system. Your results will vary.

 

Step 5: Log in, look around, make sure the ceiling hasn't fallen in. Chances are there's some weirdness going on (autostarting applications that shouldn't be, etc) ... fix it in a couple.

 

Step 5b: You might also need to check the Driver Manager and make sure there aren't drivers that need reinstalling. I had one. Do that, reboot, come back here to the next item.

 

Step 6: Next up, cleaning. Since mintupgrade terminated early, it's our job now.

sudo apt-get autoremove && sudo apt-get autoclean

Usually I don't recommend doing an autoremove, but this time we'll allow it. There's a big mess to deal with and it's just easier this way. Afterwards, re-enable your PPA's and reinstall whatever stuff that got bulldozed.

 

Hopefully this helps those of you who (like me) did the laughable and ill-advised 17.3->18.0 Upgrade and got our heads cut for it.  

Link to comment
Share on other sites

This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By News Staff
      Lifetime membership to Whizlabs Online Certifications, now 94% off
      by Steven Parker

      Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where you can save 94% off a lifetime membership to Whizlabs Online Certifications. Get lifetime access to affordable world-class certification training courses and gain new, essential industry skills.



      Are you a practicing professional but wanting to learn more? Learn new skills and knowledge at your own pace with Whizlabs. Whizlabs is a pioneer among online training providers across the world. They provide online certification training in various disciplines such as Cloud Computing, Java, Big Data, Project Management, Agile, Linux, CCNA, and Digital Marketing. Launched in 2000, Whizlabs has helped more than 3 million professionals and 100+ companies across the world to succeed in their careers with multitudes of courses. If you want to boost your career or grow in your current field, then sign up to Whizlabs now!

      Access various courses on AWS, Microsoft, Google Cloud, Java, Linux & more Get certifications & validate and demonstrate your new skills Learn from subject-matter experts & certified professionals Get regularly updated content

      Here's the deal:
      Lifetime membership to Whizlabs Online Certifications normally costs $4,499, but you can pick it up for just $239.99 for a limited time - that represents a saving of $4,259.01 (94%) off. For a full description, specs, and instructor info, click the link below.

      Get a lifetime membership to Whizlabs for just $239.99
      C-MAX Chrono-Max Smartwatch
      12 Functions in 1 Device! Control Your Music, Receive Calls, See the Weather, & Track Your Sleep, Fitness, and Health Vitals All on Your Wrist

      Get this deal for just $59.99 (list price $219) 72% off

      Not for you?
      That's OK, there are other deals on offer you can check out here.

      Ivacy VPN - 5 years at 87% off NordVPN - 2 years at up to 68% off Private Internet Access VPN - subscriptions at up to 79% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Giveaways: Apple Giveaway | Gaming Giveaway | Amazon Giveaway Neowin Deals · Free eBooks · Neowin Store

      Disclosure: This is a StackCommerce deal or giveaway in partnership with Neowin; an account at StackCommerce is required to participate in any deals or giveaways. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through our branded deals site, and it all goes toward the running costs.

    • By zikalify
      Canonical extends Ubuntu 14.04 LTS and 16.04 LTS lifespans
      by Paul Hill



      Canonical, the creator of the Ubuntu operating system, has announced that Ubuntu 14.04 LTS ‘Trusty Tahr’ and Ubuntu 16.04 LTS ‘Xenial Xerus’ have had their lifespan extended and will now get ten years of life each. With the new extensions in place, Ubuntu 14.04 LTS will be supported until April 2024 (instead of April 2022) and Ubuntu 16.04 LTS will be supported until April 2026 (instead of April 2024). This puts them in line with Ubuntu 18.04 LTS and Ubuntu 20.04 LTS which already have ten years of support.

      According to Canonical, the extension will give organisations time to balance their infrastructure upgrade costs by giving them more time to enact their upgrade plans. The news will act as a bit of a reprieve for companies that have been hit by the coronavirus over the year and a half.

      Commenting on the change to the schedule, Nikos Mavrogiannopoulos, Product Manager at Canonical, said:

      Typically, Ubuntu releases get five years of support – this is the case for people using the operating system on a personal basis. An additional five years of support can be purchased through Ubuntu Advantage bringing the total lifespan to ten years. If you’d like to see more information on Ubuntu Advantage and Extended Security Maintenance, check out the Ubuntu pages on the topic.

    • By News Staff
      Pay What You Want and get this Linux eBook Bundle by Packt
      by Steven Parker



      Today's highlighted offer comes via our Online Courses section of the Neowin Deals store, where for a limited time you can Pay What You Want for the Complete Linux eBook Bundle. The 4-book guide to programming more powerfully and efficiently with Linux.

      Unlock the following eBooks with a bid over the average price:

      Mastering Linux Security & Hardening
      A Comprehensive Guide to Preventing Your Linux System From Getting Compromised

      Linux Shell Scripting Cookbook, Third Edition
      Do Amazing Things with the Linux Shell

      Mastering Linux Shell Scripting, Second Edition
      Master the Complexities of Bash Shell Scripting

      or Pay What You Want for the unlocked eBook:

      Mastering Embedded Linux Programming, Second Edition
      Master the Techniques Needed to Build Great, Efficient Embedded Devices On Linux

      What's the benefit:
      The bundle represents an overall retail value of $160. To unlock the full bundle is under $15 at the time of writing. Bid the average price or over and you'll take home the entire bundle. Beat the Leader's price and get entered into the epic giveaway! Pay What You Want for the Complete Linux eBook Bundle
      Not for you?
      That's OK, there are other deals on offer you can check out here.

      Ivacy VPN - 5 years at 87% off NordVPN - 2 years at up to 68% off Private Internet Access VPN - subscriptions at up to 79% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Giveaways: Polycade Home Arcade | $5K in cash | $10K in Crypto | Gaming Bundle Neowin Deals · Free eBooks · Neowin Store

      Disclosure: This is a StackCommerce deal or giveaway in partnership with Neowin; an account at StackCommerce is required to participate in any deals or giveaways. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through our branded deals site, and it all goes toward the running costs.

    • By hellowalkman
      Latest Ubuntu 21.10 blows the wind out of Windows 10 / 11 in certain performance tests
      by Sayan Sen

      Microsoft's next-gen Windows 11 OS is set to release publicly on the 5th of October which is about a week earlier than the release date for Ubuntu 21.10 (codenamed "Impish Indri"), the latter being on October 14. As a result, folks over at Phoronix were curious and wondered what the performances differences might be like between the two upcoming operating systems.

      According to the benchmark results obtained in the comparison across several workstation applications, it seems Ubuntu 21.10 is quite a bit ahead by around 50%, or much more, in some of the tests especially those that involve more dependency on the CPU, indicating that the OS is probably better at utilizing the available CPU resources than Windows. GPU-based applications however have generally tended to favor Microsoft's OS, however, the performance gaps aren't as big in Windows' favor.

      The test system used by the publication consists of:

      AMD Ryzen 9 5900X GeForce RTX 3090 16GB RAM Windows 10 21H1 / Windows 11 Build 22000.168 Ubuntu 21.10







      From the numbers, it is noticeable that Windows 11 doesn't really offer much of any significant improvement, if at all, over Windows 10, at least with this build version. The final image that shows WebP image encoding exhibits a certain anomaly as it is observed that the Windows 10 system is much faster than the Windows 11 one, possibly indicating some bug in the latter.



      Overall, Ubuntu 21.10 appears to be ~10% faster than Windows 10 and slightly more so in the succeeding Windows 11 build. You can find the full performance review with a lot more benchmark numbers on Phoronix's website linked in the source link below.

      Source and images: Phoronix

    • By News Staff
      Pay What You Want for the Linux eBook Bundle by Packt
      by Steven Parker



      Today's highlighted offer comes via our Online Courses section of the Neowin Deals store, where for a limited time you can Pay What You Want for the Complete Linux eBook Bundle. The 4-book guide to programming more powerfully and efficiently with Linux.

      Unlock the following eBooks with a bid over the average price:

      Mastering Linux Security & Hardening
      A Comprehensive Guide to Preventing Your Linux System From Getting Compromised

      Linux Shell Scripting Cookbook, Third Edition
      Do Amazing Things with the Linux Shell

      Mastering Linux Shell Scripting, Second Edition
      Master the Complexities of Bash Shell Scripting

      or Pay What You Want for the unlocked eBook:

      Mastering Embedded Linux Programming, Second Edition
      Master the Techniques Needed to Build Great, Efficient Embedded Devices On Linux

      What's the benefit:
      The bundle represents an overall retail value of $160. To unlock the full bundle is under $15 at the time of writing. Bid the average price or over and you'll take home the entire bundle. Beat the Leader's price and get entered into the epic giveaway! Pay What You Want for the Complete Linux eBook Bundle
      Not for you?
      That's OK, there are other deals on offer you can check out here.

      Ivacy VPN - 5 years at 87% off NordVPN - 2 years at up to 68% off Private Internet Access VPN - subscriptions at up to 79% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Giveaways: Polycade Home Arcade | $5K in cash | $10K in Crypto | Gaming Bundle Neowin Deals · Free eBooks · Neowin Store

      Disclosure: This is a StackCommerce deal or giveaway in partnership with Neowin; an account at StackCommerce is required to participate in any deals or giveaways. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through our branded deals site, and it all goes toward the running costs.