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

Linux yum安裝pgsql出現(xiàn)Bad GPG signature錯誤

這篇具有很好參考價值的文章主要介紹了Linux yum安裝pgsql出現(xiàn)Bad GPG signature錯誤。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

官方文檔:https://www.postgresql.org/download/linux/redhat/

sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo yum install -y postgresql12-server
sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
sudo systemctl enable postgresql-12
sudo systemctl start postgresql-12

按照官方文檔操作執(zhí)行如下命令:

sudo yum install -y postgresql12-server

提示找不到,此時需要進行如下操作:

# 查找repo文件,復(fù)制pgdg-redhat-all.repo這個文件名
ls -l /etc/yum.repos.d/

error: failed to download metadata for repo 'pgdg-common': repomd.xml gpg si,linux,運維,服務(wù)器

# 編輯這個配置文件,將剛剛復(fù)制的文件名添加進去
vim /etc/yum/pluginconf.d/releasever_adapter.conf

error: failed to download metadata for repo 'pgdg-common': repomd.xml gpg si,linux,運維,服務(wù)器

繼續(xù)執(zhí)行:sudo yum install -y postgresql12-server

出現(xiàn)錯誤:Error: Failed to download metadata for repo 'pgdg-common': repomd.xml GPG signature verification error: Bad GPG signature

此時只需要修改安裝命令即可:文章來源地址http://www.zghlxwxcb.cn/news/detail-849523.html

sudo yum install -y --nogpgcheck postgresql12-server

到了這里,關(guān)于Linux yum安裝pgsql出現(xiàn)Bad GPG signature錯誤的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

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

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

相關(guān)文章

  • Nginx反向代理出現(xiàn)錯誤 502 bad gateway 案例解析

    Nginx + uwsgi + flask Flask框架寫的程序,使用uwsgi啟動,Nginx作為反向代理調(diào)用Flask應(yīng)用。 Flask應(yīng)用有些操作時間比較長,會超過1分鐘,在網(wǎng)頁端訪問會出現(xiàn)錯誤: 502 bad gateway。 Nginx的錯誤日志中會出現(xiàn)錯誤:upstream prematurely closed connection while reading response header from upstream 經(jīng)過網(wǎng)上

    2024年02月08日
    瀏覽(14)
  • vue H5跳轉(zhuǎn)小程序報錯:config:fail,Error: 系統(tǒng)錯誤,錯誤碼:63002,invalid signature

    vue H5跳轉(zhuǎn)小程序報錯:config:fail,Error: 系統(tǒng)錯誤,錯誤碼:63002,invalid signature

    【相關(guān)文檔】 微信開發(fā)者工具下載地址與更新日志 微信網(wǎng)頁開發(fā) /JS-SDK說明文檔 微信 JS 接口簽名校驗工具 全局返回碼說明 H5跳轉(zhuǎn)小程序報錯:config:fail,Error: 系統(tǒng)錯誤,錯誤碼:63002,invalid signature,如下: 查看文檔:錯誤碼:63002,invalid signature 表示無效的簽名: 確認簽名算

    2024年02月16日
    瀏覽(18)
  • 運行命令出現(xiàn)錯誤 /bin/bash^M: bad interpreter: No such file or directory

    運行命令出現(xiàn)錯誤 /bin/bash^M: bad interpreter: No such file or directory

    在系統(tǒng)上運行一個 Linux 的命令的時候出現(xiàn)下面的錯誤信息: -bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory 這個是在 Windows 作為 WSL 的時候出的錯誤。 出現(xiàn)問題的原因在于腳本在 Windows 中使用的回車換行和 Linux 使用的回車換行不一樣。 如果你的代碼是在 Windows 下被

    2024年02月11日
    瀏覽(23)
  • Ubuntu中使用yum命令出現(xiàn)錯誤提示:Command ‘yum‘ not found, did you mean:

    Ubuntu中使用yum命令出現(xiàn)錯誤提示:Command ‘yum‘ not found, did you mean:

    command ‘gum’ from snap gum (0.12.0) command ‘num’ from deb quickcal (2.4-1) command ‘yum4’ from deb nextgen-yum4 (4.5.2-6) command ‘uum’ from deb freewnn-jserver (1.1.1~a021+cvs20130302-7build1) command ‘sum’ from deb coreutils (8.32-4.1ubuntu1) command ‘zum’ from deb perforate (1.2-5.1) See ‘snap info ’ for additional versions.

    2024年02月04日
    瀏覽(18)
  • 如何在linux服務(wù)器部署pgsql,安全版以及可能出現(xiàn)各種問題解決(保姆級教程)

    如何在linux服務(wù)器部署pgsql,安全版以及可能出現(xiàn)各種問題解決(保姆級教程)

    提示:市面上那些在linux服務(wù)器部署pgsql好多都是水貨,效果良莠不齊,筆者花了兩天時間成功部署了pgsql,記錄下方便自己以后部署,也方便其他有需要的碼農(nóng) 服務(wù)器環(huán)境: postgresql版本 堅決不要通過鏡像下載,道路千萬條,安全第一條,鏡像源不一定安全,自己老老實實去

    2023年04月08日
    瀏覽(17)
  • UG安裝問題:載入Java VM時Windows出現(xiàn)錯誤:2 and 初始化錯誤NX License Error:The desired vendor daemon is down。[-97]

    UG安裝問題:載入Java VM時Windows出現(xiàn)錯誤:2 and 初始化錯誤NX License Error:The desired vendor daemon is down。[-97]

    在網(wǎng)上找了很多方法,最后成功的方法來源這篇文章,https://jingyan.baidu.com/article/1e5468f9ae0c84484961b7e5.html。 在運行Launch.exe中Install License Server時,直接使用SPLMLicenseServer_v6.4.2_win64_setup.exe來運行即可, 在程序所在目錄行輸入cmd,運行代碼 即可成功解決問題。 將ugslmd.exe文件放入

    2024年02月10日
    瀏覽(21)
  • 安裝docker-compose出現(xiàn)錯誤html: No such file or directory syntax error near unexpected token `<‘ <head><t

    安裝docker-compose出現(xiàn) /usr/local/bin/docker-compose: line 1: html: No such file or directory /usr/local/bin/docker-compose: line 2: syntax error near unexpected token \\\' \\\'usr/local/bin/docker-compose: line 2: 502 Bad Gateway 錯誤 解決 重新安裝docker-compose,國內(nèi)的有些快捷方式有些是有問題的,可能短期內(nèi)能夠使用,時間長

    2024年02月12日
    瀏覽(17)
  • cv2保存圖片類型錯誤執(zhí)行報錯cv2. error: OpenCV(4.6.0) :-1: error: (-5:Bad argument) in function ‘imwrite‘ - img i

    硬件環(huán)境(Ascend/GPU/CPU): GPU 軟件環(huán)境: – MindSpore 版本: 1.7.0 執(zhí)行模式: 靜態(tài)圖(GRAPH) – Python 版本: 3.7.6 – 操作系統(tǒng)平臺: linux 將優(yōu)化好的圖像用cv2進行圖片保存,由于沒有將tensor轉(zhuǎn)換為numpy,導(dǎo)致cv2.imwrite運行失敗。 adversarial_tensor, mask_tensor = adversarial.train(attack_method) cv2.imwrit

    2024年02月17日
    瀏覽(22)
  • Centos yum install出現(xiàn)Error: Unable to find a match: epel-release的解決方案

    Centos yum install出現(xiàn)Error: Unable to find a match: epel-release的解決方案

    ??大家好,我是愛編程的喵喵。雙985碩士畢業(yè),現(xiàn)擔任全棧工程師一職,熱衷于將數(shù)據(jù)思維應(yīng)用到工作與生活中。從事機器學習以及相關(guān)的前后端開發(fā)工作。曾在阿里云、科大訊飛、CCF等比賽獲得多次Top名次?,F(xiàn)為CSDN博客專家、人工智能領(lǐng)域優(yōu)質(zhì)創(chuàng)作者。喜歡通過博客創(chuàng)作

    2024年02月12日
    瀏覽(91)
  • Linux yum 運行時提示編碼問題錯誤

    報錯: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal 解決: 這個報錯是編碼問題導(dǎo)致的 在文件頭加上 # -*- coding:utf-8 -*- 對需要比較的中文字符變量如: label = label.decode(\\\'utf-8\\\') 具體實例: 問題展示: 問題解決: 再次測試:

    2024年02月16日
    瀏覽(30)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

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

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包