You are not logged in.

#1 2011-02-23 23:36:28

alesplin
Member
Registered: 2009-11-19
Posts: 2

[Solved] ack disappearing

I've tried several times to install ack (the grep replacement), and each time I end up with the following:

--# pacman -Sy ack
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
resolving dependencies...
looking for inter-conflicts...

Targets (1): ack-1.94-1

Total Download Size:    0.00 MB
Total Installed Size:   0.22 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                             [##################################] 100%
(1/1) installing ack                                          [##################################] 100%

Then, when I try to use it:

--$ ack
bash: ack: command not found
--$ /usr/bin/ack
bash: /usr/bin/ack: No such file or directory
--$ /usr/local/bin/ack
bash: /usr/local/bin/ack: No such file or directory
--$ which ack
which: no ack in (/usr/local/racket/bin:/usr/local/pgsql/bin:/usr/local/gold/bin:/usr/local/gold/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/slurm/bin:/usr/local/slurm/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl)

Any thoughts?

Last edited by alesplin (2011-02-23 23:39:25)

Offline

#2 2011-02-23 23:38:56

alesplin
Member
Registered: 2009-11-19
Posts: 2

Re: [Solved] ack disappearing

Nevermind. Found it here.

Any reason why the install can't at least symlink it into /usr/bin or /usr/local/bin?

Offline

#3 2011-02-23 23:44:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] ack disappearing

alesplin wrote:

Nevermind. Found it here.

Any reason why the install can't at least symlink it into /usr/bin or /usr/local/bin?

Maybe because it's perl-based and those things follow their own rules.

This might help you in the future.

Last edited by karol (2011-02-23 23:48:30)

Offline

Board footer

Powered by FluxBB