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


Recommended Posts

Unobscured Vision

[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 post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zikalify
      Tails OS 4.15 released with updated Tor Browser
      by Paul Hill



      Tails OS 4.15 has been released today bringing with it updates for the Tor Browser, the Linux kernel and fixes for several issues including USB tethering not working with devices running iOS 14 or later. Luckily, there are no new issues introduced with this version of the privacy-oriented OS but it’s still affected by long-standing issues.

      According to the release notes, there are no new major changes in this update outside of updated software. The only new feature is that you now have the option to press “Don’t Show Again’ on the security notification that pops up when you attempt to run Tails on a virtual machine.

      This update does come with several critical software patches for things like the Tor Browser which is now on version 10.0.9 (based on Firefox 78.7), Thunderbird has been bumped to 78.6.0, and the Linux kernel now sits on version 5.9.15 bringing support for newer hardware. The new kernel update also addresses a bug that prevented iOS 14 devices from being used for tethering.

      To install Tails 4.15, you’ll either need to follow the guide to setting up a Tails USB to perform a clean install or you can upgrade an existing Tails install. When you’ve booted up your Tails 4.2 or above USB and connected to the internet, you will be offered the upgrade. If you choose to update, the new version will download and begin to install. If you would like to see what’s planned in future updates, check out the Tails roadmap.

    • By zikalify
      Linux Mint 20.1 ISOs have been approved for release [Update]
      by Paul Hill



      Following the beta release of Linux Mint 20.1 in mid-December, the stable release has been finalised and approved for release according to the Linux Mint website. While approved, the Linux Mint project has not yet published a blog post about the release or the ISOs but they are expected imminently.

      For those already running Linux Mint 20, the upgrade will be made available via the Update Manager but upgrading won’t be necessary if you’re happy with your existing setup. Like Linux Mint 20, Linux Mint 20.1 will receive security updates until 2025 as they’re both based on Ubuntu 20.04 LTS, however, it will come with desktop improvements and new apps developed by the Linux Mint project.

      Some of the new apps that will be available include Web Apps which lets your turn your favourite sites into web apps accessible from the app menu and an IPTV program called Hypnotix that’ll come pre-loaded with several freely available channels. For Chromium fans, the Mint team has decided to begin compiling the browser itself without a dependence on Ubuntu’s Snap packaging software.

      In a blog post from the end of December, Linux Mint’s head Clem Lefebvre said that there were still some issues that they wanted to work out before the release and couldn’t give an exact release date. Linux Mint is not known for giving exact release dates so there’s nothing out of the ordinary this time around. In the post, Lefebvre also stated that the team was considering an extra ISO image with the Linux 5.8 kernel to address some AMD Ryzen 5 and Ryzen 7 issues but this extra ISO has not yet shown up on the Mint website.

      Update: Linux Mint 20.1 has now been released and can be downloaded from linuxmint.com.

    • By News Staff
      Save 95% off this Complete Computer Networking eBook & Video Course Bundle
      by Steven Parker

      Today's highlighted deal comes via our Online Courses section of the Neowin Deals store where you can save 95% off this Complete Computer Networking eBook & Video Course Bundle. Attain systems efficiency & security with 14+ hours of video content and 5 comprehensive e books on DevOps, Programming, AWS, CCNA, and more.



      This bundle consists of the following courses:

      The Ultimate Kubernetes Bootcamp by School of Devops [Video]
      Prepare for the CKA Exam — Master Container Orchestration with Kubernetes One Step at a Time AWS Certified Advanced Networking: Specialty Exam Guide [eBook]
      Build Your Knowledge & Technical Expertise as an AWS-Certified Networking Specialist Hands-On Network Programming with C [eBook]
      Learn Socket Programming in C & Write Secure and Optimized Network Codes Analyzing Network Traffic with Wireshark 2.6 [Video]
      Delve Into Network Traffic & Analyze Individual Protocol Data Units Active Directory Administration Cookbook [eBook]
      Actionable, Proven Solutions to Identity Management & Authentication on Servers and in the Cloud Hands-On PowerShell for Active Directory [Video]
      Use PowerShell for Active Directory to Eliminate Manual Labor with Quick Automation Tasks & Functions Effective Jenkins: Getting Started with Continuous Integration [Video]
      Learn Continuous Integration, Automate Your Jenkins Projects & Get Continuous Feedback for Your Upstream/Downstream Projects Hands-On Kubernetes Networking [Video]
      Unravel the Mystery of Networking in Your Kubernetes Cluster in a Pragmatic Manner CCNA Cyber Ops SECOPS: Certification Guide 210-255 [eBook]
      Develop Your Cybersecurity Knowledge to Obtain CyberOps Certification Hands-On Linux for Architects [eBook]
      Design & Implement Linux-Based IT Solutions Good to know
      Updates included Length of time users can access after purchase: lifetime Redemption deadline: redeem your code within 30 days of purchase For a full description, specs, and author info please click here.

      Here's the deal:
      This Complete Computer Networking eBook & Video Course Bundle normally costs* $746 but it can be yours for just $29.99 for a limited time, that's a saving of $716.01 (95%) off the price.

      >> Get this deal, or learn more about it here <<
      See all Online Courses on offer. This is a time limited deal.
      Get $1 credit for every $25 spent · Give $10, Get $10 · 10% off for first-time buyers.

      Not for you?
      If this offer doesn't interest you, why not check out the following offers:



      The Win Your Dream 2020 Tesla Model 3 Giveaway Ivacy VPN - 5 year subscription for just $0.99 per month NordVPN - 2 year subscription at up to 68% off +3 months for free! Private Internet Access VPN - subscriptions at up to 71% 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 Disable Sponsored posts · 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 News Staff
      Pay What You Want for this Complete Linux eBook Bundle
      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.



      How does it work?
      With the Pay What You Want bundles, you can get something incredible for as little as you want to pay. And if you beat the average price, you’ll receive the fully upgraded bundle! Included in this Pay What You Want deal, are the following courses:

      Pay What You Want (as little as $1) for the unlocked eBook:

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

      ... and 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

      Here's the deal:
      The bundle represents an overall retail value of $160. Pay What You Want for the unlocked courses (as little as $1). Bid the average price or over and you'll take home the entire bundle. Qualify for the giveaway!
      Beat the Leader's price and get entered into the epic giveaway, plus get featured on the leaderboard!

      >> Pay What You Want for this Complete Linux eBook Bundle <<
      See other Pay What You Want deals. This is a time-limited deal.
      Get $1 credit for every $25 spent · Give $10, Get $10 · 10% off for first-time buyers.

      Not for you?
      If this offer doesn't interest you, why not check out the following offers:



      The Win Your Dream 2020 Tesla Model 3 Giveaway Ivacy VPN - 5 year subscription for just $0.99 per month NordVPN - 2 year subscription at up to 68% off +3 months for free! Private Internet Access VPN - subscriptions at up to 71% 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 Disable Sponsored posts · 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
      Linux Mint 20.1 'Ulyssa' beta launches with new programs
      by Paul Hill



      The Linux Mint project has just released the beta for Linux Mint 20.1. The new beta is available in the Cinnamon, MATE, and Xfce flavours of Linux Mint and aside from desktop improvements, share the same set of new features.

      Neowin has covered some of Linux Mint’s development updates in recent months and the work that went in then has landed in a more mature form in this beta. Highlights include a new Web Apps tool that lets you turn your favourite sites into web apps accessible from the app menu and IPTV program called Hypnotix has been created and items can be marked as favourites in the file manager on Cinnamon.

      Another change in Linux Mint 20.1, which has been known for quite a while now, is the inclusion of Chromium in the repositories. Chromium had previously been removed from the Linux Mint repositories because the maintainers didn’t like that it had Snap dependencies. The Chromium that is now included is compiled directly by the Mint team and updates will be released in a timely manner.

      As with the other releases in this series, Linux Mint 20.1 will continue to get updates until 2025. Those running Linux Mint 20 will be able to upgrade in a pain-free manner when Linux Mint 20.1 is stable because the base packages will remain the same. Those who choose to download the beta today won’t have to reinstall when the stable version comes out in a few weeks, instead, you just need to make sure you install available updates.

      You can find the three Linux Mint 20.1 beta flavours over on the Evowise mirror which should provide decent download speeds no matter where you are in the world.