Search 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.

Learn More

Ubuntu 24.04 apt-get update returns a 400

  • Atsakymų nėra
  • 0 have this 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.

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.