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: abhisheknigam1996@gmail.com
Subject: BUG #17331: Minor change in install steps
Date: Thu, 09 Dec 2021 19:30:25 +0000
Message-ID: <17331-488fed0ded0b5b46@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17331
Logged by:          Abhishek Nigam
Email address:      abhisheknigam1996@gmail.com
PostgreSQL version: 14.1
Operating system:   Linux Mint 20.2
Description:        

I was trying to install Postgres on my computer, by following steps
mentioned at https://www.postgresql.org/download/linux/ubuntu/

But on step,
# Update the package lists:
sudo apt-get update

It was failing with error message 
Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease'
doesn't support architecture 'i386'

I found the solution here -
https://stackoverflow.com/questions/61523447/skipping-acquire-of-configured-file-main-binary-i386-pa...

I feel, since majority of the users are on amd64 architecture, in the
install steps we can mention
sudo sh -c 'echo "deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt
$(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
instead of
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release
-cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

Or we can add a note in the install steps that this command will have this
slight changes for users on this architecture.
I think it would make it easier for beginners to install Postgres.

Thank you for your work!

Abhishek



Message-ID: <17331-488fed0ded0b5b46@postgresql.org>
Permalink:  ../17331-488fed0ded0b5b46@postgresql.org/
Also on:    postgresql.org/message-id/17331-488fed0ded0b5b46@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, abhisheknigam1996@gmail.com
  Subject: Re: BUG #17331: Minor change in install steps
  In-Reply-To: <17331-488fed0ded0b5b46@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