Re: sort installed but not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Horst H. von Brand wrote:
> Justin Conover <justin.conover@xxxxxxxxx> wrote:
>> ["so<TAB>" finds sort, "rpm -qa | sort" doesn't]
> 
> Perhaps the "sort" is mistyped somehow (i.e., you snuck in a correction
> into the command name)? Perhaps the sort it is finding is not sort(1),
> i.e., /bin/sort (which(1) should answer that, try calling that one
> explicitly). Perhaps the PATH is borked? It could be a error message from
> the sort program being called (yes, I've seen my share of less than useful
> messages in my time). What shell are you using?
> 
> The package containing sort could be broken, try "rpm -Vf /bin/sort".
> 
> Try something like "sort /etc/passwd" or "/bin/sort /etc/passwd", if it
> fails, try
> 
>   strace sort /etc/passwd 2> /tmp/SOMEPLACESAFE
> 
> or the same with /bin, and look at what it tries to do and where it fails.
> That should give some clue on what is going on here.

I was wondering if possibly the <tab> expansion of programs uses the
update database.  if so it will find it until you run updatedb.

Do an 'ls /bin/so*' to find out if it is still there.

hth

Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFwi3a5mBKdb7VQEcRAmzLAJ9K6l337RbbLQq5x7DrN6j0Z+Jr7gCfTH6d
UldM9HgEHDcJdiF2Q86tWxQ=
=83Vx
-----END PGP SIGNATURE-----

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]