Hello, administrollaattori. Hello, Catch22.
administrollaattori wrote: ⤴Mon Oct 22, 2018 12:43 pmObviously in
mintupgrade
has a bug, which causes a fail if locale is not
en_something
. You could try to set
en_US.UTF-8
locale as default and try again.
Cannot confirm so. During its whole life, my system has been set to
de_DE.UTF-8
. This has not caused any trouble while running
mintupgrade upgrade
from Mint 18.3 to Mint 19.
And, there is no hint that perl dropping back to LC_ALL=C is the issue at all.
The real problem, Catch22, is what follows. Sadly you have only posted the starting lines, not the whole error messages.
Code: Select all
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------------------------------------
!! ERROR: Failed to upgrade some of the packages. Please review the error message, use APT to fix the situation and try again.
!! Exiting.
------------------------------------------------
This is the third or fourth time, my own in-place upgrade included, that I read this error message, which makes "mintupgrade upgrade" abort.
The relevant part of error message can be found in this post,
here, and all of the error messages till "mintupgrade upgrade" aborted in the attached file Zotac_Mint18.3_to_Mint19_upgrade1.zip. (You do not have to read the whole session logfile, just go down to line 10,914 and read from there to the end.)
In order to find out which software packages stopped "mintupgrade" you have to read allthe messages, not just the first few lines.
You have to fix the root cause, which succeeded in my case.
Then you can relaunch
mintupgrade upgrade
; and it will complete. At least it did in my case.
In case identifying the root cause and solving it exceeds your current Linux knowledge and skill (no offense meant, we all started green once upon a time, only some of us tend to forget), then indeed you may be better off falling back to a clean installation of Mint 19.
HTH,
Karl