• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

cant install nginx on latast update

dalkol

Basic Pleskian
i have Plesk version: 12.5.30 Update #9

:~# sudo apt-get install sw-nginx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Package sw-nginx 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 'sw-nginx' has no installation candidate


And when I try over Install or Upgrade Odin Products:

Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sw-nginx
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 0 B/453 kB of archives.
After this operation, 1450 kB of additional disk space will be used.
(Reading database ... 105844 files and directories currently installed.)
Preparing to unpack .../sw-nginx_1.9.4-ubuntu14.04.15091112_amd64.deb ...
Unpacking sw-nginx (1.9.4-ubuntu14.04.15091112) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.9.4-ubuntu14.04.15091112_amd64.deb (--unpack):
trying to overwrite '/etc/default/nginx', which is also in package nginx-common 1.4.6-1ubuntu3.3
dpkg-deb (subprocess): decompressing archive member: lzma write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/sw-nginx_1.9.4-ubuntu14.04.15091112_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/sw-nginx_1.9.4-ubuntu14.04.15091112_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
Hi dalkol,

please remove "nginx-common" and start another "sw-nginx" - installation afterwards. If you would like to keep possible modifications from "/etc/nginx/*" , please consider to make a backup of the folder before removing "nginx-common" and copy your backup - folder back to "/etc/nginx", before you re-start the "sw-nginx" - installation.
 
Back
Top