패키지를 설치하거나 업데이트하려고하면 다음과 같은 결과가 나타납니다.
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
나는 이것이 내가 업데이트 할 때 발생하는 오류와 관련이 있다고 생각합니다.
$ sudo aptitude update
Get: 1 http://ftp.us.debian.org wheezy InRelease [208 kB]
Get: 2 http://debian.lcs.mit.edu wheezy InRelease [208 kB]
Ign http://ftp.us.debian.org wheezy InRelease
Hit http://ftp.us.debian.org wheezy/main amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/contrib amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/non-free amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/contrib Translation-en
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://ftp.us.debian.org wheezy/non-free Translation-en
Get: 3 http://debian.lcs.mit.edu wheezy-updates InRelease [116 kB]
Ign http://debian.lcs.mit.edu wheezy InRelease
Ign http://debian.lcs.mit.edu wheezy-updates InRelease
Hit http://debian.lcs.mit.edu wheezy/main Sources/DiffIndex
Hit http://debian.lcs.mit.edu wheezy/main amd64 Packages/DiffIndex
Hit http://debian.lcs.mit.edu wheezy/main Translation-en
Ign http://ftp.us.debian.org wheezy/contrib Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Sources/DiffIndex
Ign http://debian.lcs.mit.edu wheezy-updates/main amd64 Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/main Translation-en_US
Ign http://ftp.us.debian.org wheezy/non-free Translation-en_US
Hit http://debian.lcs.mit.edu wheezy-updates/main Sources
Hit http://debian.lcs.mit.edu wheezy-updates/main amd64 Packages
Ign http://debian.lcs.mit.edu wheezy/main Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Translation-en
Fetched 531 kB in 1s (304 kB/s)
W: GPG error: http://ftp.us.debian.org wheezy InRelease: Unknown error executing gpgv
W: GPG error: http://debian.lcs.mit.edu wheezy InRelease: Unknown error executing gpgv
W: GPG error: http://debian.lcs.mit.edu wheezy-updates InRelease: Unknown error executing gpgv
나는 열쇠 고리를 다시 설치하려고 노력했다 :
sudo aptitude reinstall debian-archive-keyring
(놀랍게도 경고를 일으키지 않는다).
답변
이것을 시도하십시오 :
터미널을 열고 다음 명령을 실행하십시오.
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get clean
sudo apt-get update
답변
APZ의 답변을 읽었 지만 적성 을 사용하고 싶을 때 다음 명령을 성공적으로 실행했습니다.
# clean the obsolete cache
sudo aptitude clean
# update the package information
sudo aptitude update
# install or upgrade the packages
sudo aptitude install <list of packages to upgrade/install>
오류는 아마도 오래된 apt 캐시 내용과 관련이 있지만 내가 얻은 오류 메시지는 약간 다릅니다.
경고 : 다음 패키지의 신뢰할 수없는 버전이 설치됩니다!
답변
데비안 버그 # 657561에 맞은 것 같습니다 . 문제가있는 / var / lib / apt / lists / * InRelease 파일을 이동하고 apt-get 업데이트를 다시 실행할 수 있습니다.