PackageKit-command-not-found giving repo_add_solv() has failed

2021-07-04 Thread George N. White III
Bug 1979048 <https://bugzilla.redhat.com/show_bug.cgi?id=1979048>

TLDNR:

Fedora 34, updated from Fedora 33 and using zsh.   System has been updated
using dnf.

zsh uses:

PackageKit-command-not-found.x86_64 : Ask the user to install command line
programs automatically

% xindy
zsh: xindy: command not found...
Failed to search for file: repo_add_solv() has failed.

This should offer to install the texlive-xindy package.

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: netfsname: command not found

2020-04-19 Thread George N. White III
On Sat, 18 Apr 2020 at 23:45, Hiisi  wrote:

> On Sat, Apr 18, 2020 at 12:44 PM Samuel Sieb  wrote:
> >
>
> > Are you sure that's a binary?  That looks more like a script of some
> > sort.  What does "file wnprun/bin/witnotp" say?
>
> You are right. It's a script actually:
> workspace/tmp/jake/wnprun/bin/witnotp: Bourne-Again shell script,
> ASCII text executable
>
> The line that causes the error is:
> wnp_dir=`netfsname $wnp_dir`
> Maybe I will play with it trying to substitute that outdated bash
> commands. What would be your guess for netfsname?


Do you know when the software was used?

Maybe a tool for Acorn NetFS
, which
now redirects to Econet  on
Wikipedia.
"Support for Econet was removed from the Linux kernel
 at version 3.5 in 2012"

 See: https://www.exploit-db.com/exploits/15704 for an exploit and note that
"RedHat does not support Econet by default".

 * CVE-2010-3849
 * -
 * This is a NULL pointer dereference in the Econet protocol.  By itself, it's
 * fairly benign as a local denial-of-service.  It's a perfect candidate to
 * trigger the above issue, since it's reachable via sock_no_sendpage(), which
 * subsequently calls sendmsg under KERNEL_DS.
 *
 * CVE-2010-3850
 * -
 * I wouldn't be able to reach the NULL pointer dereference and trigger the
 * OOPS if users weren't able to assign Econet addresses to arbitrary
 * interfaces due to a missing capabilities check.
 *
 * In the interest of public safety, this exploit was specifically designed to
 * be limited:
 *
 *  * The particular symbols I resolve are not exported on Slackware or Debian
 *  * Red Hat does not support Econet by default
 *  * CVE-2010-3849 and CVE-2010-3850 have both been patched by Ubuntu and
 *Debian
 *
 * However, the important issue, CVE-2010-4258, affects everyone, and it would
 * be trivial to find an unpatched DoS under KERNEL_DS and write a slightly
 * more sophisticated version of this that doesn't have the roadblocks I put in
 * to prevent abuse by script kiddies.
 *
 * Tested on unpatched Ubuntu 10.04 kernels, both x86 and x86-64.


You might try installing Ubuntu 10.04
 in a VM.The
University of Utah has a
large collection of VM's and might be able to help, but "netfsname" doesn't
appear in https://www.math.utah.edu/~beebe/unix/unix-commands.html .   They
may not be installing old network software.   They do have

ftp://ftp.math.utah.edu/pub/mirrors/ftp.redhat.com/pub/redhat/linux/8.0/en/iso/i386/
ftp://ftp.math.utah.edu/pub/mirrors/ftp.redhat.com/pub/redhat/linux/9/en/iso/i386/



-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-19 Thread Andy Paterson via users
I would guess its trying to return the fikesystem mount point for the supplied 
pathname - try:
Stat -c %m


> On 19 Apr 2020, at 03:45, Hiisi  wrote:
> 
> On Sat, Apr 18, 2020 at 12:44 PM Samuel Sieb  wrote:
>> 
> 
>> Are you sure that's a binary?  That looks more like a script of some
>> sort.  What does "file wnprun/bin/witnotp" say?
> 
> You are right. It's a script actually:
> workspace/tmp/jake/wnprun/bin/witnotp: Bourne-Again shell script,
> ASCII text executable
> 
> The line that causes the error is:
> wnp_dir=`netfsname $wnp_dir`
> Maybe I will play with it trying to substitute that outdated bash
> commands. What would be your guess for netfsname?
> Thanks for your help!
> -- 
> Hiisi.
> Registered Linux User #487982. Be counted at: https://linuxcounter.net/
> --
> Spandex is a privilege, not a right.
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-18 Thread Samuel Sieb

On 4/18/20 7:44 PM, Hiisi wrote:

You are right. It's a script actually:
workspace/tmp/jake/wnprun/bin/witnotp: Bourne-Again shell script,
ASCII text executable

The line that causes the error is:
wnp_dir=`netfsname $wnp_dir`
Maybe I will play with it trying to substitute that outdated bash
commands. What would be your guess for netfsname?


No idea, I can't find any reference for it.  Check what the following 
lines do with it.  Maybe you can just comment it out since you're 
probably not using a network filesystem.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-18 Thread Hiisi
On Sat, Apr 18, 2020 at 12:44 PM Samuel Sieb  wrote:
>

> Are you sure that's a binary?  That looks more like a script of some
> sort.  What does "file wnprun/bin/witnotp" say?

You are right. It's a script actually:
workspace/tmp/jake/wnprun/bin/witnotp: Bourne-Again shell script,
ASCII text executable

The line that causes the error is:
wnp_dir=`netfsname $wnp_dir`
Maybe I will play with it trying to substitute that outdated bash
commands. What would be your guess for netfsname?
Thanks for your help!
-- 
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-18 Thread Samuel Sieb

On 4/18/20 6:51 AM, Hiisi wrote:

On Sat, Apr 18, 2020 at 3:33 AM Samuel Sieb  wrote:


Is that the name of the binary that you are trying to run?

No. The software is called WitNop. The error occurs when I run the
compiled binary file:
wnprun/bin/witnotp: line 200: netfsname: command not found
sorry, cant execute client sw_client.current


Are you sure that's a binary?  That looks more like a script of some 
sort.  What does "file wnprun/bin/witnotp" say?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-18 Thread Hiisi
On Sat, Apr 18, 2020 at 3:33 AM Samuel Sieb  wrote:
>
>
> Is that the name of the binary that you are trying to run?
No. The software is called WitNop. The error occurs when I run the
compiled binary file:
wnprun/bin/witnotp: line 200: netfsname: command not found
sorry, cant execute client sw_client.current

-- 
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: netfsname: command not found

2020-04-18 Thread Samuel Sieb

On 4/17/20 5:54 PM, Hiisi wrote:

Hello, list.
After compiling some ancient Fortran project I'm unable to run the
resulting binary. It halts with the following message:
netfsname: command not found


Is that the name of the binary that you are trying to run?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


netfsname: command not found

2020-04-17 Thread Hiisi
Hello, list.
After compiling some ancient Fortran project I'm unable to run the
resulting binary. It halts with the following message:
netfsname: command not found

Searching with dnf I wasn't able to get any matches. I understand it
must be some old commands, but maybe grey-headed folks here could
point me into the right direction?
-- 
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-17 Thread Samuel Sieb

On 5/15/19 10:02 AM, francis.montag...@inria.fr wrote:

Me too, and particularly since I discovered the M-/ (or Alt-/,
complete-filename) key to force a simple filename completion when the
full (too fancy) completion with TAB is not what you want.


Thank you very much for this tip!  I used this yesterday.  That has been 
my only annoyance with bash-completion.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-17 Thread Ian Chapman

On 15/05/2019 06:33, Tom Horsley wrote:


Try removing PackageKit-command-not-found if you don't want that
"feature".


On my list to remove even before I first boot a newly
installed fedora (from a chroot into the fedora partition).
bash-completion and environment-modules are two other
highly irritating ones I get rid of.


+1 to that. The bash-completion is in theory useful but in many cases it 
doesn't fallback to the default properly which is just annoying.


--
Regards,
Ian Chapman
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-15 Thread Francis . Montagnac

Hi

On Wed, 15 May 2019 11:45:51 +0100 Patrick O'Callaghan wrote:
> On Tue, 2019-05-14 at 18:33 -0400, Tom Horsley wrote:
>> On my list to remove even before I first boot a newly
>> installed fedora (from a chroot into the fedora partition).
>> bash-completion and environment-modules are two other
>> highly irritating ones I get rid of.

> I find bash-completion useful (within limits).

Me too, and particularly since I discovered the M-/ (or Alt-/,
complete-filename) key to force a simple filename completion when the
full (too fancy) completion with TAB is not what you want.

The bash-completion is really useful with a bunch of commands
nowadays.

-- 
francis
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-15 Thread Patrick O'Callaghan
On Tue, 2019-05-14 at 18:33 -0400, Tom Horsley wrote:
> On Tue, 14 May 2019 18:11:45 -0400
> DJ Delorie wrote:
> 
> > Try removing PackageKit-command-not-found if you don't want that
> > "feature".
> 
> On my list to remove even before I first boot a newly
> installed fedora (from a chroot into the fedora partition).
> bash-completion and environment-modules are two other
> highly irritating ones I get rid of.

I find bash-completion useful (within limits).

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-15 Thread Robert P. J. Day
On Tue, 14 May 2019, Samuel Sieb wrote:

> On 5/14/19 3:00 PM, Robert P. J. Day wrote:
> >i'm finally annoyed enough about this to just ask ... on a regular
> > basis, i mistype a command and (predictably) get:
> >
> >bash: xxx: command not found...
> >
> > but, quite often, rather than getting a bash prompt back immediately,
> > there is a lng pause, as i wait, and wait, and wait for a new
> > prompt, finally running out of patience and breaking with ^C to get a
> > new prompt.
> >
> >what in the name of mutt is bash doing all that time? if there's no
> > such command, why the long pause in giving me a new prompt?
>
> If you have "PackageKit-command-not-found" installed, then it's trying to find
> you a package to install to give you that command.  Try running a command that
> could exist, but you don't have installed.  For example, "cowsay". :-)
> (Unless you do have that installed.)

  ah, got it, thanks.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
 http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-14 Thread Tom Horsley
On Tue, 14 May 2019 18:11:45 -0400
DJ Delorie wrote:

> Try removing PackageKit-command-not-found if you don't want that
> "feature".

On my list to remove even before I first boot a newly
installed fedora (from a chroot into the fedora partition).
bash-completion and environment-modules are two other
highly irritating ones I get rid of.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-14 Thread Samuel Sieb

On 5/14/19 3:00 PM, Robert P. J. Day wrote:

   i'm finally annoyed enough about this to just ask ... on a regular
basis, i mistype a command and (predictably) get:

   bash: xxx: command not found...

but, quite often, rather than getting a bash prompt back immediately,
there is a lng pause, as i wait, and wait, and wait for a new
prompt, finally running out of patience and breaking with ^C to get a
new prompt.

   what in the name of mutt is bash doing all that time? if there's no
such command, why the long pause in giving me a new prompt?


If you have "PackageKit-command-not-found" installed, then it's trying 
to find you a package to install to give you that command.  Try running 
a command that could exist, but you don't have installed.  For example, 
"cowsay". :-)  (Unless you do have that installed.)

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why the long pause after bash "command not found"?

2019-05-14 Thread DJ Delorie
"Robert P. J. Day"  writes:
>   what in the name of mutt is bash doing all that time? if there's no
> such command, why the long pause in giving me a new prompt?

It's probably trying to give you a clue on how to install the right
package to get that command.

Try removing PackageKit-command-not-found if you don't want that
"feature".
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


RE: why the long pause after bash "command not found"?

2019-05-14 Thread 3603060030
This is PackageKit looking for RPM binary packages that might have the command 
you need.

(Please CC this message yourself if it doesn't reach the list.)

  -Original Message-
  From: 
  Sent: Tue, 14 May 2019 18:00:29 -0400 (EDT)
  To: 3603060...@txt.att.net
 Subject: why the long pause after bash "command not found"?

>
>  i'm finally annoyed enough about this to just ask ... on a regular
>basis, i mistype a command and (predictably) get:
>
>  bash: xxx: command not found...
>
>but, quite often

==
This mobile text message is brought to you by AT
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


why the long pause after bash "command not found"?

2019-05-14 Thread Robert P. J. Day

  i'm finally annoyed enough about this to just ask ... on a regular
basis, i mistype a command and (predictably) get:

  bash: xxx: command not found...

but, quite often, rather than getting a bash prompt back immediately,
there is a lng pause, as i wait, and wait, and wait for a new
prompt, finally running out of patience and breaking with ^C to get a
new prompt.

  what in the name of mutt is bash doing all that time? if there's no
such command, why the long pause in giving me a new prompt?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
 http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: bash command not found

2011-06-06 Thread Richard Hughes
On 6 June 2011 03:57, Rahul Sundaram methe...@gmail.com wrote:
 It really isn't.  It is just a workaround that produces inconsistent
 behaviour for reasons that are not clear or documented.  The right fix
 would be to find out why yum doesn't work off the cache when told to and
 solve that problem but this workaround is better than previous behaviour

yum isn't really designed to work in this way. Nobody is that
interested in fixing it.

Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-05 Thread Rahul Sundaram
On 06/02/2011 05:19 PM, Chris Tyler wrote:
 On Thu, 2011-06-02 at 12:39 +0100, Richard Hughes wrote:
  
 This is by design. I lost count of the number of bugs opened against
 PackageKit-command-not-found where yum would happily go and download
 the latest metadata and take 3 minutes to return to the bash prompt,
 even when yum is told to work from a cache.
 Just to be clear: I think that's the right way of operating :-)

It really isn't.  It is just a workaround that produces inconsistent
behaviour for reasons that are not clear or documented.  The right fix
would be to find out why yum doesn't work off the cache when told to and
solve that problem but this workaround is better than previous behaviour

Rahul

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


bash command not found

2011-06-02 Thread Eric Tanguy
In fedora14 in cli if i try an unknown command the system tried to find 
the package containing this command.
This seems to not work in f15.
# telnet
bash: telnet: command not found...

and that's all. The system does not propose to install telnet client 
package.
Is this normal ?

Thanks
Eric

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Joachim Backes

On 06/02/2011 11:19 AM, Eric Tanguy wrote:

In fedora14 in cli if i try an unknown command the system tried to find
the package containing this command.
This seems to not work in f15.
# telnet
bash: telnet: command not found...

and that's all. The system does not propose to install telnet client
package.
Is this normal ?

Thanks
Eric



Install

PackageKit-command-not-found

--
Joachim Backes joachim.bac...@rhrk.uni-kl.de

http://www.rhrk.uni-kl.de/~backes



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Eric Tanguy
Le 02/06/2011 11:25, Joachim Backes a écrit :
 On 06/02/2011 11:19 AM, Eric Tanguy wrote:
 In fedora14 in cli if i try an unknown command the system tried to find
 the package containing this command.
 This seems to not work in f15.
 # telnet
 bash: telnet: command not found...

 and that's all. The system does not propose to install telnet client
 package.
 Is this normal ?

 Thanks
 Eric


 Install

 PackageKit-command-not-found

PackageKit-command-not-found-0.6.14-2.fc15.x86_64 already installed but 
does not seem to work.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Joachim Backes

On 06/02/2011 11:30 AM, Eric Tanguy wrote:

Le 02/06/2011 11:25, Joachim Backes a écrit :

On 06/02/2011 11:19 AM, Eric Tanguy wrote:

In fedora14 in cli if i try an unknown command the system tried to find
the package containing this command.
This seems to not work in f15.
# telnet
bash: telnet: command not found...

and that's all. The system does not propose to install telnet client
package.
Is this normal ?

Thanks
Eric



Install

PackageKit-command-not-found


PackageKit-command-not-found-0.6.14-2.fc15.x86_64 already installed but
does not seem to work.



Hi Eric,

after uninstalling telnet and typing telnet somehost inside of a 
gnome-terminal, I get:


telnet somehost
bash: telnet: command not found...
Install package 'telnet' to provide command 'telnet'? [N/y

Answering with yes will install the telnet package, and the telnet cmd 
is started.


--
Joachim Backes joachim.bac...@rhrk.uni-kl.de

http://www.rhrk.uni-kl.de/~backes



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Eric Tanguy
Le 02/06/2011 11:36, Joachim Backes a écrit :
 On 06/02/2011 11:30 AM, Eric Tanguy wrote:
 Le 02/06/2011 11:25, Joachim Backes a écrit :
 On 06/02/2011 11:19 AM, Eric Tanguy wrote:
 In fedora14 in cli if i try an unknown command the system tried to 
 find
 the package containing this command.
 This seems to not work in f15.
 # telnet
 bash: telnet: command not found...

 and that's all. The system does not propose to install telnet client
 package.
 Is this normal ?

 Thanks
 Eric


 Install

 PackageKit-command-not-found

 PackageKit-command-not-found-0.6.14-2.fc15.x86_64 already installed but
 does not seem to work.


 Hi Eric,

 after uninstalling telnet and typing telnet somehost inside of a 
 gnome-terminal, I get:

 telnet somehost
 bash: telnet: command not found...
 Install package 'telnet' to provide command 'telnet'? [N/y

 Answering with yes will install the telnet package, and the telnet 
 cmd is started.

I tried uninstall and reinstall PackageKit-command-not-found with the 
same result.
Maybe a x86_64 problem ?
Eric

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Michael Schwendt
On Thu, 02 Jun 2011 11:43:19 +0200, ET wrote:

 I tried uninstall and reinstall PackageKit-command-not-found with the 
 same result.
 Maybe a x86_64 problem ?

No. Don't just reinstall a package if it isn't broken.
Try to examine the problem a bit. Everything's there for
you to look at.

$ rpm -ql PackageKit-command-not-found
/etc/PackageKit/CommandNotFound.conf
/etc/profile.d/PackageKit.sh
/usr/libexec/pk-command-not-found

Look at /etc/profile.d/PackageKit.sh and try to find out
whether it is run and where it terminates.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Chris Tyler
On Thu, 2011-06-02 at 11:43 +0200, Eric Tanguy wrote:
 I tried uninstall and reinstall PackageKit-command-not-found with the 
 same result.
 Maybe a x86_64 problem ?
 Eric
 

Two observations:

- If Packagekit-command-not-found is active, the error message seems to
change from:

bash: thunderbird: command not found

to:

bash: thunderbird: command not found...

(Note the ...)

- If pk-c-n-f times out on fetching file list metadata, it seems to
silently stop trying to suggest packages. I've seen this on slow
connections and disconnected machines. IIRC, fetching recent metadata
(e.g., by using yum to find a file-level dependency) restores pk-c-n-f's
operation.

--
Chris

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Richard Hughes
On 2 June 2011 12:35, Chris Tyler ch...@tylers.info wrote:
 - If pk-c-n-f times out on fetching file list metadata, it seems to
 silently stop trying to suggest packages. I've seen this on slow
 connections and disconnected machines. IIRC, fetching recent metadata
 (e.g., by using yum to find a file-level dependency) restores pk-c-n-f's
 operation.

This is by design. I lost count of the number of bugs opened against
PackageKit-command-not-found where yum would happily go and download
the latest metadata and take 3 minutes to return to the bash prompt,
even when yum is told to work from a cache.

If you want the old behaviour back, just up the timeout in
/etc/PackageKit/CommandNotFound.conf

# Controls how long we should allow the user to wait when searching for
# additional packages.
# This can be set to very small numbers to avoid distracting the user, although
# some entries may not be found if the caches need refreshing or metadata
# downloading.
#
# Value is the number of milliseconds to allow.
#
# default=2000
MaxSearchTime=2000

Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Chris Tyler
On Thu, 2011-06-02 at 12:39 +0100, Richard Hughes wrote:
 On 2 June 2011 12:35, Chris Tyler ch...@tylers.info wrote:
  - If pk-c-n-f times out on fetching file list metadata, it seems to
  silently stop trying to suggest packages. I've seen this on slow
  connections and disconnected machines. IIRC, fetching recent metadata
  (e.g., by using yum to find a file-level dependency) restores pk-c-n-f's
  operation.
 
 This is by design. I lost count of the number of bugs opened against
 PackageKit-command-not-found where yum would happily go and download
 the latest metadata and take 3 minutes to return to the bash prompt,
 even when yum is told to work from a cache.

Just to be clear: I think that's the right way of operating :-)

-Chris

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Eric Tanguy
Le 02/06/2011 13:12, Michael Schwendt a écrit :
 On Thu, 02 Jun 2011 11:43:19 +0200, ET wrote:

 I tried uninstall and reinstall PackageKit-command-not-found with the
 same result.
 Maybe a x86_64 problem ?
 No. Don't just reinstall a package if it isn't broken.
 Try to examine the problem a bit. Everything's there for
 you to look at.

 $ rpm -ql PackageKit-command-not-found
 /etc/PackageKit/CommandNotFound.conf
 /etc/profile.d/PackageKit.sh
 /usr/libexec/pk-command-not-found

 Look at /etc/profile.d/PackageKit.sh and try to find out
 whether it is run and where it terminates.
I did nothing special and now it works ...
I don't understand!
Thanks
Eric

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Eric Tanguy
Le 02/06/2011 15:30, Eric Tanguy a écrit :
 Le 02/06/2011 13:12, Michael Schwendt a écrit :
 On Thu, 02 Jun 2011 11:43:19 +0200, ET wrote:

 I tried uninstall and reinstall PackageKit-command-not-found with the
 same result.
 Maybe a x86_64 problem ?
 No. Don't just reinstall a package if it isn't broken.
 Try to examine the problem a bit. Everything's there for
 you to look at.

 $ rpm -ql PackageKit-command-not-found
 /etc/PackageKit/CommandNotFound.conf
 /etc/profile.d/PackageKit.sh
 /usr/libexec/pk-command-not-found

 Look at /etc/profile.d/PackageKit.sh and try to find out
 whether it is run and where it terminates.
 I did nothing special and now it works ...
 I don't understand!
 Thanks
 Eric

In fact it's not stable.
Sometimes
$ ftp
bash: ftp: commande inconnue...
Voulez-vous installer le paquet « ftp » qui fournit la commande 
« ftp » ? [N/y]

And sometimes
$ ftp
bash: ftp: commande inconnue...

How to find where the problem could come from ?
Eric

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash command not found

2011-06-02 Thread Patrick O'Callaghan
On Thu, 2011-06-02 at 16:09 +0200, Eric Tanguy wrote:
 Le 02/06/2011 15:30, Eric Tanguy a écrit :
  Le 02/06/2011 13:12, Michael Schwendt a écrit :
  On Thu, 02 Jun 2011 11:43:19 +0200, ET wrote:
 
  I tried uninstall and reinstall PackageKit-command-not-found with the
  same result.
  Maybe a x86_64 problem ?
  No. Don't just reinstall a package if it isn't broken.
  Try to examine the problem a bit. Everything's there for
  you to look at.
 
  $ rpm -ql PackageKit-command-not-found
  /etc/PackageKit/CommandNotFound.conf
  /etc/profile.d/PackageKit.sh
  /usr/libexec/pk-command-not-found
 
  Look at /etc/profile.d/PackageKit.sh and try to find out
  whether it is run and where it terminates.
  I did nothing special and now it works ...
  I don't understand!
  Thanks
  Eric
 
 In fact it's not stable.
 Sometimes
 $ ftp
 bash: ftp: commande inconnue...
 Voulez-vous installer le paquet « ftp » qui fournit la commande 
 « ftp » ? [N/y]
 
 And sometimes
 $ ftp
 bash: ftp: commande inconnue...
 
 How to find where the problem could come from ?

This could well be simply a matter of adjusting the timeout, i.e. the
behaviour depends on the current speed of your network.

(Personally I think this level of helpfulness is totally out of place
in a Shell, so I fixed it by uninstalling PackageKit-command-not-found).

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


command not found

2010-07-03 Thread Jurek Bajor
Hi,
this is the current state of the matter:

[...@localhost ~]$ clera
bash: /usr/libexec/pk-command-not-found: No such file or directory
[r...@localhost jb]# yum install PackageKit-command-not-found
...
[r...@localhost jb]# clera--  note
the root mode
bash: clera: command not found
[...@localhost ~]$ clera-- note
the user mode
Command not found. Similar command is: 'clear'

I think somebody went over the hills ...
Bash is a too important application to be subjected to that kind of
experimentation !

Jurek
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: command not found

2010-07-03 Thread Geoffrey Leach
On 07/03/2010 10:19:18 AM, Jurek Bajor wrote:
 Hi,
 this is the current state of the matter:
 
 [...@localhost ~]$ clera
 bash: /usr/libexec/pk-command-not-found: No such file or directory
 [r...@localhost jb]# yum install PackageKit-command-not-found
 ...
 [r...@localhost jb]# clera--  note
 the root mode
 bash: clera: command not found
 [...@localhost ~]$ clera-- note
 the user mode
 Command not found. Similar command is: 'clear'
 
 I think somebody went over the hills ...
 Bash is a too important application to be subjected to that kind of
 experimentation !
 
 Jurek

Agreed!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: command not found

2010-07-03 Thread Frank Murphy
On 03/07/10 22:04, Geoffrey Leach wrote:
--snip--
 I think somebody went over the hills ...
 Bash is a too important application to be subjected to that kind of
 experimentation !

 Jurek

 Agreed!

I think it's cool, has helped me install missing packages at times,
have also seen good reports from sysadmins on non-fedora mls'

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: command not found

2010-07-03 Thread Tim
Jurek Bajor:
 Bash is a too important application to be subjected to that kind of
 experimentation ! 

Geoffrey Leach:
 Agreed!

Hmm, imagine the fun and games of running a script with a lot of typing
errors!  :-\

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: command not found

2010-07-03 Thread Ed Greshko
On 07/04/2010 11:58 AM, Tim wrote:
 Jurek Bajor:
   
 Bash is a too important application to be subjected to that kind of
 experimentation ! 
   
 Geoffrey Leach:
   
 Agreed!
 
 Hmm, imagine the fun and games of running a script with a lot of typing
 errors!  :-\

   
That wouldn't happen more than once, would it?  :-)

-- 
Collaboration, n.: A literary partnership based on the false assumption
that the other fellow can spell. 葛斯克 愛德華 / 台北市八德路四段



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Command not found

2010-07-02 Thread Geoffrey Leach
As in:
ge...@mtranch[30]-clera
Command not found. Similar command is: 'clear'

Which would explain the annoying pause after I mis-type something.
bash-4.1.7-1.fc13.i686

Anyone know how to suppress this nonsense?

thanks.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread Tom Horsley
On Fri, 02 Jul 2010 16:53:53 -0700
Geoffrey Leach wrote:

 Which would explain the annoying pause after I mis-type something.
 bash-4.1.7-1.fc13.i686
 
 Anyone know how to suppress this nonsense?

I put this in my ~/.bashrc

   unset -f command_not_found_handle

But you can also quash it system wide via:

   yum erase PackageKit-command-not-found
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread Craig White
On Fri, 2010-07-02 at 16:53 -0700, Geoffrey Leach wrote:
 As in:
 ge...@mtranch[30]-clera
 Command not found. Similar command is: 'clear'
 
 Which would explain the annoying pause after I mis-type something.
 bash-4.1.7-1.fc13.i686
 
 Anyone know how to suppress this nonsense?

What nonsense?

echo $PATH

PATH=/usr/bin

echo $PATH

clera

Get it?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread JD
  On 07/02/2010 05:05 PM, Craig White wrote:
 On Fri, 2010-07-02 at 16:53 -0700, Geoffrey Leach wrote:
 As in:
 ge...@mtranch[30]-clera
 Command not found. Similar command is: 'clear'

 Which would explain the annoying pause after I mis-type something.
 bash-4.1.7-1.fc13.i686

 Anyone know how to suppress this nonsense?
 
 What nonsense?

 echo $PATH

 PATH=/usr/bin

 echo $PATH

 clera

 Get it?

 Craig

Sorry for barge in in on this thread, as I did not catch the first of it...
Are you saying your shell changed the value of the PATH variable
after the first echo?


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread Geoffrey Leach
On 07/02/2010 05:19:07 PM, JD wrote:
   On 07/02/2010 05:05 PM, Craig White wrote:
  On Fri, 2010-07-02 at 16:53 -0700, Geoffrey Leach wrote:
  As in:
  ge...@mtranch[30]-clera
  Command not found. Similar command is: 'clear'
 
  Which would explain the annoying pause after I mis-type something.
  bash-4.1.7-1.fc13.i686
 
  Anyone know how to suppress this nonsense?
  
  What nonsense?
 
  echo $PATH
 
  PATH=/usr/bin
 
  echo $PATH
 
  clera
 
  Get it?
 
  Craig
 
 Sorry for barge in in on this thread, as I did not catch the first of
 it...
 Are you saying your shell changed the value of the PATH variable
 after the first echo?

Nah. Tom Horsley got it. Craig blew it. Sigh.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread Craig White
On Fri, 2010-07-02 at 18:44 -0700, Geoffrey Leach wrote:
 On 07/02/2010 05:19:07 PM, JD wrote:
On 07/02/2010 05:05 PM, Craig White wrote:
   On Fri, 2010-07-02 at 16:53 -0700, Geoffrey Leach wrote:
   As in:
   ge...@mtranch[30]-clera
   Command not found. Similar command is: 'clear'
  
   Which would explain the annoying pause after I mis-type something.
   bash-4.1.7-1.fc13.i686
  
   Anyone know how to suppress this nonsense?
   
   What nonsense?
  
   echo $PATH
  
   PATH=/usr/bin
  
   echo $PATH
  
   clera
  
   Get it?
  
   Craig
  
  Sorry for barge in in on this thread, as I did not catch the first of
  it...
  Are you saying your shell changed the value of the PATH variable
  after the first echo?
 
 Nah. Tom Horsley got it. Craig blew it. Sigh.

sorry...

$ rpm -q PackageKit-command-not-found
package PackageKit-command-not-found is not installed

I don't suffer from this self-inflicted wound but checking what is in
one's 'PATH' environmental variable is always a good idea anyway.

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Command not found

2010-07-02 Thread Ralf Corsepius
On 07/03/2010 01:53 AM, Geoffrey Leach wrote:
 As in:
 ge...@mtranch[30]-clera
 Command not found. Similar command is: 'clear'

 Which would explain the annoying pause after I mis-type something.
 bash-4.1.7-1.fc13.i686

 Anyone know how to suppress this nonsense?

One possility is you having
PackageKit-command-not-found
installed.

It changes bash's behavior to invoke yum to install a package providing 
the not found command and causes major issues in using shells.

= yum remove PackageKit-command-not-found

Ralf

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines