pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: edwardflanders@buyitdirect.co.uk
Subject: BUG #18085: Error in documentation
Date: Tue, 05 Sep 2023 09:32:53 +0000
Message-ID: <18085-da9a3df6f618a4fd@postgresql.org> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <18085-da9a3df6f618a4fd@postgresql.org>
Permalink:  ../18085-da9a3df6f618a4fd@postgresql.org/
Also on:    postgresql.org/message-id/18085-da9a3df6f618a4fd@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, edwardflanders@buyitdirect.co.uk
  Subject: Re: BUG #18085: Error in documentation
  In-Reply-To: <18085-da9a3df6f618a4fd@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox