View Issue Details

IDProjectCategoryView StatusLast Update
0008146Kali Linux[All Projects] Kali Package Bugpublic2023-02-05 15:00
Reportersmallkid Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2022.4 
Target VersionFixed in Version 
Summary0008146: command-not-found crashed when I use pipe connect any string whit a command that not installed
Descriptioncommand-not-found version: 0.3
Python version: 3.10.9 final 0
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2022.4
Codename: kali-rolling
Exception information:

EOF when reading a line
Traceback (most recent call last):
  File "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 95, in main
    if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
  File "/usr/share/command-not-found/CommandNotFound/CommandNotFound.py", line 356, in advise
    self.advice_single_deb_package(command, packages, snaps)
  File "/usr/share/command-not-found/CommandNotFound/CommandNotFound.py", line 226, in advice_single_deb_package
    self.install_prompt(packages[0][0])
  File "/usr/share/command-not-found/CommandNotFound/CommandNotFound.py", line 158, in install_prompt
    answer = input(prompt)
EOFError: EOF when reading a line
Steps To Reproducei tried those commands and always crash(mplayer and screenfetch is NOT installed):

127.0.0.1 333 | mplayer
123 | mplayer
123 | screenfetch
abc | mplayer

so i think it'll be crash when I type something like this: anyString | anyUninstalledCommand

Activities

kali-bugreport

2023-01-15 07:11

reporter   ~0017398

Don't think that Kali team is the maintainer of this package, should be probably reported upstream instead.

smallkid

2023-01-20 03:45

reporter   ~0017408

sorry but I still think there's a problem of yours, cuz system reporter told me to report this bug in here and I registered an account for this. And I have no way to know the "upstream" things, at least not in the crash report. If it's not necessary, how can I turn off this warning which is told me come to this web? plz.

kali-bugreport

2023-01-20 18:57

reporter   ~0017415

Not sure about the "yours", i'm not part of the Kali team.

"upstream" means the developer of that tool / software.

kali-bugreport

2023-02-05 15:00

reporter   ~0017479

See the following how to determine where to report stuff to:

https://www.kali.org/docs/community/getting-help/#reporting

Issue History

Date Modified Username Field Change
2023-01-15 06:04 smallkid New Issue
2023-01-15 07:11 kali-bugreport Note Added: 0017398
2023-01-20 03:45 smallkid Note Added: 0017408
2023-01-20 18:57 kali-bugreport Note Added: 0017415
2023-02-05 15:00 kali-bugreport Note Added: 0017479