Приветствую. Установил nginx 1.0.15 из репозитория Dotdeb, после чего решил удалить его полностью и установить последнюю версию из официальных репов nginx.
Воспользовался apt-get purge nginx, удалил вручную из /etc/ все связанное с nginx.
Перезагрузил сервер, при старте он пожаловался на отсутствие конфига nginx.conf, сообщил о том, что запуск nginх окончился фейлом.
Подключил репозиторий nginx, начал установку версии 1.2.0-1:

=======
mam@server:~$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nginx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 478 kB of archives.
After this operation, 1,049 kB of additional disk space will be used.
Get:1 http://nginx.org/packages/debian/ squeeze/nginx nginx amd64 1.2.0-1~squeeze [478 kB]
Fetched 478 kB in 3s (154 kB/s)
(Reading database ... 23104 files and directories currently installed.)
Unpacking nginx (from .../nginx_1.2.0-1~squeeze_amd64.deb) ...
----------------------------------------------------------------------
Thanks for using NGINX!
Check out our community web site:
* http://nginx.org/en/support.html
If you have questions about commercial support for NGINX please visit:
* http://www.nginx.com/support.html
----------------------------------------------------------------------
dpkg: error processing /var/cache/apt/archives/nginx_1.2.0-1~squeeze_amd64.deb (--unpack):
trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.0.15-1~dotdeb.0
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.2.0-1~squeeze_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
=======

Как видно, посыпались ошибки и nginx установлен не был.
Не совсме понимаю их суть, помогите разобраться в чем причина.
И второй вопрос - как удалить nginx из автозагрузки?

debian 6 squeeze
2.6.32-5-amd64



Edited 2 time(s). Last edit at 04/26/2012 06:25PM by mammuthus.
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready