มันทำงานได้เป็นร้อยครั้งในไปป์ไลน์ ci/cd ของฉัน แต่จู่ๆ ก็หยุดทำงานและไม่รู้ว่าฉันจะทำอะไรพังได้บ้าง
ตาม นี้ และ/หรือ นี้, ฉันทำ:
lsb_release -cs # สำหรับการดีบักเท่านั้น
โฟกัส
echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list
wget --เงียบ -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key เพิ่ม -
เพียงเพื่อแก้ไขข้อบกพร่อง:
แมว /etc/apt/sources.list.d/pgdg.list
deb https://apt.postgresql.org/pub/repos/apt focal-pgdg หลัก
แล้ว apt-รับการปรับปรุง
:
รับ:1 http://dl.google.com/linux/chrome/deb InRelease ที่เสถียร [1811 B]
รับ:2 https://apt.corretto.aws InRelease ที่เสถียร [10.7 kB]
รับ: 3 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.8 kB]
รับ:4 https://dl.yarnpkg.com/debian เสถียร InRelease [17.1 kB]
รับ:5 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
รับ:6 http://dl.google.com/linux/chrome/deb stable/main amd64 แพ็คเกจ [1,092 B]
รับ:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
รับ:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
รับ: 9 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
รับ: 10 https://apt.corretto.aws เสถียร/หลัก amd64 แพ็คเกจ [6233 B]
รับ:11 https://apt.corretto.aws แพ็คเกจ i386 ที่เสถียร/หลัก [2115 B]
รับ:12 http://archive.canonical.com/ubuntu focal InRelease [12.1 kB]
รับ: 13 https://dl.yarnpkg.com/debian เสถียร/main i386 แพ็คเกจ [10.5 kB]
รับ: 14 https://dl.yarnpkg.com/debian เสถียร/main amd64 แพ็คเกจ [10.5 kB]
รับ: 15 https://dl.yarnpkg.com/debian เสถียร/หลัก แพ็คเกจทั้งหมด [10.5 kB]
รับ: 16 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main i386 แพ็คเกจ [3165 B]
รับ: 17 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 แพ็คเกจ [3170 B]
รับ: 18 http://archive.ubuntu.com/ubuntu focal/universe แพ็คเกจ i386 [5999 kB]
รับ:19 http://archive.ubuntu.com/ubuntu focal/universe แพ็คเกจ amd64 [11.3 MB]
รับ: 20 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 แพ็คเกจ [177 kB]
รับ:21 http://archive.ubuntu.com/ubuntu focal/main amd64 แพ็คเกจ [1275 kB]
รับ: 22 http://archive.ubuntu.com/ubuntu focal/restricted amd64 แพ็คเกจ [33.4 kB]
รับ: 23 http://archive.ubuntu.com/ubuntu focal/main แพ็คเกจ i386 [930 kB]
รับ:24 http://archive.canonical.com/ubuntu focal/partner amd64 แพ็คเกจ [801 B]
รับ:25 http://archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]
รับ:26 http://archive.ubuntu.com/ubuntu focal/multiverse แพ็คเกจ i386 [88.9 kB]
รับ:27 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [632 kB]
รับ:28 http://archive.ubuntu.com/ubuntu focal-updates/universe แพ็คเกจ amd64 [1081 kB]
รับ:29 http://archive.ubuntu.com/ubuntu focal-updates/multiverse แพ็คเกจ i386 [9320 B]
รับ: 30 http://archive.ubuntu.com/ubuntu focal-updates/universe แพ็คเกจ i386 [794 kB]
รับ: 31 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [23.5 kB]
รับ: 32 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 แพ็คเกจ [1582 kB]
รับ: 33 http://archive.ubuntu.com/ubuntu focal-updates/main แพ็คเกจ i386 [681 kB]
รับ:34 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 แพ็คเกจ [33.3 kB]
รับ: 35 http://archive.ubuntu.com/ubuntu focal-backports/main แพ็คเกจ i386 [2671 B]
รับ: 36 http://archive.ubuntu.com/ubuntu focal-backports/universe แพ็คเกจ amd64 [6310 B]
รับ: 37 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 แพ็คเกจ [2668 B]
รับ: 38 http://archive.ubuntu.com/ubuntu focal-backports/universe แพ็คเกจ i386 [5084 B]
รับ: 39 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 แพ็คเกจ [580 kB]
Ign:40 https://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease
รับ: 41 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [22.1 kB]
รับ: 42 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 แพ็คเกจ [30.1 kB]
รับ: 43 http://security.ubuntu.com/ubuntu focal-security/multiverse แพ็คเกจ i386 [8172 B]
รับ: 44 http://security.ubuntu.com/ubuntu focal-security/main แพ็คเกจ i386 [358 kB]
รับ: 45 http://security.ubuntu.com/ubuntu focal-security/main amd64 แพ็คเกจ [1133 kB]
รับ:46 http://security.ubuntu.com/ubuntu focal-security/universe แพ็คเกจ amd64 [794 kB]
รับ: 47 http://security.ubuntu.com/ubuntu focal-security/universe แพ็คเกจ i386 [628 kB]
ข้อผิดพลาด: 48 https://apt.postgresql.org/pub/repos/apt focal-pgdg เผยแพร่
การตรวจสอบใบรับรองล้มเหลว: ใบรับรองไม่น่าเชื่อถือ สายใบรับรองใช้ใบรับรองที่หมดอายุ จับมือกันไม่ได้: เกิดข้อผิดพลาดในการตรวจสอบใบรับรอง [IP: 147.75.85.69 443]
การอ่านรายการแพ็คเกจ...
E: ที่เก็บ 'https://apt.postgresql.org/pub/repos/apt focal-pgdg Release' ไม่มีไฟล์ Release
เท่าที่ฉันเห็นใบรับรอง ssl สำหรับ https://apt.postgresql.org
มีผลบังคับใช้ในขณะนี้ ผมทำอะไรผิดหรือเปล่า?