-
-
Notifications
You must be signed in to change notification settings - Fork 872
Closed
Description
How do I add the nginx-extras package? I tried to add it as a package, but it throws the following error:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nginx-extras' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
nginx-common
Suggested packages:
fcgiwrap nginx-doc
The following NEW packages will be installed:
nginx-common nginx-extras
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
13 not fully installed or removed.
Need to get 0 B/513 kB of archives.
After this operation, 1720 kB of additional disk space will be used.
(Reading database ... 62834 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.4.6-1ubuntu3_all.deb ...
Unpacking nginx-common (1.4.6-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3_all.deb (--unpack):
trying to overwrite '/usr/share/nginx/html/50x.html', which is also in package nginx 1.6.0-1~trusty
Preparing to unpack .../nginx-extras_1.4.6-1ubuntu3_amd64.deb ...
Unpacking nginx-extras (1.4.6-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-extras_1.4.6-1ubuntu3_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx 1.6.0-1~trusty
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3_all.deb
/var/cache/apt/archives/nginx-extras_1.4.6-1ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /Stage[main]/Main/Node[web_node]/Package[nginx-extras]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nginx-extras' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
nginx-common
Suggested packages:
fcgiwrap nginx-doc
The following NEW packages will be installed:
nginx-common nginx-extras
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
13 not fully installed or removed.
Need to get 0 B/513 kB of archives.
After this operation, 1720 kB of additional disk space will be used.
(Reading database ... 62834 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.4.6-1ubuntu3_all.deb ...
Unpacking nginx-common (1.4.6-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3_all.deb (--unpack):
trying to overwrite '/usr/share/nginx/html/50x.html', which is also in package nginx 1.6.0-1~trusty
Preparing to unpack .../nginx-extras_1.4.6-1ubuntu3_amd64.deb ...
Unpacking nginx-extras (1.4.6-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-extras_1.4.6-1ubuntu3_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx 1.6.0-1~trusty
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3_all.deb
/var/cache/apt/archives/nginx-extras_1.4.6-1ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels