I have just bought a new digital ocean Ubuntu droplet and configured it as an Apache server but when I was installing phpmyadmin package my ssh session suddenly shut down and so the download and install was interrupted. Since then whenever I try to download anything using apt i get this error
The following packages have unmet dependencies: sendmail : Depends: sendmail-base but it is not going to be installed Depends: sendmail-bin but it is not going to be installed Depends: sendmail-cf but it is not going to be installed Depends: sensible-mda but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I tried to install aptitude to fix this problem but then i received this error
Package aptitude 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 'aptitude' has no installation candidate
I tried all the commands of apt-get update , apt-get upgrade
I would be glad to know how to solve this as I really need to install send mail
My question isn't like the others as it is asking about the version 16.04 of Ubuntu and i tried all the possible answers