[colug-432] Install unique

Thomas W. cranston cranston.thomas at gmail.com
Thu Jan 27 12:59:15 EST 2011


On 01/27/2011 11:21 AM, Rob Funk wrote:
> On Thursday, January 27, 2011 12:08:53 pm Thomas W. cranston wrote:
>    
>> I ran the command ls /bin /usr/bin | sort | uniq | less w/the result:
>>
>> The program 'unique' is currently not installed.  You can install it by
>> typing:
>> sudo apt-get install john
>>      
> Are you sure you typed "uniq" and not "unique"?
> Could you possibly have "uniq" aliased to "unique"?
> What do you get when you run "type uniq"?
> How about "dpkg -S /usr/bin/uniq"?
>
> The uniq command is in the "coreutils" package on my Ubuntu Maverick machine,
> btw.
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
>    
I did not find uniq in the command history. Ran the command again:

tom at 1520:~$ ls /bin /usr/bin | sort | unique | less

The program 'unique' is currently not installed.  You can install it by 
typing:
sudo apt-get install john
(END)
[2]+  Stopped                 ls --color=auto /bin /usr/bin | sort | 
unique | less

replaced john with unique

tom at 1520:~$ sudo apt-get install unique
[sudo] password for tom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package unique


tom at 1520:~$ type uniq
uniq is /usr/bin/uniq

Looks like uniq is not aliased to unique


tom at 1520:~$ dpkg -S /usr/bin/uniq

coreutils: /usr/bin/uniq

Still wondering why the terminal suggests installing john










More information about the colug-432 mailing list