incapaz de instalar o samba no ubuntu 14.04

4

Tentando instalar o samba e receber esse erro

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.
    
por Ravan 14.08.2015 / 05:02

2 respostas

1

Primeiro, execute estes comandos no terminal (pressione Ctrl + Alt + T ):

  • sudo apt-get --fix-broken install
  • sudo apt-get clean
  • sudo apt-get autoclean
  • sudo apt-get autoremove
  • sudo dpkg --configure -a
  • sudo apt-get update a seguir

1.Mudar software e atualizações para o servidor principal

2.unmarked todas as fontes de "outros softwares"

3.Recarregue e execute para atualização de software.

4.Instale o samba: sudo apt-get install samba

    
por Ravan 14.08.2015 / 08:51
3

comando de execução

sudo apt-get -f install
sudo apt-get install samba

ele instalará dependências quebradas. Se o problema não for resolvido, use link onde boa explicação de resolvê-lo.

    
por pl_rock 16.08.2015 / 05:52