

Please find my /etc/apt/sources.list file content as below, let me know if I made something wrong in configuration. Package postfix is not available, but is referred to by another package.Į: Package 'postfix' has no installation candidateĮ: Package 'ntpdate' has no installation candidateĪlso I tried to update and upgrade using following command sudo apt-get update & sudo apt-get upgradeīut after that also executing apt-get install command also shows the same error. Package ntpdate is not available, but is referred to by another package. However the following packages replace it:Į: Package 'apache2' has no installation candidateĬommmand sudo apt-get install postfix nap ntpdate

This may mean that the package is missing, has been obsoleted, or Package apache2 is not available, but is referred to by another package. I tried following packages to install but every time I faced the same error Whenever I execute above command to install any package, it shows me a common error saying E: Package has no installation candidate I am unable to install any package using command "apt-get install".
