[SOLVED] 18.3 to 19 Upgrade Error

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
GaryD
Level 2
Level 2
Posts: 67
Joined: Sun Jul 31, 2016 5:12 am

[SOLVED] 18.3 to 19 Upgrade Error

Post by GaryD »

Have you upgraded your Mint like the same route that I did?

Well, for me I followed this post:
https://community.linuxmint.com/tutorial/view/2416

Then run through this error, which prevented me from upgrading my system. Luckily, I got Time Shift installed, and got my system back in working condition in no time.

The error I encountered was:

Code: Select all

Processing was halted because there were too many errors. 
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reference Image:
https://snag.gy/O47Mcd.jpg

I managed to save the logs, but was wiped out when I restore my system with Time Shift. My bad, I should have configured it prior to using it.

Will try to upgrade again today and save the logs.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
CPU: i7Core 920, Mobo: Gigabyte EX58-UD3R, Graphic Card: GTX 260
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: 18.3 to 19 Upgrade Error

Post by majpooper »

Probably what you don't want to hear but a fresh install in the end will be less hassle and take less time. I have found pretty much the hard way that upgrades within versions tend to go smoothly whereas upgrades between versions tend to be problematic - I am a sample of one but that has been my experience in the five years I have been installing/upgrading Mint for myself/family/friends.
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: 18.3 to 19 Upgrade Error

Post by JerryF »

GaryD wrote: Wed Nov 28, 2018 4:38 pm Then run through this error, which prevented me from upgrading my system. Luckily, I got Time Shift installed, and got my system back in working condition in no time.

The error I encountered was:

Code: Select all

Processing was halted because there were too many errors. 
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did you use the command

Code: Select all

mintupgrade check
to run a simulated update? That usually show what needs to be done.
Run it after taking care of one of the problems it states, then re-run the command until there are no more errors reported.
User avatar
karlchen
Level 23
Level 23
Posts: 18209
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: 18.3 to 19 Upgrade Error

Post by karlchen »

Hello, GaryD.

Other users who upgraded from Mint 18.3 to Mint 19 in-place, following the official instruction just like you, have been hit by the same problem.
Please, find 2 threads, where users report which steps have worked for them to solve the problem and to complete mintupgrade successfully in the end:
+ dbus-x11 - Issue upgrading to 19
+ [SOLVED] Upgrade from Mint 18.3 to 19 failed

HTH,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
User avatar
karlchen
Level 23
Level 23
Posts: 18209
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: 18.3 to 19 Upgrade Error

Post by karlchen »

Hi, JerryF.

"mintupgrade check" may succeed, nonetheless "mintupgrade upgrade" may abort with the reported error.
Obviously "mintupgrade check" does not detect the problem, because the root cause is only created by what "mintupgrade upgrade" does.
I vaguely remember having been in the same situation. [cf. here] :wink:

Cheers,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: 18.3 to 19 Upgrade Error

Post by JerryF »

karlchen wrote: Wed Nov 28, 2018 5:55 pm Hi, JerryF.

"mintupgrade check" may succeed, nonetheless "mintupgrade upgrade" may abort with the reported error.
Obviously "mintupgrade check" does not detect the problem, because the root cause is only created by what "mintupgrade upgrade" does.
I vaguely remember having been in the same situation. [cf. here] :wink:

Cheers,
Karl
Thanks for posting that! I didn't know.
GaryD
Level 2
Level 2
Posts: 67
Joined: Sun Jul 31, 2016 5:12 am

Re: 18.3 to 19 Upgrade Error

Post by GaryD »

Success! Got it fixed by reseting system locales and dpkg configure.

Details:
As suggested by Karl, I've read from the Upgrade from Mint 18.3 to 19 failed and tried the suggested fix. On that topic, we have similar error during the upgrade.

Code: Select all

perl: warning: Setting locale failed.
The above error was fixed by doing (to reset locales):

Code: Select all

sudo dpkg-reconfigure locales
sudo update-locale LANG=en_US.UTF-8
Then the fix for the first error I posted above:

Code: Select all

sudo dpkg --configure -a
Then did:
mintupgrade upgrade

And it went all the way to:

Code: Select all

 + The upgrade is finished. Reboot the computer with "sudo reboot" when ready....
Upgrade done!

Thanks Karl! and the rest of the gang who tried to help. :-)
Image
CPU: i7Core 920, Mobo: Gigabyte EX58-UD3R, Graphic Card: GTX 260
Locked

Return to “Other topics”