Если я использую apt-get install git
Я получаю следующие ошибки:
Err:1 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf git- man all 1:2.7.4-0ubuntu1.3 404 Not Found [IP: 91.189.88.150 80]
Err:2 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf git armhf 1:2.7.4-0ubuntu1.3 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git-man_2.7.4-0ubuntu1.3_all.deb 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git_2.7.4-0ubuntu1.3_armhf.deb 404 Not Found [IP: 91.189.88.150 80]
Подобные ошибки брошены, когда я устанавливаю любой другой пакет.
Я изменял мой sources.list
файл, но ничто, кажется, не помогает.
Вот содержание моего sources.list
файл:
deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
Вывод apt-get update
:
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu xenial InRelease' doesn't support architecture 'armhf'
E: Failed to fetch http://ports.ubuntu.com/ubuntu ports/dists/xenial/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Интересно, когда я посещаю 91.189.88.150 из своего браузера, он приводит к апачской тестовой странице сервера по умолчанию.
Мой sources.list.d каталог, кажется, пуст.
Я был бы очень признателен за любой совет
Репозиторий портов Ubuntu не включает x86 пакетов, который является, почему Вы видите эти ошибки:
E: Failed to fetch http://ports.ubuntu.com/ubuntu ports/dists/xenial/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
Из-за этих ошибок не был загружен никакой список пакета из этого репозитория. Таким образом, armhf пакеты, которые были бы в других отношениях доступны, не.
Так как Вы, кажется, не используете i386 repos, просто не удаляете это и не работаете apt-get update
снова:
sudo dpkg --remove-architecture i386
sudo apt update
ports.ubuntu.com
списки пакета должны теперь быть загружены в /var/lib/apt/lists/
, и пакеты должны быть доступными.