Dependencyproblems libdirectfb-extra

1

Eu quero instalar o openssh-server, então eu faço isso:

erik@workstationubuntu:~$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dassault-systemes-draftsight:i386 : PreDepends: libdirectfb-extra:i386 (>= 1.2.7-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

erik@workstationubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  dassault-systemes-draftsight:i386
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 297 MB disk space will be freed.
Do you want to continue [Y/n]? n

erik@workstationubuntu:~$ sudo apt-get install libdirectfb-extra:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libdirectfb-extra:i386 : Depends: libdirectfb-1.2-9:i386 (= 1.2.10.0-4.3ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
erik@workstationubuntu:~$ 

erik@workstationubuntu:~$ sudo apt-get install libdirectfb-1.2-9:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dassault-systemes-draftsight:i386 : PreDepends: libdirectfb-extra:i386 (>= 1.2.7-2) but it is not going to be installed
 libdirectfb-1.2-9 : Conflicts: libdirectfb-1.2-9:i386 but 1.2.10.0-4.3ubuntu1 is to be installed
 libdirectfb-1.2-9:i386 : Depends: libsysfs2:i386 but it is not going to be installed
                          Depends: libts-0.0-0:i386 (>= 1.0) but it is not going to be installed
                          Conflicts: libdirectfb-1.2-9 but 1.2.10.0-4.3ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
erik@workstationubuntu:~$ 

E isso continua!

Posso instalar algum servidor openssh sem remover o rascunho? (note que eu tive que usar o dpkg --force-depends ao instalar o draftsight (ele funciona sem falhas)

    
por ErikTJ 30.05.2012 / 10:56

1 resposta

1

A razão pela qual suas dependências estão quebradas é porque você forçou a instalação do pacote draftsight que foi feito para a arquitetura i386. Claramente, você está usando a arquitetura amd64 e, portanto, as dependências quebradas estão impedindo que você instale quaisquer pacotes adicionais.

Uma solução possível seria remover o pacote de rascunho por enquanto e, em seguida, instalar o openssh-server e, em seguida, instalá-lo novamente. Observe que você precisa fazer isso toda vez que estiver atualizando e atualizando seu sistema.

Ou talvez, se você puder encontrar um pacote para a arquitetura amd64, você pode instalar isso e eu acredito que suas dependências não serão mais quebradas.

    
por jokerdino 30.05.2012 / 11:08