Trying to install samba and get this error
anil@anil:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
samba : Depends: samba-common (= 2:4.1.6+dfsg-1ubuntu2.14.04.4) but 2:4.1.6+dfsg-1ubuntu2.14.04.8 is to be installed
Depends: samba-common-bin (= 2:4.1.6+dfsg-1ubuntu2.14.04.4) but 2:4.1.6+dfsg-1ubuntu2.14.04.8 is to be installed
Depends: samba-dsdb-modules but it is not going to be installed
Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.4) but 2:4.1.6+dfsg-1ubuntu2.14.04.8 is to be installed
Recommends: samba-vfs-modules but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get --fix-broken-install
gives me the message:E: Command line option --fix-broken-install is not understood
. I'm on 14.04. – Dai Mar 09 '16 at 19:40--fix-broken-install
, so you have an extra-
. You actually need to type--fix-broken install
. – Xavier L. Mar 03 '23 at 20:43