Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 965
IvanIvanov Avatar asked Apr 30 '20 12:04

IvanIvanov


4 Answers

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
like image 153
Hmdbbgh Avatar answered Oct 17 '22 01:10

Hmdbbgh


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
like image 22
Denys Pyshniuk Avatar answered Oct 17 '22 02:10

Denys Pyshniuk


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.

like image 38
Ehsan Barkhordar Avatar answered Oct 17 '22 00:10

Ehsan Barkhordar


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
like image 26
Brayan Montoya Osorio Avatar answered Oct 17 '22 00:10

Brayan Montoya Osorio