Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы
  • Search

Ubuntu 16.10 Error: apt-get install failed

Общие вопросы о панели управления Vesta
Locked
  • Print view
Advanced search
6 posts • Page 1 of 1
Konstantinus
Posts: 99
Joined: Thu Apr 09, 2015 9:53 am

Ubuntu 16.10 Error: apt-get install failed

Post by Konstantinus » Fri Dec 30, 2016 8:51 am

Добрый день!
Ставлю на чистую систему 16.10: bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd no --proftpd yes --exim no --dovecot no --spamassassin no --clamav no --named no --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname library.mk.ua --email [email protected]

P.S. С теми же параметрами на 16.04.1 установилась без проблем.

Получаю в ответ:

Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5' has no installation candidate
E: Package 'php5-common' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'php5-mysql' has no installation candidate
E: Package 'php5-curl' has no installation candidate
E: Package 'php5-fpm' has no installation candidate
E: Unable to locate package phpMyAdmin
Error: apt-get install failed
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Ubuntu 16.10 Error: apt-get install failed

Post by dpeca » Fri Dec 30, 2016 4:50 pm

I noticed it too.
16.10 comes with php7.0 packages, and does not contains php5 packages.

In vst-install-ubuntu.sh replace (everywhere) php5 to php7.0 and phpMyAdmin to phpmyadmin
and then run again vst-install-ubuntu.sh
Top

Konstantinus
Posts: 99
Joined: Thu Apr 09, 2015 9:53 am

Re: Ubuntu 16.10 Error: apt-get install failed

Post by Konstantinus » Fri Dec 30, 2016 10:06 pm

Thank you!
Replace in the script "vst-install.sh"?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Ubuntu 16.10 Error: apt-get install failed

Post by dpeca » Sat Dec 31, 2016 1:10 am

No, there is no need to do that.
vst-install.sh is just used to download vst-install-ubuntu.sh (so there is no need to run vst-install.sh again if you already run it - you just need to edit and run vst-install-ubuntu.sh now)

Sorry for english in russian forum :)
Top

zebrahosting
Posts: 7
Joined: Sun Nov 15, 2015 7:21 am

Re: Ubuntu 16.10 Error: apt-get install failed

Post by zebrahosting » Sat Feb 25, 2017 1:04 pm

If you look at the downloaded UBUNTU installer, it only looks for v 16.04, not 16.10

Easiest way is to first run the installer script. Choose no if asked to continue. (this downloads the Ubuntu install script for you)
Than edit the Ubuntu installer file that has been created and change the 16.04 on top to 16.10 and run this script not the regular installer because it will download a new version, overwriting the modified.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Ubuntu 16.10 Error: apt-get install failed

Post by dpeca » Sat Feb 25, 2017 1:45 pm

Or use latest installer from github:

Code: Select all

curl -O https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh
We fixed 16.10 issue with php7 and phpmyadmin.
Top


Locked
  • Print view

6 posts • Page 1 of 1

Return to “Общие вопросы”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password