BUG #18085: Error in documentation

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: edwardflanders(at)buyitdirect(dot)co(dot)uk
Subject: BUG #18085: Error in documentation
Date: 2023-09-05 09:32:53
Message-ID: 18085-da9a3df6f618a4fd@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18085
Logged by: Edward Flanders
Email address: edwardflanders(at)buyitdirect(dot)co(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2023-09-05 09:45:33 Re: pg_dump assertion failure with "-n pg_catalog"
Previous Message Thomas Munro 2023-09-05 08:57:11 Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler