can't update with aptitude

2 respostas [Última entrada]
kerdadit
Desconectado
Joined: 06/06/2018

Hi everyone,

I am currently using Trisquel 7. Whenever I try to do an =apt update= I am getting this error:

```
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/belenos/stable/binary-amd64/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
```

I'm a novice at administrating a GNU/Linux system. It might help if I mention that I might have accidentally updated "Trisquel base" through the default updater which pops up, and this problem seems to have started after that. I have tried changing the server which the updates are downloaded from, but it didn't seem to help.

Does anyone know what would cause this error? Ultimately I'd like to update this laptop from Trisquel 7 to 8, and booting from a USB doesn't work for that purpose either. It is a Libiquity Taurinus X200, if that is relevant.

Thanks for any insight you can offer.

J.B. Nicholson-Owens
Desconectado
Joined: 06/09/2014

name at domain wrote:
> I am currently using Trisquel 7. Whenever I try to do an =apt update= I am
> getting this error:
>
> W: Failed to fetch
> https://download.docker.com/linux/ubuntu/dists/belenos/stable/binary-amd64/Packages
>  HttpError404

That URL is currently returning a 404 error (this resource is not found on
the server). Hence you're told:

> E: Some index files failed to download. They have been ignored, or old ones
> used instead.

name at domain wrote:
> Does anyone know what would cause this error?

I think you need to contact the administrators of download.docker.com to
learn why you're getting this error. It would be good for you to know if
you have the correct URL or if this is a temporary service outage.

But you have options.

- Wait and see if the following command:

wget --spider --server-response
'https://download.docker.com/linux/ubuntu/dists/belenos/stable/binary-amd64/Packages'

returns something other than a 404 error. If and when that happens, try
updating again.

- Perhaps there is a mirror of this repository somewhere else you could use
instead of the copy at download.docker.com? If so, consider substituting
that mirror for the mirror at download.docker.com.

- Do you really need that repository at all to do the updating? Consider
commenting out that repository (which is the same as removing that
repository but making it easy to restore that repository if needed) and see
if the rest of the update proceeds as needed.

kerdadit
Desconectado
Joined: 06/06/2018

Thanks J.B. Nicholson-Owens,

I will give your suggestion a try. I don't need that docker, I actually thought I had deleted docker, but it still keeps trying to fetch that for some reason. I didn't know you could edit that, so it's nice to learn something new.

I have commented that out from /etc/apt/sources.list

So now I'll try to upgrade to Trisquel 8 and see if it works!