Como instalar um pacote deb com dependências em algo que você tem várias versões?

1

Eu quero instalar um pacote deb que depende do python 3.4, que eu tenho, no entanto o instalador acha que eu tenho apenas 3.2, já que é apt-cache , e dpkg-query retorna python3 3.2.3-0ubuntu1.2 . update-alternatives não pareceu cortá-lo. O que posso fazer?

    
por Emre 02.07.2014 / 11:16

1 resposta

0

Ter um pacote python3.4 disponível em 12.04 não será seu único problema.

Veja o arquivo de controle do Debian:

Package: python3-tesseract
Source: python-tesseract
Version: 0.9-0.4ubuntu0
Architecture: amd64
Maintainer: FreeToGo <[email protected]>
Installed-Size: 4261
Depends: python3 (>= 3.4~), python3 (<< 3.5), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), liblept4, libstdc++6 (>= 4.1.1), libtesseract3
Section: python
Priority: optional
Homepage: http://code.google.com/p/python-tesseract/
Description: Tesseract for Python3
 Python-tesseract is a wrapper class for Tesseract OCR
 that allows any conventional image files (JPG, GIF, PNG,
 TIFF and etc) to be read and decoded into readable
 languages. No temporary file will be created during the
 OCR processing.

python3-tesseract (e python-tesseract ) depende de liblept4 que só está disponível em 14.04 +.

Minha recomendação seria configurar uma VM 14.04 ou atualizar seu sistema para o 14.04 para instalar corretamente o python3-tesseract .

    
por Sylvain Pineau 03.07.2014 / 09:57