[精讚] [會員登入]
762

在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

你可能感興趣的文章

在新版谷歌協作平台嵌入edimax或lass空氣盒子讀取數值並視覺化 embeeded javascript to read and visualized lass json value on new google site

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

在ubuntu18.04桌面版安裝中文注音輸入法 如何在ubuntu桌面使用新酷音注音輸入法

debian安裝drupal細節 設定apache2的細節

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

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

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

bitbucket repository control application setup 安裝完bitbucket服務後,須設定bitbucket.properties

新增IDP程式使用google防機器人的驗證功能 身份認證程式新增google防機器人v2

IIS10設定url rewrite to https if you setup url rewrite function in IIS10, might cause api callback failed

更新程式環境到wildfly18+openjdk11-phase4: 認證程式更新 認證程式更新

系統不正常關機導致mongodb啟動失敗 重新安裝mongodb使用mongorestore