Jump to content

apt-xapian-index Python error


Dombo 71

Recommended Posts

Hi to all:

I run a odroid N2:

/ _ \  __| |_ __ ___ (_) __| | | \ | |___ \
| | | |/ _` | '__/ _ \| |/ _` | |  \| | __) |
| |_| | (_| | | | (_) | | (_| | | |\  |/ __/
 \___/ \__,_|_|  \___/|_|\__,_| |_| \_|_____|

Welcome to Armbian 20.11.6 Focal with Linux 5.9.14-meson64

System load:   18%              Up time:       20 min           Local users:   3                                                                
Memory usage:  20% of 3.55G     IP:            192.168.5.70
CPU temp:      43°C             Usage of /:    11% of 57G
 

 

Try to install a sonso api on my system.

After a reboot i get a strange error with python .

I did a upgrade to some dofferent packages. No luck @ all.

 

Now with everthing i do i get a strange error:

 

And hwo strange there is no python 3 installed?

<no Python frame>
dpkg: fout bij verwerken van pakket apt-xapian-index (--remove):
 subproces van pakket apt-xapian-index werd script pre-removal geïnstalleerd gaf de foutwaarde 1 terug
dpkg: te veel fouten; er wordt gestopt
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = '/usr/bin/python3'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = '/usr/bin/python3'
  sys.base_prefix = '/usr'
  sys.base_exec_prefix = '/usr'
  sys.executable = '/usr/bin/python3'
  sys.prefix = '/usr'
  sys.exec_prefix = '/usr'
  sys.path = [
    '/usr/lib/python38.zip',
    '/usr/lib/python3.8',
    '/usr/lib/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffff87d6f010 (most recent call first):
<no Python frame>
dpkg: fout tijdens opruimen:
 subproces van pakket apt-xapian-index werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
 apt-xapian-index
Verwerking werd afgebroken omdat er te veel fouten waren.
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@odroidn2:~$ python3
python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

 

 

I try to uninstall xapian en reinstall

Did this also with some some python packages..

 

 

Hope there is some support.

I am a Windows noop... 

 

 

 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines