Несколько дней назад apt-get прекратил успешно устанавливать пакеты.
Я использую Ubuntu Mate 18.04 на Raspberry Pi 2.
Я хочу установить Idle 3, чтобы сделать программу на Python. Но когда я запускаю sudo apt-get install idle3
, я получаю следующие ошибки:
Err:1 http://ports.ubuntu.com bionic-updates/universe armhf idle-python3.6 all 3.6.9-1~18.04
404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/p/python3.6/idle-python3.6_3.6.9-1~18.04_all.deb
404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Я выполнил apt-get update
перед выполнением этой команды. Это тоже не увенчалось успехом, хотя я этого не осознавал. Это выдало следующие ошибки:
Err:8 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Err:9 http://ports.ubuntu.com bionic/main i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Err:16 http://ports.ubuntu.com bionic-updates/main i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Err:35 http://ports.ubuntu.com bionic-security/main i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
Err:42 http://ports.ubuntu.com bionic-backports/main i386 Packages
404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release' does not have a Release file.
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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dtcooper.github.io/raspotify raspotify InRelease' doesn't support architecture 'i386'
Пожалуйста, помогите! Мне нужно уметь устанавливать пакеты!
REPOSITORIES INFO
/etc/apt/sources.list:deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
/etc/apt/sources.list:deb http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
/etc/apt/sources.list:deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
/etc/apt/sources.list:deb http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list.d/ubuntu-pi-flavour-makers-ubuntu-ppa-bionic.list:deb http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu bionic main
RELEASE INFO
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
KERNEL INFO
Linux raspberrypi 4.15.0-1060-raspi2 #64-Ubuntu SMP PREEMPT Wed Mar 25 18:03:34 UTC 2020 armv7l armv7l armv7l GNU/Linux
deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
Это не компонент i386. Кроме того, я не знаю, зачем вам пакеты i386 на Raspberry Pi.
Поэтому
Err:9 http://ports.ubuntu.com bionic/main i386 Packages
Попробуйте добавить перед строкой [arch=armhf,arm64]
, например:
deb [arch=armhf,arm64] http://ports.ubuntu.com/ bionic main restricted universe multiverse
И проверьте вывод dpkg --print-foreign-architectures
.
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release' does not have a Release file.
В этом репозитории нет бионического
компонента.