Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Ubuntu 24.04 apt-get update returns a 400

  • Ingen svar
  • 0 har dette problem
more options

I did see the question here: https://support.mozilla.org/en-US/questions/1448269

And the answer is not useful, mainly because apt-get does not use a browser to update its cache.

Err:16 https://packages.mozilla.org/apt mozilla/main all Packages

 400  Bad Request [IP: 34.160.78.70]

E: Failed to fetch https://packages.mozilla.org/apt/dists/mozilla/main/binary-all/Packages 400 Bad Request [IP: 34.160.78.70 443] E: Some index files failed to download. They have been ignored, or old ones used instead.

Using curl/wget/httpie works as intended, just apt-get update fails.

Any help would be appreciated.

I did see the question here: https://support.mozilla.org/en-US/questions/1448269 And the answer is not useful, mainly because apt-get does not use a browser to update its cache. Err:16 https://packages.mozilla.org/apt mozilla/main all Packages 400 Bad Request [IP: 34.160.78.70] E: Failed to fetch https://packages.mozilla.org/apt/dists/mozilla/main/binary-all/Packages 400 Bad Request [IP: 34.160.78.70 443] E: Some index files failed to download. They have been ignored, or old ones used instead. Using curl/wget/httpie works as intended, just apt-get update fails. Any help would be appreciated.

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.