나는 다음과 같은 시스템을 가지고 있습니다 :
:~$ dpkg --print-architecture
amd64
:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
내가 시도할 때
sudo dpkg --add-architecture armhf
sudo apt-get update
오류 메시지가 나타납니다
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1560:8001::14 80]
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1560:8001::14 80]
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1560:8001::14 80]
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1560:8001::14 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://extras.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::23 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-armhf/Packages 404 Not Found [IP: 141.76.1.204 80]
armhf 콘텐츠를 추가하려면 어떻게 해야 하나요?
답변1
포트 armhf
는 기본 아카이브가 아닌 포트 아카이브에서 호스팅됩니다. 관련 인덱스와 패키지를 찾으려면 apt
다음을 수행해야 합니다.
예를 들어,
/etc/apt/sources.list
기존 항목을 다음과 같이 한정하십시오.[arch=amd64]
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
armhf
다음 과 같은 항목을 추가하세요 .deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports trusty main restricted universe multiverse
(필요에 따라 각 14.04 저장소에 대해 반복합니다).
완료되면 제대로 작동하고 라이브러리를 apt-get update
설치할 수 있습니다 .armhf