Missing libapt-pkg.so.4.12

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
Posts: 63
Joined: Tue Jul 25, 2017 9:37 am

Missing libapt-pkg.so.4.12

Post by francois »


Any error report triggers the error below on my WSL/Ubuntu 16.04.
Missing library libapt-pkg.so.4.12: current version in Ubuntu is 5.0, but it is not part of the BrainVISA distribution.
The error can be fixed by installing manually libapt-pkg4.12_1., but there is maybe a better way to take care of this in the distribution.

Code: Select all

Traceback (most recent call last):
  File "/home/ftadel/IntrAnat/IntrAnat/ImageImportWindow.py", line 1599, in updatePatientCode
    if self.prefs['projectSelected'][0] == 1 or self.prefs['projectSelected'][0] == 2:
IndexError: list index out of range
Error in sys.excepthook:
Traceback (most recent call last):
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apport/report.py", line 20, in <module>
    import apport.fileutils
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apport/fileutils.py", line 22, in <module>
    from apport.packaging_impl import impl as packaging
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apport/packaging_impl.py", line 20, in <module>
    import apt
  File "/home/ftadel/IntrAnat/brainvisa-4.6.0/lib/python2.7/dist-packages/apt/__init__.py", line 21, in <module>
    import apt_pkg
ImportError: libapt-pkg.so.4.12: cannot open shared object file: No such file or directory
Post Reply