Ubuntu 16.10 Error: apt-get install failed
-
- Posts: 99
- Joined: Thu Apr 09, 2015 9:53 am
Ubuntu 16.10 Error: apt-get install failed
Добрый день!
Ставлю на чистую систему 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
Ставлю на чистую систему 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
Re: Ubuntu 16.10 Error: apt-get install failed
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
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
-
- Posts: 99
- Joined: Thu Apr 09, 2015 9:53 am
Re: Ubuntu 16.10 Error: apt-get install failed
Thank you!
Replace in the script "vst-install.sh"?
Replace in the script "vst-install.sh"?
Re: Ubuntu 16.10 Error: apt-get install failed
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 :)
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 :)
-
- Posts: 7
- Joined: Sun Nov 15, 2015 7:21 am
Re: Ubuntu 16.10 Error: apt-get install failed
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.
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.
Re: Ubuntu 16.10 Error: apt-get install failed
Or use latest installer from github:
We fixed 16.10 issue with php7 and phpmyadmin.
Code: Select all
curl -O https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh