Weird output when trying to update

10 replies [Last post]
GrevenGull
Offline
Joined: 12/18/2017

when trying to $ sudo apt update I get this:

Ign:1 http://mirrors.serverhost.ro/trisquel/packages flidas InRelease
Ign:2 http://mirrors.serverhost.ro/trisquel/packages flidas-security InRelease
Ign:3 http://mirrors.serverhost.ro/trisquel/packages flidas-updates InRelease
Err:4 http://mirrors.serverhost.ro/trisquel/packages flidas Release
404 Not Found
Err:5 http://mirrors.serverhost.ro/trisquel/packages flidas-security Release
404 Not Found
Err:6 http://mirrors.serverhost.ro/trisquel/packages flidas-updates Release
404 Not Found
Reading package lists... Done
E: The repository 'http://mirrors.serverhost.ro/trisquel/packages flidas Release' does not have a Release file.
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.
E: The repository 'http://mirrors.serverhost.ro/trisquel/packages flidas-security Release' does not have a Release file.
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.
E: The repository 'http://mirrors.serverhost.ro/trisquel/packages flidas-updates Release' does not have a Release file.
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.

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> E: The repository 'http://mirrors.serverhost.ro/trisquel/packages
> flidas-security Release' does not have a Release file.

Yeah, that mirror has been down for a while. See:[1][2]

Edit /etc/apt/sources.list (with sudo) and change the url to a different mirror.[3] I'm using https://mirror.fsf.org/trisquel/

[1] https://trisquel.info/en/forum/sudo-apt-get-update-taking-too-long
[2] https://trisquel.info/en/forum/trisquel-users
[3] http://rsync.trisquel.info/

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

Or, graphically, use "Software & Updates" in MATE's "Control Center".

GrevenGull
Offline
Joined: 12/18/2017

Thanks Chaosmonk and MB, it seems to work now :)

FirstUser
Offline
Joined: 04/24/2018

I'll bump this thread to ask about something.

I faced the same problem on one of my laptops which I haven't been using for a while. But I installed the same Trisquel from the same iso in a virtual machine and it automatically had a good sources.list file. So:

1. Is the proper mirror resolvation performed when the system is being installed? How does it detect the proper mirrors on its own?
2. How was an ordinary person supposed to figure out the links have changed without making a thread? Was there a message I missed or something like that? Please, keep in mind I was lucky enough to face this on a laptop for casual use, but if this was a server or a workstation where I needed to install software ASAP it would be much, much worse.

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> How was an ordinary person supposed to figure out

No idea. I've submitted a bug report[1] and hope this gets addressed soon.

[1] https://trisquel.info/en/issues/24749

Magic Banana

I am a member!

Offline
Joined: 07/24/2010
  1. Probably running the software behind the button "Select Best Server" of the "Choose a Download Server" of "Software & Updates".
  2. Does the "Update Manager" displays an error message saying the download server is inaccessible? It may only pop up a 404 error though...
chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

A more detailed solution for me to link back to next time someone has this issue:

- From the main menu, launch System -> Administration -> Software & Updates
- Click on the dropdown menu labeled "Download from:"
- Select "Main Server"
- Click "Close"
- In the window that pops up, click "Reload"
- If update is successful, click "Install now"

FirstUser
Offline
Joined: 04/24/2018

Thanks for reporting this bug.

When the download server is not accessible, the update manager says:
"Failed to download repository information.
Check your Internet connection."

I tried to use the old, bad sources.list file, chose "Main server" in Software&Updates and it adjusted the sources file properly! I'll keep that in mind once something bad like this happens again.

Peace.

rottenDC
Offline
Joined: 12/17/2015

Thanks...

First it had to update the cache.
Then it said check Internet for software updates.
Then it downloaded a whole bunch of updates, particularly to Abrowser & LibreOffice and something called libglib, as well as python, .

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> First it had to update the cache.
> Then it said check Internet for software updates.
> Then it downloaded a whole bunch of updates, particularly to Abrowser &
> LibreOffice and something called libglib, as well as python, .

That was the expected behavior. Sounds like the issue is fixed.