<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi aslamK!</p>
<div class="moz-cite-prefix">On 13/07/2023 1:26 PM, aslamK wrote:<br>
</div>
<blockquote type="cite"
cite="mid:79f7d182-d75e-90b3-b26a-662000c21263@mythicflow.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre><font size="2">In Ubuntu 22.04 (amd64), 'apt update' reports the following:
<span style="font-family:monospace"><span
style="color:#b26818;background-color:#ffffff;">N: </span><span
style="color:#000000;background-color:#ffffff;">Skipping acquire of configured file 'nginx/binary-i386/Packages'
as repository '<a class="moz-txt-link-freetext"
href="http://nginx.org/packages/u" moz-do-not-send="true">http://nginx.org/packages/u</a></span>buntu jammy InRelease'
doesn't support architecture 'i386'
To add the repo, I followed the directions at
<a class="moz-txt-link-freetext"
href="http://nginx.org/en/linux_packages.html#Ubuntu"
moz-do-not-send="true">http://nginx.org/en/linux_packages.html#Ubuntu</a>.
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?
</span></font></pre>
</blockquote>
<p><font size="2">Looks like you have a foreign dpkg architecture
enabled (i386) on an amd64 host. You may check it with `dpkg
--print-foreign-architectures`.</font></p>
<p><font size="2">If that's true, you can add arch=amd64 to
sources.d/nginx.list options, so it will look similar to:</font></p>
<p><font size="2">deb [arch=amd64
signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg]
<a class="moz-txt-link-freetext" href="http://nginx.org/packages/ubuntu">http://nginx.org/packages/ubuntu</a> jammy nginx<br>
</font></p>
<p><font size="2">Have a good one,<br>
</font></p>
</body>
</html>