How i can desinstall boxmail

hello i have this probleme in setup
my workstation is ubuntu 14 and plesk 12 pls help me

The following packages have unmet dependencies:
nginx : Depends: nginx-core (>= 1.4.6-1ubuntu3.4) but it is not installed or
nginx-full (>= 1.4.6-1ubuntu3.4) but it is not installed or
nginx-light (>= 1.4.6-1ubuntu3.4) but it is not installed or
nginx-extras (>= 1.4.6-1ubuntu3.4) but it is not installed or
nginx-naxsi (>= 1.4.6-1ubuntu3.4) but it is not installed
Depends: nginx-core (< 1.4.6-1ubuntu3.4.1~) but it is not installed or
nginx-full (< 1.4.6-1ubuntu3.4.1~) but it is not installed or
nginx-light (< 1.4.6-1ubuntu3.4.1~) but it is not installed or
nginx-extras (< 1.4.6-1ubuntu3.4.1~) but it is not installed or
nginx-naxsi (< 1.4.6-1ubuntu3.4.1~) but it is not installed
E: Unmet dependencies. Try using -f.

reating new user database: /home/user-data/mail/users.sqlite
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
Removing apache...
Installing Nginx (web server)...

FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install nginx php5-fpm
-----------------------------------------
Reading package lists...
Building dependency tree...
Reading state information...
php5-fpm is already the newest version.
The following extra packages will be installed:
  nginx-common nginx-core
Suggested packages:
  fcgiwrap nginx-doc
The following NEW packages will be installed:
  nginx nginx-common nginx-core
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 349 kB of archives.
After this operation, 1,297 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main nginx-common all 1.4.6-1ubuntu3.4 [18.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main nginx-core amd64 1.4.6-1ubuntu3.4 [325 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main nginx all 1.4.6-1ubuntu3.4 [5,616 B]
Fetched 349 kB in 0s (486 kB/s)
Selecting previously unselected package nginx-common.
(Reading database ... 175836 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.4.6-1ubuntu3.4_all.deb ...
Unpacking nginx-common (1.4.6-1ubuntu3.4) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3.4_all.deb (--unpack):
 trying to overwrite '/etc/logrotate.d/nginx', which is also in package sw-nginx 1.9.14-ubuntu14.04.16040615
Selecting previously unselected package nginx-core.
Preparing to unpack .../nginx-core_1.4.6-1ubuntu3.4_amd64.deb ...
Unpacking nginx-core (1.4.6-1ubuntu3.4) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-core_1.4.6-1ubuntu3.4_amd64.deb (--unpack):
 trying to overwrite '/usr/sbin/nginx', which is also in package sw-nginx 1.9.14-ubuntu14.04.16040615
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.4.6-1ubuntu3.4_all.deb ...
Unpacking nginx (1.4.6-1ubuntu3.4) ...
Errors were encountered while processing:
 /var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3.4_all.deb
 /var/cache/apt/archives/nginx-core_1.4.6-1ubuntu3.4_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

i have plesk and nginx and ubuntu alearly installed

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.