Can't update Trisquel 9.0.2 64 bit Etiona

6 réponses [Dernière contribution]
iceburn
Hors ligne
A rejoint: 12/07/2019

Hi, I'm trying to update using system/admin/software updater and even though the ethernet cable is plugged in and it shows as online, the updater won't work, nor will any browsers or synaptic.

this happens on my x230 and x200 (thinkpads)

They both run 9.0.2 64 bit Etiona
Kernel Linux 4.15.0-175-generic x86_64
MATE 1.20.1

Pop ups saying;
'Failed to download repository information'
another said 'Could not download repository indexes'

Any help appreciated.

Avron
Hors ligne
A rejoint: 08/18/2020

Perhaps the mirror you are trying to use is not working, so you could change (in "Software and updates").

If that does not solve the issue, try "sudo apt update" and "sudo apt ugrade" in a terminal and copy the output here.

iceburn
Hors ligne
A rejoint: 12/07/2019

Hi, The mirrors in 'software an updates' all failed so after entering the terminal commands;

user@user-ThinkPad-X200:~/Desktop$ sudo apt update
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
Err:1 https://archive.trisquel.info/trisquel etiona-security InRelease
Could not resolve ‘archive.trisquel.info’
Err:2 https://mirror.fsf.org/trisquel etiona InRelease
Could not resolve ‘mirror.fsf.org’
Err:3 https://mirror.fsf.org/trisquel etiona-security InRelease
Could not resolve ‘mirror.fsf.org’
Err:4 https://mirror.fsf.org/trisquel etiona-updates InRelease
Could not resolve ‘mirror.fsf.org’
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://mirror.fsf.org/trisquel/dists/etiona/InRelease Could not resolve ‘mirror.fsf.org’
W: Failed to fetch https://archive.trisquel.info/trisquel/dists/etiona-security/InRelease Could not resolve ‘archive.trisquel.info’
W: Failed to fetch https://mirror.fsf.org/trisquel/dists/etiona-security/InRelease Could not resolve ‘mirror.fsf.org’
W: Failed to fetch https://mirror.fsf.org/trisquel/dists/etiona-updates/InRelease Could not resolve ‘mirror.fsf.org’
W: Some index files failed to download. They have been ignored, or old ones used instead.
user@user-ThinkPad-X200:~/Desktop$ apt list --upgradable
Listing... Done
libudev1/etiona-security 237-3ubuntu10.56+9.0trisquel1 amd64 [upgradable from: 237-3ubuntu10.43]
tzdata/etiona-security,etiona-security 2022c-0ubuntu0.18.04.0 all [upgradable from: 2022a-0ubuntu0.18.04]
udev/etiona-security 237-3ubuntu10.56+9.0trisquel1 amd64 [upgradable from: 237-3ubuntu10.43]
user@user-ThinkPad-X200:~/Desktop$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
geoclue-2.0 iio-sensor-proxy libgeoclue-2-0 libminizip1 libqt5positioning5 libqt5quickwidgets5 libqt5webchannel5 libqt5webengine-data
libqt5webenginecore5 libqt5webenginewidgets5 libre2-4 libsnapd-glib1 libudev1:i386
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
libudev1 udev
The following packages will be upgraded:
tzdata
1 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
Need to get 187 kB of archives.
After this operation, 24.6 kB disk space will be freed.
Do you want to continue? [Y/n] y
Ign:1 https://archive.trisquel.info/trisquel etiona-security/main amd64 tzdata all 2022c-0ubuntu0.18.04.0
Err:1 https://archive.trisquel.info/trisquel etiona-security/main amd64 tzdata all 2022c-0ubuntu0.18.04.0
Could not resolve ‘archive.trisquel.info’
E: Failed to fetch https://archive.trisquel.info/trisquel/pool/main/t/tzdata/tzdata_2022c-0ubuntu0.18.04.0_all.deb Could not resolve ‘archive.trisquel.info’
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
user@user-ThinkPad-X200:~/Desktop$

Magic Banana

I am a member!

En ligne
A rejoint: 07/24/2010

Try to execute in a terminal (and stop with Ctrl+C):
$ ping trisquel.info
If some "64 bytes from www.trisquel.info (5.196.53.144)" are output, then your Internet connection, including name resolution, is apparently working. Otherwise, try:
$ ping 5.196.53.144
If some "64 bytes from 5.196.53.144" are output, the problem deals with DNS. Otherwise, are you sure the hardware is properly working (you can test from a live system)?

iceburn
Hors ligne
A rejoint: 12/07/2019

Thanks Magic Banana, does this mean it is DNS (domain name server/system ) ? ( using x201 with win 7 to get online and message here).

user@user-ThinkPad-X200:~/Desktop$ ping trisquel.info
PING trisquel.info (5.196.53.144) 56(84) bytes of data.
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=1 ttl=52 time=26.4 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=2 ttl=52 time=26.8 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=3 ttl=52 time=25.3 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=4 ttl=52 time=26.1 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=5 ttl=52 time=25.7 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=6 ttl=52 time=25.9 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=7 ttl=52 time=26.9 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=8 ttl=52 time=26.5 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=9 ttl=52 time=26.9 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=10 ttl=52 time=25.5 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=11 ttl=52 time=26.7 ms
^C
--- trisquel.info ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 10015ms
rtt min/avg/max/mdev = 25.308/26.304/26.987/0.598 ms
user@user-ThinkPad-X200:~/Desktop$ ping 5.196.53.144
PING 5.196.53.144 (5.196.53.144) 56(84) bytes of data.
64 bytes from 5.196.53.144: icmp_seq=1 ttl=52 time=25.6 ms
64 bytes from 5.196.53.144: icmp_seq=2 ttl=52 time=25.8 ms
64 bytes from 5.196.53.144: icmp_seq=3 ttl=52 time=26.3 ms
64 bytes from 5.196.53.144: icmp_seq=4 ttl=52 time=26.7 ms
64 bytes from 5.196.53.144: icmp_seq=5 ttl=52 time=27.1 ms
64 bytes from 5.196.53.144: icmp_seq=6 ttl=52 time=26.4 ms
^C
--- 5.196.53.144 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 25.640/26.356/27.128/0.502 ms
user@user-ThinkPad-X200:~/Desktop$

Magic Banana

I am a member!

En ligne
A rejoint: 07/24/2010

Thanks Magic Banana, does this mean it is DNS (domain name server/system ) ?

Your DNS works for ping, although it does not for APT:
Could not resolve ‘archive.trisquel.info’
The weird characters could indicate /etc/apt/sources.list was written with a wrong charset. Nevertheless, you wrote that "the updater won't work, nor will any browsers" and, in your last post, that you need to use a different operating system "to get online". As a consequence, the problem is not specific to APT. I have no idea why DNS would only work for ping (and other programs?).

iceburn
Hors ligne
A rejoint: 12/07/2019

They both work online again ! All I did was open Pale Moon browser/preferences/Network/connection/Settings and changed from 'Use system proxy settings' to 'Auto-detect proxy settings for this network' and refreshed. Did similar for Abrowser and currently I'm online with X200 & Abrowser.

user@user-ThinkPad-X200:~/Desktop$ ping trisquel.info
PING trisquel.info (5.196.53.144) 56(84) bytes of data.
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=1 ttl=52 time=26.2 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=2 ttl=52 time=26.2 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=3 ttl=52 time=25.4 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=4 ttl=52 time=26.4 ms
64 bytes from www.trisquel.info (5.196.53.144): icmp_seq=5 ttl=52 time=26.6 ms
^C
--- trisquel.info ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 25.405/26.201/26.608/0.441 ms
user@user-ThinkPad-X200:~/Desktop$ ping 5.196.53.144
PING 5.196.53.144 (5.196.53.144) 56(84) bytes of data.
64 bytes from 5.196.53.144: icmp_seq=1 ttl=52 time=38.0 ms
64 bytes from 5.196.53.144: icmp_seq=2 ttl=52 time=27.7 ms
64 bytes from 5.196.53.144: icmp_seq=3 ttl=52 time=37.9 ms
64 bytes from 5.196.53.144: icmp_seq=4 ttl=52 time=38.1 ms
64 bytes from 5.196.53.144: icmp_seq=5 ttl=52 time=28.6 ms
64 bytes from 5.196.53.144: icmp_seq=6 ttl=52 time=30.3 ms
64 bytes from 5.196.53.144: icmp_seq=7 ttl=52 time=25.5 ms
^C
--- 5.196.53.144 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6008ms
rtt min/avg/max/mdev = 25.506/32.338/38.114/5.117 ms
user@user-ThinkPad-X200:~/Desktop$

Although I just had to redo the setup in Abrowser due to it forgetting when a new tab was opened.

And the updater works again.

Screenshot at 2022-10-01 16-59-58.png