[SOLVED] Linux Mint 19 upgrade to 19.1 upgrade failure - missing gksudo
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
Linux Mint 19 upgrade to 19.1 upgrade failure - missing gksudo
Hello All.
I'm looking to upgrade a laptop running Mint 19 (and 19.1 beta) with Cinnamon DE to the release Mint 19.1 using the Update Manager.
The 'Upgrade to "Linux Mint 19.1 Tessa" ' procedure fails with an error message "The upgrade did not succeed. Make sure you are connected to the Internet and try to upgrade again." This message is actually totally bogus ("fall through" error message??).
I think that I've traced the error to the last section of /usr/bin/mint-release-upgrade-root . This is a python3 script which seems to check for either gksu or kdesudo before proceeding.
I don't know about kdesudo as I don't run KDE, but I do know that gksudo/gksu was dropped by Ubuntu (and then by Mint) a little while ago.
My python skills are rudimentary so I don't know how to patch this file.
Yes, O.K. I do appreciate that the "best way" to upgrade is by wiping and reinstalling but I like to try solving problems as they occur.. It's a good way of learning something new.
Any ideas or pointers??
Bodge99
Last edited by bodge99; 12-19-2018 at 05:50 PM.
Reason: used wrong code tags
The official upgrade from Mint 19 to Mint 19.1 hasn't yet been released. How did you carry out the upgrade?
If you're running a Mint 19.1 beta already then that doesn't need to be upgraded to Mint 19.1 proper, just updated in the normal way (although do see https://blog.linuxmint.com/?p=3669 for an extra note on this).
The very fact that you are dealing with a script that mentions KDE (dropped by Mint in Mint 19) and gksu/kdesudo (also dropped by Mint in Mint 19) shows that you are not dealing with an official upgrade script, at least not for Mint 19->Mint 19.1. Far preferable to wait until the official upgrade path through the Update Manager is released by Mint within the next few days.
In response to something else you mentioned in your OP, I personally fresh install for every major upgrade (Mint 17, 18, 19, etc.) but upgrade through the Update Manager for point releases (Mint 18.1, Mint 18.2, etc.). It works a treat, but you should stick to the Mint-supplied instructions.
If you perform an update (either by using apt or with the update manager), you'll see that a newer version of the update manager is pulled in.
You can now upgrade to Mint 19.1 from there.
Bodge99
Interesting, Bodge. It doesn't for me, and I'm using the main Mint repo at http://packages.linuxmint.com. Which repo are you using? Of course, there's always the possibility that they had the updated version of Mint Update up there and then realised that folk like yourself were having issues and so pulled it while they could fix the problem.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Original Poster
Rep:
I **AM** using the official upgrade script.. See the Linux Mint website..
I agree with you that a clean install is best.. That is the exact way that I normally use..
Right now, I have 2 laptops to upgrade (1 left to do). Mine has 12 working Linux distros on it at the moment.. (don't ask!!).
I wanted to quickly upgrade Mint as I'm demonstrating it to someone tomorrow.
The second laptop belongs to SWMBO. She wants the latest Mint ASAP. The laptop has been down for a motherboard swap which has taken a little time to complete - hence the impatience!
I **AM** using the official upgrade script.. See the Linux Mint website..
I agree with you that a clean install is best.. That is the exact way that I normally use..
Right now, I have 2 laptops to upgrade (1 left to do). Mine has 12 working Linux distros on it at the moment.. (don't ask!!).
I wanted to quickly upgrade Mint as I'm demonstrating it to someone tomorrow.
The second laptop belongs to SWMBO. She wants the latest Mint ASAP. The laptop has been down for a motherboard swap which has taken a little time to complete - hence the impatience!
Bodge99
Can you please show me where there the upgrade path is mentioned on the website. Thanks.
Edit: All I see in the blog entries is "Announcements will be made shortly with instructions on how to upgrade from Linux Mint 19."
By the way, small world, a close friend of mine is from Bedlington.
Bodge, I've just heard back from the Mint developers to say that the upgrade path hasn't been released yet, so there's something unusual going on here...
I'm using the University of Kent UK Mirror Service as the main mirror.
I've noticed a few changes in 19.1, one annoyance (for me anyway) is that I've had to re-enable scrollbar buttons again.
Bodge99
I can talk you through the scroll button issue (if you mean the steppers on the scrollbars). Basically you have to make the mod to your user config rather than the main system config so that it doesn't get over-written on updates. Can you please open a new thread asking about that?
Which version of Update Manager are you currently running, and when did the update to its new version take place (see View->History of Updates in Update Manager)?
Thanks. I need to confirm one thing. In your opening post, you said that "I'm looking to upgrade a laptop running Mint 19 (and 19.1 beta)". Which was it running, 19 or 19.1 beta, when the upgrade path appeared? It can't be both.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.