Ubuntu 20.04.03 LTS Segmentation faulty tree... 0%

br flag

    After I installed the wxpython dependencies using Ubuntu and installed wxpython via pip and reboot, the apt-get command doesn't seem to work. Currently I only get no errors when using the sudo apt-get update command. All other apt commands will report an error as follows.

Reading package lists... Done
Segmentation faulty tree... 0%

    I referred to this forum post and ran the following command. But there is no improvement.

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/locksudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get upgrade

    I ran this command sudo strace -f apt-get upgrade >log.strace-aptget 2>&1 to track down information about the program, and it produced 228KB of information, and I don't know how to find valid information from it.

This is the debugging information

Here is my system information:

Linux ubuntu-server 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.03 LTS 64bit

I don't know how to do it anymore, please help me if you have a solution.

waltinator avatar
it flag
"Segmentation fault" is unix-speak for an out-of-bounds memory access attempt, often to location 0. The "debugging information" is produced as the program runs, and stops when the program fails. Thus, the information most closely related to the problem is at the end of the file

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.