outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.94k stars 1.03k forks source link

apt update of NGINX fails on amd64 Ubuntu (18.04) #1911

Open twoup opened 5 years ago

twoup commented 5 years ago

Operating System (OS/VERSION):

Ubuntu 18.04

VestaCP Version:

0.98(amd64) Release 24

Installed Software (what you got with the installer):

nginx+apache, dovecot+exim4, named, iptables+fail2ban, remi, file system quota

Steps to Reproduce:

Install VestaCP, using either the main install method from the vestacp homepage, or using the vst-install-ubuntu.sh script from GitHub repository (tried both methods). APT returns the following error:

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'

The issue can be resolved by modifying the deb entry in the file /etc/apt/sources.list.d/nginx.list to deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx

Related Issues/Forum Threads:

Searching the forum provides poor results. I have created a "how to" on the forum Web Server forum post

Other Notes:

Anything else?

jaredchu commented 3 years ago

same issue with Ubuntu 20.04 VPS

jaredchu commented 3 years ago

I switched to HestiaCP and it's great https://www.hestiacp.com/