Posso ter alguma ajuda para instalar o python-captcha? erro de dpkg 1

1

Eu pesquisei nos fóruns e tentei várias soluções, mas nada do que tentei corrigiu meu problema. Aqui está a informação do terminal

john@ubuntu:/var/lib/dpkg$ sudo apt-get install python-captcha
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python-captcha
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/384 kB of archives.
After this operation, 516 kB of additional disk space will be used.
(Reading database ... 182992 files and directories currently installed.)
Unpacking python-captcha (from .../python-captcha_0.4-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-captcha_0.4-1_all.deb (--unpack):
 trying to overwrite '/usr/share/pyshared/Captcha/Base.py', which is also in package python-pycaptcha 0.4-1~precise1
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python-captcha_0.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por CommandrKeen 27.11.2012 / 03:51

1 resposta

0

Parece que você instalou python-pycaptcha (talvez de um PPA), que não pode ser instalado ao mesmo tempo que o sistema python-captcha . Veja, se isso resolver seu problema:

sudo apt-get purge python-pycaptcha python-captcha+
    
por taneli 27.11.2012 / 10:30