Failed to Download Repository information

14 Antworten [Letzter Beitrag]
WAGMI_99
Offline
Beigetreten: 10/29/2021

Hi everyone,

I am a newer Linux user and am having trouble updating my software on trisquel.

When I go to Software Updater, it shows me this message: "Failed to download repository information. Check your internet connection".

I tried updating certificates via terminal and that didnt work either.

Any advice on how to fix this?

jxself
Offline
Beigetreten: 09/13/2010

"I am a newer Linux user and am having trouble updating my software on trisquel."

There's supposed to be a GNU in there somewhere. :)

https://www.gnu.org/gnu/gnu-users-never-heard-of-gnu.html

More information is needed about why it's failing. Can you provide that? Maybe try in the terminal:

sudo apt update && sudo apt upgrade

Please share the entire uncensored output.

WAGMI_99
Offline
Beigetreten: 10/29/2021

GNU/Linux! You're right.

I have attached the output from the terminal after typing in that command

Screenshot at 2021-10-30 15-29-15.png
Legimet
Offline
Beigetreten: 12/10/2013

It looks like there's a problem with your sources.list, concerning the AdoptOpenJDK repository. You should replace <codename> with bionic, which is the Ubuntu version that Trisquel etiona is based on.

WAGMI_99
Offline
Beigetreten: 10/29/2021

What would the new command be that I enter in terminal?

loldier
Offline
Beigetreten: 02/17/2016

sudo nano /etc/apt/sources.list

WAGMI_99
Offline
Beigetreten: 10/29/2021

Heres the output

Screenshot at 2021-10-30 15-50-08.png
Legimet
Offline
Beigetreten: 12/10/2013

Exit by pressing Ctrl+X. Then type
ls /etc/apt/sources.list.d
What is the output?

WAGMI_99
Offline
Beigetreten: 10/29/2021

adoptopenjdk.list ivpn.list signal-xenial.list

Legimet
Offline
Beigetreten: 12/10/2013

OK, now do this:
sudo sed -i 's/<codename>/bionic/g' /etc/apt/sources.list.d/adoptopenjdk.list
This should replace <codename> with bionic, the proper codename.

WAGMI_99
Offline
Beigetreten: 10/29/2021

Perfect. Here is the output

Screenshot at 2021-10-30 16-08-32.png
Legimet
Offline
Beigetreten: 12/10/2013

I think everything should work now.

WAGMI_99
Offline
Beigetreten: 10/29/2021

Perfect. Looks like that worked! Thank you.

Now, everytime there is an update, I assume it should automatically be installed?

Screenshot at 2021-10-30 16-13-57.png
loldier
Offline
Beigetreten: 02/17/2016

Read this to turn on auto-updates.

https://trisquel.info/en/wiki/keeping-system-updated

Auto-updates are disabled by default in Trisquel.

WAGMI_99
Offline
Beigetreten: 10/29/2021

Awesome, thanks a ton. Mine was set to automatically update, which is good. Enjoy the rest of your day.