Page 1 of 1

[BUG] yum update failed installing Vesta on Ubuntu 16.04.6 LTS

Posted: Mon May 04, 2020 2:34 pm
by falconidae
In Ubuntu 16.04.6 LTS I get "yum update failed" when installing VestaCP... ...and I do not understand why.
(I mean, I'm not on CentOS)

I'm on a clean build, the only things I've done after installing the OS are "sudo apt-get update", "sudo apt-get upgrade" and "do-release-upgrade".

Code: Select all

bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql no
...
...
The following software will be installed on your system
...
...
Would you like to continue [y/n]: y
Please enter admin email address: stagg@mydomain.tdl
Please enter FQDN hostname [panel.mydomain.tdl]:
Installation backup directory: /root/vst_install_backups/1588602170


Installation will take about 15 minutes ...

vst-install-rhel.sh: line 450: yum: command not found
Error: yum update failed
What should I do?

Thanks in advance.


P.S.: Yes, it can be "FIXED" by substituting the .sh content with this from git-hub, but that's strange... (https://github.com/serghey-rodin/vesta/ ... -ubuntu.sh)

Re: [BUG] yum update failed installing Vesta on Ubuntu 16.04.6 LTS

Posted: Thu May 21, 2020 5:25 am
by steven.ventimiglia
I could be wrong, but I'm guessing because:

- The `yum` package manager is used on CentOS (which is RHEL), by default.
- The `apt` package manager is used on Ubuntu (which is Debian), by default.

Re: [BUG] yum update failed installing Vesta on Ubuntu 16.04.6 LTS

Posted: Thu May 21, 2020 8:44 am
by grayfolk
falconidae wrote:
Mon May 04, 2020 2:34 pm
What should I do?
Use directly vst-install-ubuntu.sh instead of vst-install.sh:

Code: Select all

ssh root@your.server
curl -O http://vestacp.com/pub/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh