do-release-upgrade outputs 'Authentication failed' (Aramo)

9 risposte [Ultimo contenuto]
Staircase
Offline
Iscritto: 02/24/2022

Hi, I can't upgrade to Aramo from Nabia.


$ sudo apt update && sudo apt upgrade
All packages are up to date.
$ do-release-upgrade
Checking for a new Trisquel release
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [1,223 kB]
Fetched 1,223 kB in 0s (0 B/s)
authenticate 'aramo.tar.gz' against 'aramo.tar.gz.gpg'
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.

I used to have these two keys only:


$ gpg -k trisquel
pub rsa4096 2017-01-07 [SC]
60364C9869F92450421F0C22B138CA450C05112F
uid [ unknown] Trisquel GNU/Linux <name at domain>
sub rsa4096 2017-01-07 [E]
pub dsa1024 2007-01-14 [SC]
E6C27099CA21965B734AEA31B4EFB9F38D8AEBF1
uid [ unknown] Trisquel GNU/Linux (Trisquel GNU/Linux signing key) <name at domain>
sub elg2048 2007-01-14 [E]

I downloaded a third one following the instructions from https://trisquel.info/en/wiki/verify-trisquel-download.


$ wget https://archive.trisquel.info/trisquel/trisquel-archive-signkey.gpg
--2024-02-21 17:08:54-- https://archive.trisquel.info/trisquel/trisquel-archive-signkey.gpg
Resolving archive.trisquel.info (archive.trisquel.info)... 209.51.188.51, 2001:470:142:5::51
Connecting to archive.trisquel.info (archive.trisquel.info)|209.51.188.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6581 (6.4K)
Saving to: ‘trisquel-archive-signkey.gpg’
trisquel-archive-signkey.gpg 100%[======================================================================================>] 6.43K --.-KB/s in 0s
2024-02-21 17:08:55 (39.6 MB/s) - ‘trisquel-archive-signkey.gpg’ saved [6581/6581]
$ gpg --import trisquel-archive-signkey.gpg
gpg: key B4EFB9F38D8AEBF1: "Trisquel GNU/Linux (Trisquel GNU/Linux signing key) <name at domain>" not changed
gpg: key B138CA450C05112F: "Trisquel GNU/Linux <name at domain>" not changed
gpg: key F5DAAAF74AD4C938: public key "Trisquel GNU/Linux Archive Automatic Signing Key (11/aramo) <name at domain>" imported
gpg: Total number processed: 3
gpg: imported: 1
gpg: unchanged: 2
$ gpg -k trisquel
pub rsa4096 2017-01-07 [SC]
60364C9869F92450421F0C22B138CA450C05112F
uid [ unknown] Trisquel GNU/Linux <name at domain>
sub rsa4096 2017-01-07 [E]

pub dsa1024 2007-01-14 [SC]
E6C27099CA21965B734AEA31B4EFB9F38D8AEBF1
uid [ unknown] Trisquel GNU/Linux (Trisquel GNU/Linux signing key) <name at domain>
sub elg2048 2007-01-14 [E]
pub rsa4096 2022-10-19 [SC]
D24DDAC9226D5BA5E9F3BED3F5DAAAF74AD4C938
uid [ unknown] Trisquel GNU/Linux Archive Automatic Signing Key (11/aramo) <name at domain>

Still when I run do-release-upgrade I run into the same issue.

How can I troubleshoot?


$ lsb_release -a
No LSB modules are available.
Distributor ID: Trisquel
Description: Trisquel GNU/Linux Nabia (10.0.1)
Release: 10.0.1
Codename: nabia
$ uname -a
Linux x220 5.4.0-131-generic #147+10.0trisquel11 SMP Tue Oct 18 20:29:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/update-manager/release-upgrades | grep Prompts
Prompt=lts
$ do-release-upgrade -c
Checking for a new Trisquel release
New release '11.0 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

You need administrative privileges to upgrade, hence sudo:
$ sudo do-release-upgrade

Staircase
Offline
Iscritto: 02/24/2022

I get the same authentication failure output with sudo.


$ sudo do-release-upgrade
[sudo] password for redacted_username:
Checking for a new Trisquel release
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [1,223 kB]
Fetched 1,223 kB in 0s (0 B/s)
authenticate 'aramo.tar.gz' against 'aramo.tar.gz.gpg'
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.

What else can I try?

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Have you tried to "Download from" another mirror (or "Main Server") in "Software & Updates" (or using 'sudo apt edit-sources' in a terminal)?

Staircase
Offline
Iscritto: 02/24/2022

I tried another server but got an error message 'Error while refreshing cache' - see full message attached as a screenshot.

I looked around "Software & Updates" and elected to update 'Subscribed to:' to 'Security and recommended updates' from 'Security updates only', to see if that would help.

Next, I ran "sudo apt update && sudo apt upgrade', it seems that the update was about 450MB.

Next I tried "sudo do-release-upgrade" again but got this message:


[...]
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit https://archive.trisquel.org/trisquel nabia InRelease
Hit https://archive.trisquel.org/trisquel nabia-security InRelease
Hit https://archive.trisquel.org/trisquel nabia-updates InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Updating repository information
Hit https://archive.trisquel.org/trisquel aramo InRelease
Hit https://archive.trisquel.org/trisquel aramo-security InRelease
Hit https://archive.trisquel.org/trisquel aramo-updates InRelease
Fetched 0 B in 0s (0 B/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes

Calculating the changes

Not enough free disk space

The upgrade has aborted. The upgrade needs a total of 5,619 M free
space on disk '/'. Please free at least an additional 2,543 M of disk
space on '/'. Empty your trash and remove temporary packages of
former installations using 'sudo apt-get clean'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Thu Feb 22 16:54:19 2024) ===
Press x to destroy or r to resurrect window u Feb 22 16:54:29 2024) ===

I ran:


sudo apt-get clean
sudo apt-get autoremove

and emptied the directory Trash. I ran "sudo do-release-upgrade" again with no avail. Same.

I am now reading https://trisquel.info/en/forum/trisquel-upgrade-80-90-size to try to figure what option is best to troubleshoot.

Screenshot at 2024-02-22 14-24-18.png
Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

As do-release-upgrade tells you, here is what you can do, maybe helped with Baobab, which is a graphical application, in Trisquel's repository, that can analyze / and show you what actually takes much space on it (removing programs requiring a few MB of disk space is a waste of time):
Please free at least an additional 2,543 M of disk space on '/'.

Well, you may alternatively enlarge the root partition, if that is possible. It /home is on an XFS filesystem and you do not have an additional large-enough disk, that may be impossible. What is the output of the following command?
$ df -hT

Another possibility is to do a fresh installation, of the "Something else" type, to ask for a larger root partition (maybe taking 50 GB, to be at ease). Following https://trisquel.info/en/wiki/cloning-system-or-how-make-copy-installed-packages-one-computer-another you can more easily reinstall the packages you have today and you need to backup the user data. In fact, you want to frequently backup the user data. Not only when you upgrade/reinstall the system.

If you need more assistance, tell us which of the three plans above you want to follow.

I am now reading https://trisquel.info/en/forum/trisquel-upgrade-80-90-size to try to figure what option is best to troubleshoot.

Now I see that some Magic Banana wrote in this thread what I have just written here, but in more details: I hate this guy!

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

May I suggest to use ncdu?

I find it very quick and easy to use:

sudo apt install ncdu
(sudo) ncdu /path/to/folder/to/check/

sudo is only required to read directories that may have administrative permissions required, on everything else sudo is not required.

Regards

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

You then want option -x here, so that you "do not cross filesystem boundaries, i.e. only count files and directories on the same filesystem as the directory being scanned", according to the manual:
$ sudo ncdu -x /

Staircase
Offline
Iscritto: 02/24/2022

I am posting this message from Aramo. I used: '$ sudo ncdu -x /' to identify large packages. I remove libreoffice-* packages and another large package which I had installed recently. That was enough for 'sudo do-release-upgrade' to go through and for Aramo to be installed. Thanks a lot to both of you, MB and Ark74. - And thanks also for mentioning 'ncdu'; I had been using 'du' along with 'sort' and 'less' so far to identify what took disk space. The interface of 'ncdu' makes navigation a lot easier. Thanks again.

andyprough
Offline
Iscritto: 02/12/2015

>"Now I see that some Magic Banana wrote in this thread what I have just written here, but in more details: I hate this guy!"

You'll get used to him. He's like that uncle that comes to stay at your house and keeps burning holes in your carpet by falling asleep in bed with a smoking cigar and glass of whiskey, but you still love him because he's family.