I have an issue with apt-get and any script I will call python3 on my Raspberry running Raspbian Buster.
When I run apt-get upgrade (or apt-get dist-upgrade or apt full-upgrade) this happends every time:
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libgnutls30 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,047 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y /usr/bin/python3: relocation error: /usr/bin/python3: symbol `Up version GLIBC_2.4 not defined in file libc.so.6 with link time reference E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1) E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
apt-get update completes successfully
I was looking around it and I found out that when I run python3 it outpus this:
python3: relocation error: python3: symbol `Up version GLIBC_2.4 not defined in file libc.so.6 with link time reference
I compared some stuff between my two raspberry pi's.
The variable $GLIBC_2.4 contains the value ".4" in both systems,
The python executables in /usr/bin/ are exactly the same in both systems.
And also the files and their symbolic links are exactly the same in the directory /lib/arm-linux-gnueabihf/
Is there anything else I can check so I can figure out what is happenning?
Thank you in advance!
Some additional information I just figured out from the logs. The last package I installed was "tmux".
Start-Date: 2020-04-06 08:13:51 Commandline: apt-get install tmux Requested-By: llouk (1000) Install: libutempter0:armhf (1.1.6-3, automatic), tmux:armhf (2.8-3) End-Date: 2020-04-06 08:14:03
Tmux or it's dependency triggered a change in libc-bin
Log started: 2020-04-06 08:13:51 Selecting previously unselected package libutempter0:armhf. (Reading database ... 160347 files and directories currently installed.) Preparing to unpack .../libutempter0_1.1.6-3_armhf.deb ... Unpacking libutempter0:armhf (1.1.6-3) ... Selecting previously unselected package tmux. Preparing to unpack .../archives/tmux_2.8-3_armhf.deb ... Unpacking tmux (2.8-3) ... Setting up libutempter0:armhf (1.1.6-3) ... Setting up tmux (2.8-3) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Log ended: 2020-04-06 08:14:03