We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Unable to update NGINX
Unable to update NGINX
Trying to update NGINX:
So I try using -f install:
Any help appreciated :)
Code: Select all
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
nginx : Depends: nginx-core (< 1.9.3-1ubuntu1.1.1~) but 1.9.3-1ubuntu1.2 is installed or
nginx-full (< 1.9.3-1ubuntu1.1.1~) but it is not installed or
nginx-light (< 1.9.3-1ubuntu1.1.1~) but it is not installed or
nginx-extras (< 1.9.3-1ubuntu1.1.1~) but it is not installed
E: Unmet dependencies. Try using -f.
Code: Select all
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
nginx
The following packages will be upgraded:
nginx
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/652 kB of archives.
After this operation, 2,323 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 80899 files and directories currently installed.)
Preparing to unpack .../nginx_1.10.1-1~wily_amd64.deb ...
Unpacking nginx (1.10.1-1~wily) over (1.9.3-1ubuntu1.1) ...
dpkg: error processing archive /var/cache/apt/archives/nginx_1.10.1-1~wily_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx-core 1.9.3-1ubuntu1.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.10.1-1~wily_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: Unable to update NGINX
Hi
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael
Re: Unable to update NGINX
Little concerned as this is a production server.. wont purging nginx break the web server?ScIT wrote:Hi
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael
Re: Unable to update NGINX
Yes, it will stop and remove nginx, so your websites will go offline. Normaly just for the time you need to reinstall nginx, if the reinstall not works properly you will have a longer downtime until the problem is solved. Otherwise the downtime will be some minutes.jimmyeao wrote: Little concerned as this is a production server.. wont purging nginx break the web server?
Of course this is a little bit risky, maybe you can provide more information about O/S and Error Logs, so that we can maybe find another solution?
Best Regards
Raphael
Re: Unable to update NGINX
OS is Ubuntu 12.04
Which logs would you like to see?
Which logs would you like to see?
Re: Unable to update NGINX
Bump... still looking for a definite fix for this..
Re: Unable to update NGINX
solution 1:jimmyeao wrote:Bump... still looking for a definite fix for this..
solution 2: setup a new server with ubuntu 16.04 and vesta cp and transfer the domains to the new server.ScIT wrote:Hi
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael
Re: Unable to update NGINX
Forgive my newbie ignorance :) - if a do a backup from the admin user will it back all users, domains, certs, emails etc? or will I have to migrate them one by one afterwards? This is looking like a better optionScIT wrote:solution 1:jimmyeao wrote:Bump... still looking for a definite fix for this..solution 2: setup a new server with ubuntu 16.04 and vesta cp and transfer the domains to the new server.ScIT wrote:Hi
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael
Re: Unable to update NGINX
You have to backup and restore user by user.jimmyeao wrote:Forgive my newbie ignorance :) - if a do a backup from the admin user will it back all users, domains, certs, emails etc? or will I have to migrate them one by one afterwards? This is looking like a better optionScIT wrote:solution 1:jimmyeao wrote:Bump... still looking for a definite fix for this..solution 2: setup a new server with ubuntu 16.04 and vesta cp and transfer the domains to the new server.ScIT wrote:Hi
Maybe: http://askubuntu.com/questions/441047/d ... pipe-nginx
If that not works, please provide additional informations about OS & Version.
Best Regards
Raphael