В течение нескольких месяцев я не мог понять, почему я не мог обновиться, поэтому я просто оставил его в покое.
Однажды, когда я устанавливал рабочий стол Ubuntu на свой компьютер с Windows, я столкнулся с той же проблемой. И мой компьютер с Linux и Windows подключены к Интернету через кабель Ethernet. Поэтому тот факт, что я получил ту же ошибку на другом компьютере, заставил меня подумать, что это проблема IP. Поэтому я переключил свое соединение (в моих окнах) с Ethernet на Wi-Fi, и это сработало.
К сожалению, в моем Linux нет адаптера Wi-Fi. Мне тоже не дают установить.
Почему я могу обновить sudo apt-get при подключении через Wi-Fi, но не через Ethernet?
sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
ошибка:
Err:1 http://packages.ros.org/ros/ubuntu focal InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 140.211.166.134 80]
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Err:3 http://security.ubuntu.com/ubuntu focal-security InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.91.38 80]
Hit:4 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Err:5 http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu focal InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
Err:6 http://archive.ubuntu.com/ubuntu focal InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.88.152 80]
Hit:7 https://dl.google.com/linux/chrome/deb stable InRelease
Err:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
Err:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.88.152 80]
Err:10 http://ppa.launchpad.net/rock-core/qt4/ubuntu focal InRelease
403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://packages.ros.org/ros/ubuntu focal InRelease' is not signed.
E: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/focal/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 140.211.166.134 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.91.38 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu focal InRelease' is not signed.
E: Failed to fetch http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu/dists/focal/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.88.152 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease' is not signed.
E: Failed to fetch http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/dists/focal/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.88.152 80]
E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/rock-core/qt4/ubuntu/dists/focal/InRelease 403 Forbidden: header 'Content-Type' value denied [IP: 91.189.95.85 80]
E: The repository 'http://ppa.launchpad.net/rock-core/qt4/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.