Como corrigir problemas com os seguintes pacotes

0

Eu tentei instalar o AmberTool . Mas quando eu segui o sistema manual de instalação me disse para instalar as seguintes dependências:

sudo apt-get install csh flex gfortran g++ xorg-dev \
     zlib1g-dev libbz2-dev patch python-tk python-matplotlib

Isso me deu os seguintes erros:

The following packages have unmet dependencies:

 gfortran : Depends: gfortran-4.6 (>= 4.6.3-1~) but it is not going to be installed
 libbz2-dev : Depends: libbz2-1.0 (= 1.0.6-1) but 1.0.6-4 is to be installed
 xorg-dev : Depends: libfontenc-dev but it is not going to be installed

            Depends: libfs-dev but it is not going to be installed
            Depends: libice-dev but it is not going to be installed
            Depends: libsm-dev but it is not going to be installed
            Depends: libxaw7-dev but it is not going to be installed
            Depends: libxcomposite-dev but it is not going to be installed
            Depends: libxcursor-dev but it is not going to be installed
            Depends: libxfont-dev but it is not going to be installed
            Depends: libxft-dev but it is not going to be installed
            Depends: libxinerama-dev but it is not going to be installed
            Depends: libxmu-dev but it is not going to be installed
            Depends: libxmuu-dev but it is not going to be installed
            Depends: libxpm-dev but it is not going to be installed
            Depends: libxrandr-dev
            Depends: libxrender-dev but it is not going to be installed
            Depends: libxres-dev but it is not going to be installed
            Depends: libxss-dev but it is not going to be installed
            Depends: libxt-dev but it is not going to be installed
            Depends: libxtst-dev but it is not going to be installed
            Depends: libxv-dev but it is not going to be installed
            Depends: libxvmc-dev but it is not going to be installed
            Depends: libxxf86dga-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Eu corri sudo apt-get update antes de executar isso, mas isso não mudou nada.

Como posso corrigir esses pacotes e instalar essas dependências?

    
por Vasilii Gyrmach 14.10.2014 / 13:29

1 resposta

0

Alguns desses pacotes existem no repositório do universo. Não ter isso instalado causaria falha na instalação por razões óbvias. Você pode ativar isso por meio das configurações do Update Manager ou simplesmente por:

sudo add-apt-repository universe

Então sudo apt-get update novamente e volte para a instalação.

    
por Oli 14.10.2014 / 15:23