apt-get update fails on ubuntu image

mouzedrift's Avatar

mouzedrift

18 Dec, 2023 12:15 AM

my build on the Ubuntu image fails after running sudo apt-get update with the following error:

Ign:23 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease
Err:26 http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release
  404  Not Found [IP: 87.238.57.227 80]
: The repository 'http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'
Command exited with code 100
Build failed

full build log: https://ci.appveyor.com/project/mouzedrift/alive-reversing/build/jo...

  1. Support Staff 1 Posted by Owen McDonnell on 18 Dec, 2023 07:52 AM

    Owen McDonnell's Avatar

    Looks like postgres stopped supporting bionic (https://www.postgresql.org/message-id/ZN4OigxPJA236qlg%40msg.df7cb.de).
    You can remove that package repository from your sources.list with something like this sudo sed -i '/apt.postgresql.org\/pub\/repos\/apt\/ bionic-pgdg main/d' /etc/apt/sources.list before your update and perhaps add the repository mentioned in the link above (deb https://apt-archive.postgresql.org/pub/repos/apt bionic-pgdg main).

  2. mouzedrift closed this discussion on 18 Dec, 2023 11:41 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac