Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

apt-xapian-index Python error

Featured Replies

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... 

 

 

 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.