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

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

Linux 0 0 likes 608 views share

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

Leave a Reply