Linux

[solve] linuxmint : ImportError: /usr/lib/pymodules/python2.7/pycurl.so

setelah saya setup dan melakukan update system

 apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade

di tahap ahkir muncul error

  etting up mint-debian-mirrors (2013.09.23) ...
Traceback (most recent call last):
  File "/var/lib/dpkg/info/mint-debian-mirrors.postinst", line 4, in <module>
    import pycurl
ImportError: /usr/lib/pymodules/python2.7/pycurl.so: undefined symbol: _PyTrash_thread_destroy_chain
dpkg: error processing mint-debian-mirrors (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mint-debian-mirrors
E: Sub-process /usr/bin/dpkg returned an error code (1)

untuk solusinya bisa dicoba melakukan ini :

 # mv /usr/share/python-apt/templates/LinuxMint.mirrors{,.old}

$ sudo apt-get install --reinstall python2.7 python-pycurl

$ sudo dpkg --configure mint-debian-mirrors

semoga berhasil yah.. DO WITH YOUR OWN RISK !

sumber

© http://carauntuk.com/solve-linuxmint-importerror-usrlibpymodulespython2-7pycurl-solinuxmint-importerror-usrlibpymodulespython2-7pycurl-solinuxmint

Sponsor 2

Show More

cu.admin

Nama: Arie Ibrahim | Lahir : 16 january 1987 | Lulus : SMA 28 Oktober 1928 jakarta Selatan Tahun 2005 | Keahlian : dibidang komputer. | Ketertarikan: ilmu komputer, ilmu Quran, dan Ilmu Fisika. | Kontak : arie@carauntuk.com adpit31@gmail.com | Pesan : semoga artikel diatas bermanfaat bagi saya pribadi dan yang membutuhkannya, Terimakasih

Related Articles

Leave a Reply

Close