root@R2CPU:/# sudo apt-get install nmap
sudo: unable to resolve host R2CPU: Connection timed out
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libblas-common libblas3 libgfortran3 liblinear3 liblua5.3-0 libpython-stdlib
libpython2.7-minimal libpython2.7-stdlib libxslt1.1 ndiff python python-bs4
python-chardet python-html5lib python-lxml python-minimal
python-pkg-resources python-six python-webencodings python2.7
python2.7-minimal
Suggested packages:
liblinear-tools liblinear-dev python-doc python-tk python-genshi
python-lxml-dbg python-lxml-doc python-setuptools python2.7-doc
binfmt-support
The following NEW packages will be installed:
libblas-common libblas3 libgfortran3 liblinear3 liblua5.3-0 libpython-stdlib
libpython2.7-minimal libpython2.7-stdlib libxslt1.1 ndiff nmap python
python-bs4 python-chardet python-html5lib python-lxml python-minimal
python-pkg-resources python-six python-webencodings python2.7
python2.7-minimal
0 upgraded, 22 newly installed, 0 to remove and 24 not upgraded.
Need to get 217 kB/11.2 MB of archives.
After this operation, 43.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.debian.org/debian stretch/main armhf libxslt1.1 armhf 1.1.29-2.1
404 Not Found
E: Failed to fetch http://deb.debian.org/debian/pool/main/libx/libxslt/libxslt1.1_1.1.29-2.1_armhf.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@R2CPU:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 87000 0 87000 0% /dev
/dev/mmcblk1p2 3096336 1531440 1407612 53% /
tmpfs 254532 0 254532 0% /dev/shm
tmpfs 254532 6976 247556 3% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 254532 0 254532 0% /sys/fs/cgroup
tmpfs 50904 0 50904 0% /run/user/0
root@R2CPU:/#
난 이해가 안 돼요 E: Failed to fetch http://deb.debian.org/debian/pool/main/libx/libxslt/libxslt1.1_1.1.29-2.1_armhf.deb 404 Not Found
. 왜 이것이 작동하지 않습니까?
저는 데비안 9를 사용하고 있습니다.
답변1
먼저 색인을 업데이트해야 합니다.
sudo apt-get update
그 다음에
sudo apt-get install nmap
패키지 libxslt1.1
가 업데이트되었으며 이제 저장소에 버전 1.1.29-2.1+deb9u1이 포함되어 있으며, 인덱스에 나열된 버전(1.1.29-2.1)은 더 이상 사용할 수 없습니다.
인용한 출력의 마지막 줄을 살펴보십시오.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?