View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005934 | Kali Linux | General Bug | public | 2019-12-18 21:51 | 2020-12-01 10:41 |
Reporter | JokerSob | Assigned To | |||
Priority | immediate | Severity | block | Reproducibility | always |
Status | closed | Resolution | open | ||
Product Version | 2019.4 | ||||
Summary | 0005934: apt update is blocking since command-not-found has been installed | ||||
Description | When I run the update and upgrade command, the screen remains stuck and no progress can be made (last 1-2 days) etc/apt/sources.list | ||||
Steps To Reproduce | apt update && apt upgrade && apt-get update && apt-get upgrade && apt dist-upgrade && apt full-upgrade && apt-get dist-upgrade && apt-get full-upgrade https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ on page, sources.list did the renovation. | ||||
Additional Information | I tried everything I could think of, but I couldn't fix the problem. The screen remains as shown in the screenshot | ||||
Attached Files | |||||
I use here apt-get update is broken. |
|
Have you tried using another mirror in your sources.list? Do you have a firewall blocking outgoing connections? It's weird that apt gets stuck in that way. It would be interesting to run it under strace to know where it gets stuck. Can you run "strace -o log -f apt update" and share the log file? |
|
There was no problem until 2-3 days ago. (max 1 weeks ago)
|
|
It seems to be related to the "command-not-found" package. It installs a hook into apt and that hook is blocking. You can try to comment the configuration entries in /etc/apt/apt.conf.d/50command-not-found |
|
we can mark the issue as resolved. Thank you @rhertzog |
|
Well, the issue is not fixed, we have just given you a work around. Although it's not clear why it breaks for you. Are you running on an installed system? On a live image? On a live image with persistence? If you run it on an installed system, what filesystem are you using? |
|
I use it as the only operating system installed on the HDD. |
|
https://www.kali.org/news/python-2-end-of-life/ Could this be the reason? |
|
When you run the update and upgrade command by turning off the internet connection, the update screen comes as in the screenshot, then I can get the update by opening the internet connection. |
|
No, https://www.kali.org/news/python-2-end-of-life/ this apt and pt-get are already python 3. |
|
I'm guessing the issue has been corrected with the current update. |
|
This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-12-18 21:51 | JokerSob | New Issue | |
2019-12-18 21:51 | JokerSob | File Added: Ekran görüntüsü_2019-12-19_00-32-05.png | |
2019-12-18 22:19 | Balling | Note Added: 0011712 | |
2019-12-19 08:27 | rhertzog | Note Added: 0011717 | |
2019-12-19 13:07 | JokerSob | File Added: Ekran görüntüsü_2019-12-19_15-45-54.png | |
2019-12-19 13:07 | JokerSob | Note Added: 0011722 | |
2019-12-19 13:33 | rhertzog | Note Added: 0011723 | |
2019-12-19 14:18 | JokerSob | Note Added: 0011724 | |
2019-12-19 15:31 | rhertzog | Note Added: 0011725 | |
2019-12-19 15:32 | rhertzog | Summary | Update/Upgrade Problem => apt update is blocking since command-not-found has been installed |
2019-12-19 16:44 | JokerSob | File Added: Ekran görüntüsü_2019-12-19_19-22-41.png | |
2019-12-19 16:44 | JokerSob | File Added: Ekran görüntüsü_2019-12-19_19-24-19.png | |
2019-12-19 16:44 | JokerSob | File Added: Ekran görüntüsü_2019-12-19_19-43-45.png | |
2019-12-19 16:44 | JokerSob | Note Added: 0011726 | |
2019-12-19 19:40 | JokerSob | Note Added: 0011727 | |
2019-12-19 21:29 | JokerSob | File Added: Ekran görüntüsü_2019-12-20_00-25-26.png | |
2019-12-19 21:29 | JokerSob | Note Added: 0011728 | |
2019-12-19 21:32 | Balling | Note Added: 0011730 | |
2019-12-20 23:18 | JokerSob | File Added: Ekran görüntüsü_2019-12-21_02-13-56.png | |
2019-12-20 23:18 | JokerSob | Note Added: 0011745 | |
2020-12-01 10:41 | g0tmi1k | Note Added: 0013811 | |
2020-12-01 10:41 | g0tmi1k | Status | new => closed |