2017-10-04 31 views
0

試圖Debian軟件包從無符號庫安裝Debian的9安裝Debian軟件包:如何從無符號庫

# apt-get --allow-unauthenticated update 
Get:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease [3,196 B] 
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease 
Ign:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease 
Ign:3 http://debianmirror.nkn.in/debian stretch InRelease 
Hit:4 http://debianmirror.nkn.in/debian stretch Release 
Fetched 3,196 B in 1s (1,940 B/s) 
Reading package lists... Done 
W: GPG error: http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD3189F5A2B57698 
W: The repository 'http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease' is not signed. 
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. 
N: See apt-secure(8) manpage for repository creation and user configuration details. 

但我需要它。我該怎麼做?感謝名單!

回答

2

在用於不可信庫的條目的sources.list,可以添加「[可信= YES]」(帶方括號中)的條目的第一兩個元件之間,如在deb [trusted=yes] http://...

這將打開將錯誤轉化爲警告,因爲它在過去的Debian版本中已經默認,而不必完全禁用簽名驗證

相關問題