搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

您需要登录才能回复。如果您还没账号,可以提出新问题