NGINX update issue (Ubuntu 18.04 Bionic)
NGINX update issue (Ubuntu 18.04 Bionic)
Updating Ubuntu 18.04 bionic when you have "NGINX" installed will produce the following error:
This can be resolved as follows:
Code: Select all
nginx N: Skipping acquire of configured file 'nginx/binary-i386/Packages' as repository 'http://nginx.org/packages/mainline/ubuntu bionic InRelease' doesn't support architecture 'i386'
- Log on to your server's CLI
- sudo su
- nano /etc/apt/sources.list.d/nginx.list
- change the entry to
Code: Select all
deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx
- ctrl+x to exit, y to save your changes
Re: NGINX update issue (Ubuntu 18.04 Bionic)
Vesta will not install 32bits nginx, maybe you have some repos issue or some repo was changed
I asume you run 64bits ubuntu and not 32bits ?
I asume you run 64bits ubuntu and not 32bits ?
Re: NGINX update issue (Ubuntu 18.04 Bionic)
Thank you for the solution. The i386 nginx package left on my system:
I have been upgraded the nginx architecture:
Code: Select all
# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
nginx
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Code: Select all
# sudo apt-get install nginx
*** nginx (Y/I/N/O/D/Z) [default=N] ? N
*** nginx.conf (Y/I/N/O/D/Z) [default=N] ? N
# systemctl restart nginx
Re: NGINX update issue (Ubuntu 18.04 Bionic)
Today, I install VestaCP but still get this problem.
I solve this issue:
change
to
Test again:
I solve this issue:
Code: Select all
nano /etc/apt/sources.list.d/nginx.list
Code: Select all
deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx
Code: Select all
deb [arch=amd64] http://nginx.org/packages/ubuntu/ bionic nginx
Code: Select all
apt-get update