+2 votes
in Operating Systems by (6.3k points)

I am running Ubuntu 18 on my VPS, but when I run "apt-get update" command, I get the following error for Nginx.

Skipping acquire of configured file 'nginx/binary-i386/Packages' as repository 'http://nginx.org/packages/mainline/ubuntu bionic InRelease' doesn't support architecture 'i386

I am running VestaCP control panel on my VPS. How can I fix this error?

1 Answer

0 votes
by (25.6k points)

As Ubuntu bionic release does not support i386 architecture, you can fix the error by forcing only 64-bit architecture. You need to do the followings:

1. Change directory to sources.list.d.

cd /etc/apt/sources.list.d

2. Open the file nginx.list and replace

With

deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx

...