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

aslamK 4slam at mythicflow.com
Fri Jul 14 19:33:23 UTC 2023


Thanks, Konstantin!

aslamK

>> 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/u
>> buntu jammy InRelease'
>> doesn't support architecture 'i386'
>
> Looks like you have a foreign dpkg architecture enabled (i386) on an amd64 host. You may check it with `dpkg --print-foreign-architectures`.

That is indeed the case.

> 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

Yep, that fixed it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230714/93c26927/attachment.htm>


More information about the nginx mailing list