



is a special (virtual?) repository, it will redirect to a, hopefully, geographically good server for you/your RPi making the request and normally, I believe, it is all that you need to specify.

You also have duplicate entries for the same source package repository:ĭeb-src wheezy main contrib non-free rpiĪnd very likely have two repositories for the SAME files:ĭeb wheezy main contrib non-free rpi deb wheezy main contrib non-free rpi sources commented out - if you have previous had the latter uncommented you may have installed packages from the later version ones and then, when they were commented out again, you have versions installed that are later then the ones that are present in the older distribution. 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".
