Nó đã hoạt động hàng trăm lần trong đường dẫn ci/cd của tôi, nhưng đột nhiên dừng hoạt động và không biết tôi có thể làm hỏng cái gì.
Dựa theo cái này và/hoặc cái này, Tôi làm:
lsb_release -cs # chỉ để gỡ lỗi
tiêu cự
echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main"> /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | thêm khóa apt -
chỉ để gỡ lỗi:
con mèo /etc/apt/sources.list.d/pgdg.list
deb https://apt.postgresql.org/pub/repos/aptfocal-pgdg main
sau đó cập nhật apt-get
:
Nhận:1 http://dl.google.com/linux/chrome/deb Bản phát hành ổn định [1811 B]
Nhận:2 https://apt.corretto.aws InRelease ổn định [10,7 kB]
Nhận:3 http://ppa.launchpad.net/git-core/ppa/ubuntu tiêu điểm InRelease [23,8 kB]
Nhận:4 https://dl.yarnpkg.com/debian InRelease ổn định [17,1 kB]
Nhận:5 http://archive.ubuntu.com/ubuntufocal InRelease [265 kB]
Nhận:6 http://dl.google.com/linux/chrome/deb stable/main AMD64 Gói [1092 B]
Nhận:7 http://archive.ubuntu.com/ubuntufocal-updates InRelease [114 kB]
Nhận:8 http://archive.ubuntu.com/ubuntufocal-backports InRelease [101 kB]
Nhận:9 http://security.ubuntu.com/ubuntufocal-security InRelease [114 kB]
Nhận:10 https://apt.corretto.aws stable/main Gói AMD64 [6233 B]
Nhận:11 https://apt.corretto.aws stable/main Gói i386 [2115 B]
Nhận:12 http://archive.canonical.com/ubuntu tiêu điểm InRelease [12,1 kB]
Nhận:13 https://dl.yarnpkg.com/debian stable/main Gói i386 [10,5 kB]
Nhận:14 https://dl.yarnpkg.com/debian stable/main AMD64 Gói [10,5 kB]
Nhận:15 https://dl.yarnpkg.com/debian stable/main tất cả các Gói [10,5 kB]
Nhận:16 http://ppa.launchpad.net/git-core/ppa/ubuntufox/main i386 Packages [3165 B]
Nhận:17 http://ppa.launchpad.net/git-core/ppa/ubuntufox/mainamd64Gói [3170 B]
Nhận:18 http://archive.ubuntu.com/ubuntufocal/universe Gói i386 [5999 kB]
Nhận:19 http://archive.ubuntu.com/ubuntufocal/universeGói AMD64 [11,3 MB]
Nhận: 20 gói http://archive.ubuntu.com/ubuntufocal/multiverse AMD64 [177 kB]
Nhận:21 http://archive.ubuntu.com/ubuntufocal/main AMD64 Packages [1275 kB]
Nhận:22 http://archive.ubuntu.com/ubuntufocal/restricted AMD64 Packages [33,4 kB]
Nhận:23 http://archive.ubuntu.com/ubuntufocal/main i386 Packages [930 kB]
Nhận:24 http://archive.canonical.com/ubuntufocal/partnerGói AMD64 [801 B]
Nhận:25 http://archive.ubuntu.com/ubuntufocal/restricted i386 Packages [10,1 kB]
Nhận:26 http://archive.ubuntu.com/ubuntufocal/multiverse Gói i386 [88,9 kB]
Nhận:27 http://archive.ubuntu.com/ubuntufocal-updates/restricted AMD64 Packages [632 kB]
Nhận:28 http://archive.ubuntu.com/ubuntufocal-updates/universeGói AMD64 [1081 kB]
Nhận:29 http://archive.ubuntu.com/ubuntufocal-updates/multiverse Gói i386 [9320 B]
Nhận:30 http://archive.ubuntu.com/ubuntufocal-updates/universe Gói i386 [794 kB]
Nhận:31 http://archive.ubuntu.com/ubuntufocal-updates/restricted i386 Packages [23,5 kB]
Nhận:32 http://archive.ubuntu.com/ubuntufocal-updates/main amd64 Packages [1582 kB]
Nhận:33 http://archive.ubuntu.com/ubuntufocal-updates/main i386 Packages [681 kB]
Nhận:34 http://archive.ubuntu.com/ubuntufocal-updates/multiverse AMD64 Packages [33,3 kB]
Nhận:35 http://archive.ubuntu.com/ubuntufocal-backports/main i386 Packages [2671 B]
Nhận:36 http://archive.ubuntu.com/ubuntufocal-backports/universeGói AMD64 [6310 B]
Nhận:37 http://archive.ubuntu.com/ubuntufocal-backports/main AMD64Gói [2668 B]
Nhận:38 http://archive.ubuntu.com/ubuntufocal-backports/universe Gói i386 [5084 B]
Nhận:39 http://security.ubuntu.com/ubuntufocal-security/restricted AMD64 Packages [580 kB]
Ign:40 https://apt.postgresql.org/pub/repos/aptfocal-pgdg InRelease
Nhận:41 http://security.ubuntu.com/ubuntufocal-security/restricted i386 Packages [22,1 kB]
Nhận:42 http://security.ubuntu.com/ubuntufocal-security/multiverse AMD64 Gói [30,1 kB]
Nhận:43 http://security.ubuntu.com/ubuntufocal-security/multiverse Gói i386 [8172 B]
Nhận:44 http://security.ubuntu.com/ubuntufocal-security/main i386 Packages [358 kB]
Nhận: 45 gói http://security.ubuntu.com/ubuntufocal-security/main amd64 [1133 kB]
Nhận:46 http://security.ubuntu.com/ubuntufocal-security/universeGói AMD64 [794 kB]
Nhận:47 http://security.ubuntu.com/ubuntufocal-security/universe Gói i386 [628 kB]
Err:48 https://apt.postgresql.org/pub/repos/aptfocal-pgdg Bản phát hành
Xác minh chứng chỉ không thành công: Chứng chỉ KHÔNG đáng tin cậy. Chuỗi chứng chỉ sử dụng chứng chỉ đã hết hạn. Không thể bắt tay: Lỗi khi xác minh chứng chỉ. [IP: 147.75.85.69 443]
Đang đọc danh sách gói...
E: Kho lưu trữ 'https://apt.postgresql.org/pub/repos/aptfocal-pgdg Release' không có tệp Release.
Theo như tôi có thể thấy chứng chỉ ssl cho https://apt.postgresql.org
là hợp lệ tại thời điểm này. Tôi đang làm gì sai?