python desarrumada no meu laptop

1

Eu baixei e instalei o python3 da fonte; depois que eu removi. Como resultado, parece haver um problema com apt-get , pois há vários pacotes que não podem ser instalados corretamente. Veja abaixo:

dovl@dov-laptop:$ sudo apt-get install meld
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:
 meld : Depends: python-gi (>= 3.8) but it is not going to be installed
        Depends: python-gi-cairo but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Eu tentei corrigir isso com sudo apt-get install --reinstall como vi sugerido em uma das respostas, mas isso não resolveu o problema.

dovl@dov-laptop:$ sudo apt-get install --reinstall python
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of python is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

Como posso corrigir minha instalação e meus pacotes até o ponto em que posso fazer o download dos pacotes corretamente? Ficarei feliz em fornecer mais informações, caso seja necessário.

    
por levengli 31.07.2017 / 14:58

1 resposta

1

Após (ainda mais) tentativa e erro, descobri que precisei remover o python, que estava definido como python3.6 e reinstalar o python2.7. O Gerenciador de Pacotes Synaptic foi extremamente útil para facilitar isso.

    
por levengli 31.07.2017 / 15:55