Ubuntu repo update warns about skipping i386 packages on amd64 machine.

Konstantin Pavlov thresh at nginx.com
Fri Jul 14 03:40:25 UTC 2023


Hi aslamK!

On 13/07/2023 1:26 PM, aslamK wrote:
> In Ubuntu 22.04 (amd64), 'apt update' reports the following: N: 
> Skipping acquire of configured file 'nginx/binary-i386/Packages' as 
> repository 'http://nginx.org/packages/ubuntu jammy InRelease' doesn't 
> support architecture 'i386' To add the repo, I followed the directions 
> at http://nginx.org/en/linux_packages.html#Ubuntu. I realize it's only 
> a warning and likely can be safely ignored, at least on amd64 
> machines. If so, perhaps it can be suppressed based on the 
> architecture – unless this has to do with the local apt config, in 
> which case what are the relevant groups/options/values?

Looks like you have a foreign dpkg architecture enabled (i386) on an 
amd64 host.  You may check it with `dpkg --print-foreign-architectures`.

If that's true, you can add arch=amd64 to sources.d/nginx.list options, 
so it will look similar to:

deb [arch=amd64 signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] 
http://nginx.org/packages/ubuntu jammy nginx

Have a good one,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230713/e59f2044/attachment.htm>


More information about the nginx mailing list