View Issue Details

IDProjectCategoryView StatusLast Update
0008419Kali LinuxGeneral Bugpublic2024-06-14 15:14
Reporterbarbaros Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionopen 
Product Version2023.2 
Summary0008419: python3 crash my kali when i update
Description

sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 http://download.virtualbox.org/virtualbox/debian buster InRelease
Hit:5 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:4 http://kali.download/kali kali-rolling InRelease
Hit:6 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Hit:7 https://brave-browser-apt-release.s3.brave.com stable InRelease
Could not find platform independent libraries <prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = '/usr/lib/python3.11'
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
LookupError: no codec search functions registered: can't find encoding

Current thread 0x00007f4283127040 (most recent call first):
<no Python frame>
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.

Activities

barbaros

barbaros

2023-08-09 04:11

reporter   ~0018293

dpkg: error processing archive /var/cache/apt/archives/python3-pyqt5_5
.15.9+dfsg-2_amd64.deb (--unpack):
new python3-pyqt5 package pre-removal script subprocess returned erro
r exit status 1
Could not find platform independent libraries <prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = '/usr/lib/python3.11'
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec o
f the filesystem encoding
Python runtime state: core initialized
LookupError: no codec search functions registered: can't find encoding

Current thread 0x00007f527736e040 (most recent call first):
<no Python frame>
dpkg: error while cleaning up:
installed python3-pyqt5 package post-installation script subprocess r
eturned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python3-pyqt5_5.15.9+dfsg-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

g0tmi1k

g0tmi1k

2024-06-14 15:14

administrator   ~0019399

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2023-08-08 21:10 barbaros New Issue
2023-08-09 04:11 barbaros Note Added: 0018293
2024-06-14 15:14 g0tmi1k Note Added: 0019399
2024-06-14 15:14 g0tmi1k Status new => closed