Linux

Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease’ doesn’t support architecture ‘i386’

If you ever try to update your Linux system and you see an error like this one which says that: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease’ doesn’t support architecture ‘i386’ then you may think it’s a huge problem.

But in reality, it’s not actually. You can fix this problem very quickly. In today’s article, I’ll tell you how you can solve this problem very quickly.

Skipping acquire of configured file ‘main/binary-i386/Packages’

To fix this problem follow the steps that I’m going to show you now.

Step 1: Open Your Terminal

First, you have to open your terminal. You can open your terminal normally or you can use ctrl + alt + t shortcut to open your terminal.

Read More: How to Install Virtualbox in Kali Linux

Step 2: Go to /etc/apt/sources.list.d

Now you have to go to a directory. The directory address is: /etc/apt/sources.list.d and you can go there using the cd command. The command will be like this:

cd /etc/apt/sources.list.d

Step 3: Edit pgdg.list file

After going to this directory just use the ls command to see all the files that are present in this directory. Try to find the pgdg.list file, because we have to edit this file to solve our problem.

pgdg

To edit the pgdg.list file we can use nano. Just use this command: nano pgdg.list and afterward, you can edit the file. After opening the file it will look like something like the picture down below.

pgdg

We just have to change the line into this text:

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

After changing the text, just save it and close Nano.

Step 4: Update the system again

Now, update your system using the sudo apt update command and this time you’re not going to see this error again.

Conclusion

So, this is the way how you can solve this problem. At first when someone saw an error like Skipping acquires of configured file ‘main/binary-i386/Packages’ as repository ‘http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease’ doesn’t support architecture ‘i386’, he got frightened and thought that it’s a very big issue. And this issue is going to be very hard to solve.

But in reality, it’s very easy to solve. You just have to change some text in a file and afterward, you’re very good to go. I forgot to mention one important thing, I’m saying this in the end so don’t be mad after reading this.

The problem you face you may though that it’s an error but it’s not actually. It’s just a warning that you have to solve.

F.A.Q

Does this error is going to break my system?

No, this error is not going to break your system in any way. It actually not an error. Anyway, it can’t be a reason for your system break. So, there is no need to worry about it.

If I change pgdg.list file, is it going to change anything else in my system?

If you change the pgdg.list file in the way I told you then it’s not going to cause any problem in your system. But, don’t change the text to anything else you don’t know. It may cause several problems.

What does i386 mean?

i386 means 32-bit.

Can I use those steps for any other repository?

Yes, you can use those steps for other repositories. Although if you face any problem you can undo the text. So for safety before changing any file you can backup the text.

What should I do if I face any problem after changing the pgdg.list file?

If you face any problem after changing the pgdg.list file then all you have to do is change the file to its previous condition and after that, you will be good to go.


So, that’s all for this problem. If you still face any problems you can tell me in the comment section and I’ll try to fix your problem. In the end, all I want to say is, Linux is best, and keep using it!

What is your reaction?

0
Excited
0
Happy
0
In Love
0
Not Sure
0
Silly

Leave a reply

Your email address will not be published. Required fields are marked *