직장에서 여러 대의 컴퓨터에서 우분투 16.04를 사용합니다.엔터프라이즈 네트워크의 손상된 .deb 파일
각각의 데비안 패키지가 올바르게 다운로드 (손상)되지 않았습니다. apt-get을 가진
예 : 설명서의
이$ sudo apt-get install traceroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic linux-image-4.4.0-53-generic
linux-image-extra-4.4.0-53-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
traceroute
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.5 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 traceroute amd64 1:2.0.21-1 [45.5 kB]
Err:1 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 traceroute amd64 1:2.0.21-1
Hash Sum mismatch
Fetched 44.8 kB in 0s (477 kB/s)
E: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/universe/t/traceroute/traceroute_2.0.21-1_amd64.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
예 설치 : 당신이 볼 수 있듯이
$ curl http://fr.archive.ubuntu.com/ubuntu/pool/universe/t/traceroute/traceroute_2.0.21-1_amd64.deb -o traceroute_2.0.21-1_amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
95 45488 95 43538 0 0 353k 0 --:--:-- --:--:-- --:--:-- 354k
curl: (18) transfer closed with 1950 bytes remaining to read
$ sudo dpkg -i traceroute_2.0.21-1_amd64.deb
(Reading database ... 248576 files and directories currently installed.)
Preparing to unpack traceroute_2.0.21-1_amd64.deb ...
Unpacking traceroute (1:2.0.21-1) ...
dpkg-deb (subprocess): cannot copy archive member from 'traceroute_2.0.21-1_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive traceroute_2.0.21-1_amd64.deb (--install):
cannot copy extracted data for './usr/lib/libsupp.a' to '/usr/lib/libsupp.a.dpkg-new': unexpected end of file or stream
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
traceroute_2.0.21-1_amd64.deb
이 파일이 제대로 컬로 다운로드되지 않습니다 말림 : (18) transfer closed with 1950 bytes remaining to read
. wget도 문제를 해결하지 못합니다.
4G 연결 공유를 통해 명령이 완벽하게 작동한다는 점에 유의하십시오.
나는 도커를 통해 우분투 16.04 또는 16.10에서 시도 : 동일한 문제.
우분투 저장소 (main, uk, it, 등)가 변경되었습니다. 같은 문제가 발생했습니다.
저는 엔터프라이즈 관리자가 아니기 때문에이 (Windows) 엔터프라이즈 네트워크에서 어떤 일이 발생하는지 확인할 수 없습니다.
뭔가 특정 파일 형식이 손상되었습니다 (여기서는 .deb
).
어떤 해결 방법을 테스트 할 수 있습니까?