搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Ubuntu 24.04 apt-get update returns a 400

  • 無回覆
  • 0 有這個問題
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.

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題