Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
Skipping acquire of configured file 'main/binary-i386/Packages'

Good afternoon, please tell me what I'm doing wrong. I just installed the Linux Ubuntu on my computer and still don’t understand anything about it. I tried to install PostreSQL and pgAdmin. I installed on this video tutorial https://www.youtube.com/watch?v=Vdzb7JTPnGk I get this error.

Text of Error: 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'

Tell me please how to fix it. My version of ubuntu: Ubuntu 20.04 LTS

over 4 years ago · Santiago Trujillo
5 answers
Answer question

0

You must change the line of /etc/apt/sources.list.d/pgdg.list to

deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main
over 4 years ago · Santiago Trujillo Report

0

The definition for your apt.postgresql.org repo is defined in one of two possible places. Let's find it...

In terminal...

sudo grep -i postgresql /etc/apt/sources.list

or

sudo grep -i postgresql /etc/apt/sources.list.d/*.list

You'll get a hit on one of the above commands.

Let's edit the file...

sudo -H gedit /etc/apt/sources.list (ignore any warning messages)

or

sudo -H gedit /etc/apt/sources.list.d/found_filename.list (ignore any warning messages)

Find the line that starts with...

deb https://blah blah blah

And change it to...

deb [arch=amd64] https://blah blah blah

Save the file and quit the editor.

Now sudo apt-get update and sudo apt-get upgrade will run without the noise.

over 4 years ago · Santiago Trujillo Report

0

Run below command:

sudo vim /etc/apt/sources.list.d/pgdg.list

and replace this line:

http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease

with

deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main

save and exit with wq.

over 4 years ago · Santiago Trujillo Report

0

Run:

sudo -H gedit /etc/apt/sources.list.d/pgdg.list

Change the line of :

http://apt.postgresql...

with:

deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main

Save and run:

sudo apt-get update
over 4 years ago · Santiago Trujillo Report

0

Run this command to find a /pgdg.list file

sudo -H gedit /etc/apt/sources.list.d/pgdg.list

Find the line:

*deb http://apt.postgresql.org/pub/repos/apt focal-pgdg main*

And change it to:

deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt focal-pgdg main

SAVE file and RUN

sudo apt-get update
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!