Score:1

Skipping acquire of configured file 'https://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'

ar flag

I have recently installed Ubuntu 20.04 LTS and I am a bit fresh user for ubuntu. after installing postgresql 14, and I ran sudo apt update. Then it says

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'

Already tested /etc/apt/sources.list.d/pgdg.list changed from

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

to

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

but still the message shows up

picalin avatar
ar flag
UPDATE: Solved! The file was like this `deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main # deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main` then I changed to `deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/ focal-pgdg main # deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/ focal-pgdg main` Then it worked!
Nmath avatar
ng flag
Consider posting the details of your solution as an *answer*. This will be most helpful for future visitors with the same question. Comments are temporary in nature and answers allow for better formatting so the text can be copy/pasted more easily. You can also come back in a few days and accept your own answer. Thanks for contributing to Ask Ubuntu!
karel avatar
sa flag
Does this answer your question? [Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'xxx' doesn't support architecture 'i386'](https://askubuntu.com/questions/741410/skipping-acquire-of-configured-file-main-binary-i386-packages-as-repository-x)
Score:1
ar flag

The file was like this

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

then I changed

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

then it worked. It seems it is important to add [arch=amd64] and put "s" in https

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.