Could not resolve host: archive.trisquel.info
I installed Triquel 8 on an old Mac in my parents' basement. I want to use it as a NextCloud server and perhaps more. I set their Comcast router up to allow TCP ports 22, 80, and 443. I can ssh into it from my place, but I can't get apt to install anything or update. It tries, but says "Could not resolve host: archive.trisquel.info"
When I was at my folks, I could browse the internet just fine.
I really only want to use it to ssh into and run things like NextCloud and maybe email so I have the general sense that what I installed is overkill. Is there a preferred trisquel package for people who want to just use it for CLI remotely?
Back to my immediate problem: I've tried looking around on the forum, found one thing advising me to reinstall the network manager. Following is some of what happens when I do some of what was advised to someone else with a similar problem.
Thanks for you help!
Aaron
main@Parks:~$ ls /var/cache/apt/archives | grep network-manager | sed '/trisquel/d'
network-manager_1.2.6-0ubuntu0.16.04.3_amd64.deb
main@Parks:~$ sudo apt update && sudo apt upgrade
Err:1 https://archive.trisquel.info/trisquel flidas InRelease
Could not resolve host: archive.trisquel.info
Err:2 https://archive.trisquel.info/trisquel flidas-security InRelease
Could not resolve host: archive.trisquel.info
Err:3 https://archive.trisquel.info/trisquel flidas-updates InRelease
Could not resolve host: archive.trisquel.info
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
.
.
. (a bunch more errors follow that I've elided)
main@Parks:~$ sudo apt install network-manager=1.2.6-0ubuntu0.16.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
network-manager is already the newest version (1.2.6-0ubuntu0.16.04.3).
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
main@Parks:~$ apt policy network manager
N: Unable to locate package network
N: Unable to locate package manager
main@Parks:~$ ping google.com
ping: unknown host google.com
Are you able to run sudo commands while physically in front of the computer and are unable to do so from your own home?
Perhaps the networking card on the mac doesn't have libre drivers, but you said you can browse the internet just fine. Maybe it has to do with firewall settings?
I also have the network-manager package installed on my system and I cannot run it (I noticed you put network manager not network-manager) so I tried it out with the - and got command not found.
As far as CLI interfaces are involved you can use the Trisquel Netinstall to install the absolute minimum system. You can then just use the terminal to install exactly what you need.
Sorry I'm not of more help, hope you're able to solve it.
"Are you able to run sudo commands while physically in front of the computer and are unable to do so from your own home?"
I am able to run sudo commands from my own home. I cannot get physically in front of the computer, but I could ask my dad to do something if needed. It would have to be pretty simple.
"Perhaps the networking card on the mac doesn't have libre drivers, but you said you can browse the internet just fine. Maybe it has to do with firewall settings?"
I imagine it could have to do with the firewall settings, but the response to the command "apt policy network manager" seems like a sign that it's not the firewall.
"I also have the network-manager package installed on my system and I cannot run it (I noticed you put network manager not network-manager) so I tried it out with the - and got command not found."
This tip got me what seems like some diagnostic progress:
main@Parks:~$ apt policy network-manager
network-manager:
Installed: 1.2.6-0ubuntu0.16.04.3
Candidate: 1.2.6-0ubuntu0.16.04.3
Version table:
*** 1.2.6-0ubuntu0.16.04.3 500
500 https://archive.trisquel.info/trisquel flidas-security/main amd64 Packages
500 https://archive.trisquel.info/trisquel flidas-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.1.93-0ubuntu4 500
500 https://archive.trisquel.info/trisquel flidas/main amd64 Packages
Thanks for the tip about Trisquell Netinstall. I'll look into that if I can't get this to work.
Thanks for your response!
Aaron
Not being able to ping google.com bothered me, so I looked into that, grew to suspect my DNS, changed it per this post:
https://askubuntu.com/a/838353/656042
...and am now happily watching my apt upgrade and update.
Can anyone recommend better DNS than 8.8.8.8?
Thanks for your help!
FDN's DNS: https://www.fdn.fr/actions/dns/
It may just be that https://archive.trisquel.info was down when you tried.