VirtuBox / nginx-ee

Automated Nginx compilation with HTTP/3 and additional modules support. Compatible with WordOps, EasyEngine & Plesk
https://virtubox.github.io/nginx-ee/
MIT License
198 stars 58 forks source link

Package 'nginx-custom' and 'nginx-wo' has no installation candidate #124

Closed alexeiyakovenko closed 1 year ago

alexeiyakovenko commented 2 years ago

Attach the following commands output

Hello! I try to change 'nginx-ee' to 'nginx-wo' but its not possible. After sudo add-apt-repository ppa:wordops/nginx-wo -uy and sudo apt install nginx-custom nginx-wo -y I get error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nginx-custom 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
However the following packages replace it:
  nginx-common

Package nginx-wo 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 'nginx-custom' has no installation candidate
E: Package 'nginx-wo' has no installation candidate

What can be done?

VirtuBox commented 1 year ago

Hello,

you will have to remove the file /etc/apt/preferences.d/nginx-block and to unhold nginx package with sudo apt-mark unhold nginx-wo nginx-common nginx-custom to install the package from the repository.

alexeiyakovenko commented 1 year ago

Hello,

you will have to remove the file /etc/apt/preferences.d/nginx-block and to unhold nginx package with sudo apt-mark unhold nginx-wo nginx-common nginx-custom to install the package from the repository.

Thank you! All good! :)