Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0008146Kali LinuxKali Package Bugpublic2023-05-28 04:35
Reportersmallkid Assigned Toarnaudr  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2022.4 
Fixed in Version2023.2 
Summary0008146: command-not-found crashed when I use pipe connect any string whit a command that not installed
Description

command-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 Reproduce

i 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

Relationships

has duplicate 0008314 closeddaniruiz im new to this field and im unable configure how to this report this bug . 
has duplicate 0008321 resolvedsteev i am using metasploit but during the process of making payload i get a error that is 'uninitialized constant I18n (NameError) I 

Activities

kali-bugreport

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

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

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

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

arnaudr

arnaudr

2023-05-23 07:22

manager   ~0017992

Should be fixed with command-not-found version 23.04.0-1+kali3. If you're running kali-rolling, « sudo apt update && sudo apt full-upgrade » should bring you the latest packages and it will be fixed. Otherwise wait for Kali 2023.2 that will be released in a week or two. Thanks for the report!

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
2023-05-18 13:23 daniruiz Relationship added has duplicate 0008314
2023-05-21 04:05 Johnjon Issue cloned: 0008318
2023-05-23 07:22 arnaudr Note Added: 0017992
2023-05-23 07:22 arnaudr Assigned To => arnaudr
2023-05-23 07:22 arnaudr Status new => assigned
2023-05-23 07:22 arnaudr Status assigned => resolved
2023-05-23 07:22 arnaudr Resolution open => fixed
2023-05-23 07:22 arnaudr Fixed in Version => 2023.2
2023-05-24 17:41 Dattachalwadi Issue cloned: 0008328
2023-05-28 04:35 steev Relationship added has duplicate 0008321