Upgrading Linux Mint 20

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Upgrading Linux Mint 20

Post by historygirllfc22 »

Hello,

I'm trying to upgrade to Linux Mint 20 and am following the guide detailed https://linuxmint-user-guide.readthedoc ... nt-20.html I was having issues with installing updates it said cannot install security updates but I managed to successfully update those from another thread I found in the forum after googling. I'm unable to load Software sources to downgrade foreign packages would anyone know what might be causing this?

I'm also getting an error around the mirror for tricia from evowise which I've found on this forum is no longer valid however I am also unable to update this. COuld anyone provide assistance on how to fix this given I'm unable to the GUI. Note Update Manager will load but neither Software Sources or Synaptic will load and in order to create a snapshot I had to load timeshift from the cli with sudo.

When running sudo apt-get update in the terminal this is what I get:

Code: Select all

Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease              
Hit:5 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Get:1 http://mirrors.evowise.com/linuxmint/packages tricia InRelease [629 kB]
Err:1 http://mirrors.evowise.com/linuxmint/packages tricia InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done                                
E: Failed to fetch http://mirrors.evowise.com/linuxmint/packages/dists/tricia/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://mirrors.evowise.com/linuxmint/packages tricia InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
Thanks in advance any help much appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Hello, historygirllfc22.

The very first problem, which you have to resolve still on LM 19.3, before doing anything else at all, is:
Replace the Evowise repository by the main Linux Mint repository.
Evowise has been dead for many months now. They are no longer a valid Linux Mint software repository.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Hello karlchen,

Thanks for the reply. Yep I appreciate that but how can I do that when going to software sources fails to open? Am I able to run it from the terminal?
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Hello, historygirllfc22.
historygirllfc22 wrote: Sun Jun 26, 2022 10:23 am[...] how can I do that when going to software sources fails to open? Am I able to run it from the terminal?
Yes, it can be done using a normal text editor. But in order to tell precisely which line has to be changed how, I will have to see what the content of your sources list files are now.

Please, open a terminal window. Execute the commandline inxi -Sr (precisely as it has been spelt here, i.e. also preserving lowercase and uppercase letters).
Mark the complete text output, which the commandline will display, with your mouse.
Press the keyboard combination <shift><ctrl>c in order to copy the marked text output.
Paste it into your next reply, please.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Ok so typing into the terminal I receive this:

Code: Select all

 
 Kernel: 5.4.0-120-generic x86_64 bits: 64 
 Desktop: Cinnamon 4.4.8 
 Distro: Linux Mint 19.3 Tricia 
 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirrors.evowise.com/linuxmint/packages tricia main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  No active apt repos in: /etc/apt/sources.list.d/ondrej-php-bionic.list 
  No active apt repos in: /etc/apt/sources.list.d/slack.list 
  No active apt repos in: /etc/apt/sources.list.d/spotify.list 
  No active apt repos in: /etc/apt/sources.list.d/vscode.list 
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Hello, historygirllfc22.

You will have to edit the software source file /etc/apt/sources.list.d/official-package-repositories.list with root privileges and correct the first line only.
It now reads:
deb http://mirrors.evowise.com/linuxmint/packages tricia main upstream import backport
It should read:
deb http://packages.linuxmint.com tricia main upstream import backport
  • First make sure that all applications like Software Sources, Update Manager, Synaptic Package Manager and mintupgrade have been terminated, in case any of them should still be running.
  • Next open a terminal window and execute the commandline

    Code: Select all

    xed admin:///etc/apt/sources.list.d/official-package-repositories.list
    The text editor xed will ask you to enter your password. Provided you enter it correctly, xed will open the file /etc/apt/sources.list.d/official-package-repositories.list with root privileges.
  • Change the first line (see above) to read deb http://packages.linuxmint.com tricia main upstream import backport.
    Do not change any other line in the file.
  • Save the modified file and close the text editor xed.
Still in the terminal window, execute the command sudo apt update in order to tell the system to update the list of available software packages.
This operation should complete without any error message.

Provided this is the case, you are good to continue preparing your LM 19.3 for the use of mintupgrade.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Thanks for this that all makes sense, however when running this in the terminal I get the following:

** (xed:24846): WARNING **: 18:50:53.937: The specified location is not mounted

I get the window of the file but it's blank just trying to load it seems to be a common issue having had a look on the forum? I've tried a couple of times and I'm still seeing the same issue.
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Hello, historygirllfc22.

Oops, sorry to read that the commandline
xed admin:///etc/apt/sources.list.d/official-package-repositories.list
does not work for you.
You have copied the commandline from my post and inserted it into the terminal window?
I ask, because this is how I had tested it on my LM 19.3 system in order to make sure there was no typing error and that it would work. (It does do so here.)

Anyway, my preferred commandline will be sudoedit /etc/apt/sources.list.d/official-package-repositories.list
This will ask for your password as well and then launch the editor nano with root privileges and load the file for editing.
In order to save and exit from nano you will pres <Ctrl>X and confirm the save question by pressing y like yes.

Do not permit nano to confuse you about the weird looking filename! nano works on a copy of the original file. If you confirm to save it, nano will do so and then copy it back to the original file preserving the original filename.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Thanks that second option worked and all updated one thing to tick of the list. However running

Code: Select all

mintupgrade check
I get an error:

Code: Select all

!!  
    - init: 1.56+nmu1~ubuntu18.04.1, should be 1.51 (from bionic)
    - init-system-helpers: 1.56+nmu1~ubuntu18.04.1, should be 1.51 (from bionic)
    - iproute2: 4.18.0-1ubuntu2~ubuntu18.04.1, should be 4.15.0-2ubuntu1.3 (from bionic-updates)
    - libapache2-mod-php7.2: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - libargon2-0: 0~20190702-0.1+ubuntu18.04.1+deb.sury.org+1, should be 0~20161029-1.1 (from bionic)
    - libgd3: 2.3.0-2+ubuntu18.04.1+deb.sury.org+1, should be 2.2.5-4ubuntu0.5 (from bionic-updates)
    - libgd3:i386: 2.3.0-2+ubuntu18.04.1+deb.sury.org+1, should be 2.2.5-4ubuntu0.5 (from bionic-updates)
    - libidn2-0: 2.3.0-1+ubuntu18.04.1+deb.sury.org+2, should be 2.0.4-1.1ubuntu0.2 (from bionic-updates)
    - libidn2-0:i386: 2.3.0-1+ubuntu18.04.1+deb.sury.org+2, should be 2.0.4-1.1ubuntu0.2 (from bionic-updates)
    - libnorm1: 1.5r6+dfsg1-6+ubuntu18.04.1+deb.sury.org+1, should be 1.5r6+dfsg1-6 (from bionic)
    - libpcre2-8-0: 10.39-3+ubuntu18.04.1+deb.sury.org+2, should be 10.31-2 (from bionic)
    - libpcre3: 2:8.44-2+ubuntu18.04.1+deb.sury.org+1, should be 2:8.39-9ubuntu0.1 (from bionic-updates)
    - libpcre3:i386: 2:8.44-2+ubuntu18.04.1+deb.sury.org+1, should be 2:8.39-9ubuntu0.1 (from bionic-updates)
    - libsodium23: 1.0.18-1+ubuntu18.04.1+deb.sury.org+1, should be 1.0.16-2 (from bionic)
    - libssl1.1: 1.1.1i-1+ubuntu18.04.1+deb.sury.org+4, should be 1.1.1-1ubuntu2.1~18.04.19 (from bionic-updates)
    - libssl1.1:i386: 1.1.1i-1+ubuntu18.04.1+deb.sury.org+4, should be 1.1.1-1ubuntu2.1~18.04.19 (from bionic-updates)
    - libvdpau1: 1.3-0ubuntu0~gpu18.04.2, should be 1.1.1-3ubuntu1 (from bionic)
    - libvulkan1: 1.1.126.0-2~gpu18.04.1, should be 1.1.70+dfsg1-1ubuntu0.18.04.1 (from bionic-updates)
    - libvulkan1:i386: 1.1.126.0-2~gpu18.04.1, should be 1.1.70+dfsg1-1ubuntu0.18.04.1 (from bionic-updates)
    - libxml2: 2.9.14+dfsg-0+ubuntu18.04.1+deb.sury.org+1, should be 2.9.4+dfsg1-6.1ubuntu1.6 (from bionic-updates)
    - libxml2:i386: 2.9.14+dfsg-0+ubuntu18.04.1+deb.sury.org+1, should be 2.9.4+dfsg1-6.1ubuntu1.6 (from bionic-updates)
    - libzip4: 1.7.3-1+ubuntu18.04.1+deb.sury.org+2, should be 1.1.2-1.1 (from bionic)
    - libzmq5: 4.3.1-5+ubuntu18.04.1+deb.sury.org+1, should be 4.2.5-1ubuntu0.2 (from bionic-updates)
    - libzstd1: 1.4.8+dfsg-2+ubuntu18.04.1+deb.sury.org+4, should be 1.3.3+dfsg-2ubuntu1.2 (from bionic-updates)
    - libzstd1:i386: 1.4.8+dfsg-2+ubuntu18.04.1+deb.sury.org+4, should be 1.3.3+dfsg-2ubuntu1.2 (from bionic-updates)
    - nodejs: 18.4.0-1nodesource1, should be 8.10.0~dfsg-2ubuntu0.4 (from bionic-updates)
    - openssl: 1.1.1i-1+ubuntu18.04.1+deb.sury.org+4, should be 1.1.1-1ubuntu2.1~18.04.19 (from bionic-updates)
    - php: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2, should be 1:7.2+60ubuntu1 (from bionic)
    - php-common: 2:92+ubuntu18.04.1+deb.sury.org+2, should be 1:60ubuntu1 (from bionic)
    - php-curl: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2, should be 1:7.2+60ubuntu1 (from bionic)
    - php-mbstring: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2, should be 1:7.2+60ubuntu1 (from bionic)
    - php-xml: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2, should be 1:7.2+60ubuntu1 (from bionic)
    - php7.2: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - php7.2-cli: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - php7.2-common: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - php7.2-json: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - php7.2-opcache: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - php7.2-readline: 7.2.34-31+ubuntu18.04.1+deb.sury.org+1, should be 7.2.24-0ubuntu0.18.04.12 (from bionic-updates)
    - python3-httplib2: 0.11.3-1+ubuntu18.04.1+deb.sury.org+1, should be 0.9.2+dfsg-1ubuntu0.3 (from bionic-updates)
    - spotify-client: 1:1.1.84.716.gc5f8b819, should be 1:1.1.10.546.ge08ef575-19 (from tricia)

ERROR: The packages above have incorrect versions. They can be downgraded using 'Software Sources -> Maintenance -> Downgrade Foreign Packages'.
Going into the Update Manager ? Edit > Software Sources it doesn't load so I am unable to downgrade the packages in order to do the upgrade.
Last edited by historygirllfc22 on Sun Jun 26, 2022 3:17 pm, edited 1 time in total.
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Hello, historygirllfc22,

try closing Update Manager and then launching Software Sources from the Application Menu directly.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Yeah have tried that I even did a reboot and tried again it still doesn't load is it possible to load via cli instead?
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Yes. Possible.
In a terminal window type mintsources and press the enter key. - It will ask for your password.
In case Software Sources does not start up, please, share all the messages, which it displays inside the terminal window.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Thanks so it still doesn't load looks as though there is a file issue as I receive the following:

Code: Select all

mintsources
The value for the SHELL variable was not found the /etc/shells file

This incident has been reported.
This is what is it in the shell variable file (not entirely sure what this is is it related to the terminal?)

Code: Select all

# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/rbash
/bin/dash
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

The content of your file /etc/shells is identical to the content here.

If you execute echo $SHELL inside a terminal window, what does it display?
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Ah that gives me so that's why that doesn't work:

Code: Select all

/bin/zsh
I did try and install zsh but I thought I had removed it so I guess I need to update my settings?
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Yes, in case /bin/zsh is not installed, but given as your personal command shell, it has to be corrected back to /bin/bash.

What does the following terminal command display? grep "/bin/zsh" /etc/passwd
Note:
It should not reveal any confidential details, specifically not your password.
In case it should display your full real name, then camouflage it, before submitting your post.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Ok so I assume this mean zsh is being set as default?

Code: Select all

chloe:x:1000:1000:chloe,,,:/home/chloe:/bin/zsh
Can I use nano as before to change and revert it back to bash?
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

Would you dare edit the file /etc/passwd using the same sudoedit as before?
The command would be sudoedit /etc/passwd

You would locate the line reading chloe:x:1000:1000:chloe,,,:/home/chloe:/bin/zsh and change only the last word zsh to be bash.
Be very careful not to change any other line.
Be very carfully really replacing zsh by bash only.

Then <Ctrl>X and Y like before.

In order to enable this change you will have to log off from the GUI and log back in.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
historygirllfc22
Level 1
Level 1
Posts: 15
Joined: Sun Jun 26, 2022 10:00 am

Re: Upgrading Linux Mint 20

Post by historygirllfc22 »

Great thanks this worked and I was able to do upgrade seemed to be ok last night. However I've tried booting up today boots fine get to login but keyboard and mouse aren't working is this a known issue? The keyboard works fine in bios when I logged into it though.
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Upgrading Linux Mint 20

Post by karlchen »

historygirllfc22 wrote: Mon Jun 27, 2022 2:57 pmHowever I've tried booting up today boots fine get to login but keyboard and mouse aren't working is this a known issue?
Not known to me, before you reported so. But I may have missed other reports that mouse and keyboard fail after having upgraded from LM 19.3 to LM 20 in-place using the mintupgrade tool.
historygirllfc22 wrote: Mon Jun 27, 2022 2:57 pmThe keyboard works fine in bios when I logged into it though.
OK. I understand the first part. Technically the keyboard is OK and works inside the BIOS.
But what does the second part mean? What is the "it" into which you logged in?
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Locked

Return to “Installation & Boot”