View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005641 | Kali Linux | Kali Package Bug | public | 2019-08-17 12:40 | 2025-07-14 09:36 |
| Reporter | zh11ka | Assigned To | rhertzog | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | not fixable | ||
| Product Version | 2019.2 | ||||
| Summary | 0005641: unable to install updates and upgrades because of python | ||||
| Description | whenever i try to install any updates & upgrades or tools its giving me back a python error i tried to uninstall and reinstall but its still giving me the same error here is the output for 'apt-get upgrade': Reading package lists... Done The following packages were automatically installed and are no longer required: After this operation, 0 B of additional disk space will be used. Traceback (most recent call last): File "/usr/share/python3/debpython/init.py", line 7, in <module>
AttributeError: module '_posixsubprocess' has no attribute 'cloexec_pipe' Traceback (most recent call last): File "/usr/share/python3/debpython/init.py", line 7, in <module> AttributeError: module '_posixsubprocess' has no attribute 'cloexec_pipe' Traceback (most recent call last):
File "/usr/share/python3/debpython/init.py", line 7, in <module> File "/usr/bin/subprocess.py", line 406, in <module> error running python rtupdate hook gedit Traceback (most recent call last): File "/usr/share/python3/debpython/init.py", line 7, in <module> File "/usr/bin/subprocess.py", line 406, in <module> AttributeError: module '_posixsubprocess' has no attribute 'cloexec_pipe' File "/usr/bin/py3clean", line 32, in <module> File "/usr/bin/subprocess.py", line 406, in <module> error running python rtupdate hook terminator File "/usr/bin/py3clean", line 32, in <module> File "/usr/bin/subprocess.py", line 406, in <module> Traceback (most recent call last): File "/usr/share/python3/debpython/init.py", line 7, in <module> AttributeError: module '_posixsubprocess' has no attribute 'cloexec_pipe' dpkg: error processing package python3 (--configure): installed python3 package post-installation script subprocess returned error exit status 4 Errors were encountered while processing: | ||||
| Additional Information | i also tried these commands: | ||||
/usr/bin/subprocess.py is not provided by any Kali package, drop that file and you should be in a better state. Anyway, this is not a kali bug but something that you broke yourself. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-08-17 12:40 | zh11ka | New Issue | |
| 2019-08-17 19:30 | rhertzog | Assigned To | => rhertzog |
| 2019-08-17 19:30 | rhertzog | Status | new => closed |
| 2019-08-17 19:30 | rhertzog | Resolution | open => not fixable |
| 2019-08-17 19:30 | rhertzog | Note Added: 0010904 | |
| 2025-07-14 09:36 | g0tmi1k | Priority | high => normal |