Primeiro, use sudo apt-get update && sudo apt-get -f install
e, em seguida, execute sudo apt install samba
novamente.
Tentando acessar a pasta de compartilhamento do Windows a partir da área de trabalho do Ubuntu 16.04 e a seguinte caixa de diálogo é exibida.
smb Unhandled error message: Failed to retrieve share list from server: No such file or directory
Eu descubro que meu Ubuntu padrão não tem o samba instalado quando tento instalar
sudo apt install samba
Falha com o rastreamento a seguir
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: python-samba but it is not going to be installed
Depends: samba-common-bin (= 2:4.3.8+dfsg-0ubuntu1) but it is not going to be installed
Depends: libwbclient0 (= 2:4.3.8+dfsg-0ubuntu1) but 2:4.3.11+dfsg-0ubuntu0.16.04.3 is to be installed
Depends: samba-libs (= 2:4.3.8+dfsg-0ubuntu1) but 2:4.3.11+dfsg-0ubuntu0.16.04.3 is to be installed
Recommends: attr
Recommends: samba-dsdb-modules but it is not going 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.
Primeiro, use sudo apt-get update && sudo apt-get -f install
e, em seguida, execute sudo apt install samba
novamente.