Обсуждение: BUG #18085: Error in documentation
The following bug has been logged on the website: Bug reference: 18085 Logged by: Edward Flanders Email address: edwardflanders@buyitdirect.co.uk PostgreSQL version: 15.4 Operating system: Ubuntu Description: Hi when trying to install postgresql on ubuntu 22.04 I noticed that there was an error in the documentation as I hit a few issues suggesting the repo was unsigned. On further investigation this line in your documentation to add source should of had an https rather than http. recommended line: sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' Original section in the install documentation: sudo sh -c 'echo "deb http://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 | sudo apt-key add - sudo apt-get update sudo apt-get -y install postgresql If left as http it will through a 500 error when trying to do an apt-get update for the postgresql repo. Thanks
> On 5 Sep 2023, at 11:32, PG Bug reporting form <noreply@postgresql.org> wrote: > On further investigation this line in your documentation to add source > should of had an https rather than http. Fixed in 91991aa171 [0], thanks! -- Daniel Gustafsson [0] https://git.postgresql.org/gitweb/?p=pgweb.git;a=commitdiff;h=91991aa1712892b7862528f8d47e8a52415f740d