[精讚] [會員登入]
969

在debian9使用apt-key

add gpg key from ubuntu keyserver

分享此文連結 //n.sfs.tw/12877

分享連結 在debian9使用apt-key@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2018-12-10 11:40:42 最後編修
2018-11-05 13:03:01 By jung
 

嘗試使用apt-get方式安裝jdk卡關

問題出在: apt-key adv --keyserver keyserver.ubuntu.com這個指令使用的連線可能被防火牆擋住

網路上蒐到可能是ipv6連線問題,改了time-out時間還是沒用,不過可以參考
 

I figured out how to get apt-get to work again.

Edit gai.conf:

sudo vim /etc/gai.conf

change line ~54 to uncomment the following:

precedence ::ffff:0:0/96  100

write and quit:

後來強迫apt-key使用80 port才成功

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80

安裝oracle java8要照下列步驟才會成功

sudo apt-get install software-properties-common

sudo add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"

sudo apt-get update
sudo apt-get install oracle-java8-installer

ubuntu使用debian版本對照

END

你可能感興趣的文章

使用群暉NAS內建VPN SERVER套件的OPENVPN功能注意事項 使用群暉NAS內建VPN SERVER套件的OPENVPN功能注意事項

ubuntu18.04網路設定無法啟動問題 network connection failed due to networkmanager settings

設定win10開機自動執行openvpn連接vpn server how to make win10 connecting to a vpn server automactically after booting up

How to deal windows10 with lost bootloader issue 如何修復Windows 10 丟失UEFI引導 (bootloader)無法開機

使用bash script 顯示及比較記憶體剩餘用量 How to get the available memory reported as a percentage then compare Numbers and Strings in Linux Shell Script

zfs on ubuntu 20.04 how to destroy zfs pool while error message said pool is busy

隨機好文

proxmox5.x using duplicati as cloud backup strategy install duplicati program on Proxmox host for remote backup using google drive account

在IDEA從JDK8升級到JDK11遇到的奇怪問題 在IDEA遇到的JAVA11函式庫引入問題

縣市端新增師生關係API程式 在縣市端建立可由教育部主機撈取縣市資料庫師生關係的API 程式

JIRA instance migration phase1 how to migrate JIRA from centos6 to centos7

How to deal windows10 with lost bootloader issue 如何修復Windows 10 丟失UEFI引導 (bootloader)無法開機