apt-get install is throwing below mentioned error. It's not only for this package, any package which I'm trying behaving the same. but If I give apt-get install /focal, it is working. How to fix this issue?
Output:
=====
apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nginx is a virtual package provided by:
nginx-light 1.18.0-0ubuntu1.4 [Not candidate version]
nginx-full 1.18.0-0ubuntu1.4 [Not candidate version]
nginx-extras 1.18.0-0ubuntu1.4 [Not candidate version]
nginx-core 1.18.0-0ubuntu1.4 [Not candidate version]
nginx-light 1.17.10-0ubuntu1 [Not candidate version]
nginx-full 1.17.10-0ubuntu1 [Not candidate version]
nginx-extras 1.17.10-0ubuntu1 [Not candidate version]
nginx-core 1.17.10-0ubuntu1 [Not candidate version]
E: Package 'nginx' has no installation candidate
apt package manager issue
apt-get install is throwing below mentioned error. It's not only for this package, any package which I'm trying behaving the same. but If I give apt-get install /focal, it is working. How to fix this issue?
Output:
===== apt-get install nginx Reading package lists... Done Building dependency tree Reading state information... Done Package nginx is a virtual package provided by: nginx-light 1.18.0-0ubuntu1.4 [Not candidate version] nginx-full 1.18.0-0ubuntu1.4 [Not candidate version] nginx-extras 1.18.0-0ubuntu1.4 [Not candidate version] nginx-core 1.18.0-0ubuntu1.4 [Not candidate version] nginx-light 1.17.10-0ubuntu1 [Not candidate version] nginx-full 1.17.10-0ubuntu1 [Not candidate version] nginx-extras 1.17.10-0ubuntu1 [Not candidate version] nginx-core 1.17.10-0ubuntu1 [Not candidate version] E: Package 'nginx' has no installation candidate