国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

【Ubuntu升級報錯】“the following signatures couldn’t be verified because the public key is not available”

這篇具有很好參考價值的文章主要介紹了【Ubuntu升級報錯】“the following signatures couldn’t be verified because the public key is not available”。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

報錯界面

在ubuntu中運行apt-get update時,有時會出現(xiàn)如下報錯

ubuntu@ubuntu-virtual-machine:~$ sudo apt update
[sudo] password for ubuntu: 
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                
Err:1 http://dl.google.com/linux/chrome/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
Hit:3 http://id.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:5 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:7 http://packages.ros.org/ros/ubuntu bionic InRelease                      
Reading package lists... Done                        
Building dependency tree       
Reading state information... Done
468 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
W: Some index files failed to download. They have been ignored, or old ones used instead.

如果不去解決,無法繼續(xù)進行后續(xù)的升級操作

ubuntu@ubuntu-virtual-machine:~$ sudo apt upgrade
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

這是由apt包系統(tǒng)的安全機制引起的問題,有時系統(tǒng)無法包含所有的key。此處有快速修復(fù)的辦法,即將缺少的key加進去即可。
觀察里面的報錯,其實是4EB27DB2A3B88B8B(請注意,每個人的KEY會不一樣,所以需要從自己的報錯信息中找出對應(yīng)的值,替換到下面的指令,如果是多個key,相應(yīng)的發(fā)送多條指令即可),這個key缺失,因此只要將其加入即可,可使用如下指令:

ubuntu@ubuntu-virtual-machine:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B
Executing: /tmp/apt-key-gpghome.6DtlfeE5p7/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B
gpg: key 7721F63BD38B4796: "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" 1 new signature
gpg: key 7721F63BD38B4796: "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" 1 new subkey
gpg: key 7721F63BD38B4796: "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" 2 signatures cleaned
gpg: Total number processed: 1
gpg:            new subkeys: 1
gpg:         new signatures: 1
gpg:     signatures cleaned: 2

后續(xù)即可正常進行升級操作文章來源地址http://www.zghlxwxcb.cn/news/detail-519638.html

到了這里,關(guān)于【Ubuntu升級報錯】“the following signatures couldn’t be verified because the public key is not available”的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • git pull報錯:error: Your local changes to the following files would be overwritten by merge:

    合作項目,之前用筆記本把代碼做了一些修改、提交,修改完成。第二天忘了先 git pull 到本地,直接進行編寫,突然想起忘了 pull 了,然后想用 git pull 來更新本地代碼,結(jié)果報錯: error: Your local changes to the following files would be overwritten by merge: 意思是我本地上新修改的代碼的

    2024年02月04日
    瀏覽(91)
  • IDEA GIt切換分支報錯:Your local changes to the following files would be overwritten by Checkout.

    IDEA GIt切換分支報錯:Your local changes to the following files would be overwritten by Checkout.

    一、前言 在我們本地有未commit的文件時,使用IDEA切換分支的時候會報如圖所示錯誤: 意思就是對當(dāng)前分支文件的更改會被Checkout覆蓋。可以擱置更改然后簽出和取消擱置。 二、解決辦法 方案1、將文件commit 方案二、stash方式 三、Git命令 Terminal輸入命令如下 推薦使用第二種方

    2024年02月02日
    瀏覽(25)
  • 【git】git報錯:git checkout xxx error: The following untracked working tree files would be overwritten b

    git報錯:git checkout xxx error: The following untracked working tree files would be overwritten by checkout: README.md Please move or remove them before you switch branches. Aborting 這個錯誤是因為在切換分支時,有一個未跟蹤的文件(README.md)會被覆蓋。解決方法有兩種: 移動或刪除未跟蹤的文件:你可以將R

    2024年02月16日
    瀏覽(17)
  • git pull時候報錯:the following untracked working tree files would be overwriteten by merge?——git三板斧

    git pull時候報錯:the following untracked working tree files would be overwriteten by merge?——git三板斧

    這個錯誤通常在使用 git pull 命令拉取代碼時出現(xiàn),它表示在合并操作中,有一些未跟蹤的文件會被覆蓋。 這種情況通常發(fā)生在 你本地的工作區(qū)中有一些未添加到版本控制的文件 ,而遠(yuǎn)程倉庫上的代碼發(fā)生了變化,并且這些變化會覆蓋到你本地的未跟蹤文件。 為了解決這個

    2024年02月09日
    瀏覽(30)
  • Ubuntu20.04安裝軟件報錯:The following packages have unmet dependencies

    Ubuntu20.04安裝軟件報錯:The following packages have unmet dependencies

    Ubuntu20.04更換阿里云源后安裝軟件都會報錯:The following packages have unmet dependencies 查看資料,大概是ubuntu本身的源比較版本較老,而阿里云的源比較新,因此版本不匹配造成依賴的庫不匹配,所以只要將阿里云的源換回Ubuntu官方源 1,替換源 : Ubuntu 的軟件源配置文件是 /etc/

    2024年02月11日
    瀏覽(22)
  • Jenkins構(gòu)建失敗提示ERROR: Couldn‘t find any revision to build. Verify the repository and branch ...

    Jenkins構(gòu)建失敗提示ERROR: Couldn‘t find any revision to build. Verify the repository and branch ...

    問題現(xiàn)象 :在jenkins的使用過程中,創(chuàng)建好項目后,執(zhí)行構(gòu)建的后,任務(wù)失敗,查詢控制臺輸出打印如下: ?錯誤提示為:ERROR: Couldn\\\'t find any revision to build. Verify the repository and branch configuration for this job. 問題原因: Jenkins調(diào)用git時用了默認(rèn)的*/master,而gitlab默認(rèn)使用的是main,打

    2024年02月11日
    瀏覽(21)
  • 問題記錄:jenkins流水線報錯ERROR: Couldn‘t find any revision to build. Verify the repository and branch config

    注意配置的gitlab倉庫地址是否正確, 是否少一個端口號 ,這是gitlab本身問題,導(dǎo)致的URL不正確。 gitlab配置不正確時可能如下: git@1 92 .1 68 . 130 . 1 31/ xxx / yyy .git 也就是clone時去訪問80端口去了? 而實際上宿主機80端口已被占用為其他組件的訪問地址,此時去訪問80的 xxx/yyy.

    2024年02月03日
    瀏覽(24)
  • 已解決The following specifications were found to be incompatible with the existing python installation

    已解決The following specifications were found to be incompatible with the existing python installation 下滑查看解決方法 The following specifications were found to be incompatible with the existing python installation 對于 “The following specifications were found to be incompatible with the existing python installation” 的問題有幾種可能

    2024年02月08日
    瀏覽(27)
  • error: The following untracked working tree files would be overwritten by merge:

    error: The following untracked working tree files would be overwritten by merge: 翻譯一下就是: 錯誤:以下未跟蹤的工作樹文件將被合并覆蓋: 問題分析: 問題出在 Error 所列出的文件在本地的當(dāng)前分支下未授權(quán)給 git 追蹤,但同樣命名的文件,也即出現(xiàn)在另一個(遠(yuǎn)程)分支下的同一文件卻

    2024年02月11日
    瀏覽(22)
  • Your local changes to the following files would be overwritten by checkout

    Your local changes to the following files would be overwritten by checkout

    Git 之 Your local changes to the following files would be overwritten by checkout 今天在切換分支時遇到了這樣一個問題: 首先翻譯下: Your local changes to the following files would be overwritten by checkout 大致意思就是: 當(dāng)前分支有未跟蹤的文件,checkout會覆蓋他們,IntelliJ IDEA 會擱置改變,在那之后

    2024年02月14日
    瀏覽(97)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包