Comment 4 for bug 875817

Revision history for this message
C de-Avillez (hggdh2) wrote :

By the way, you stated you could not find which package carries 'w'. Here is what I did:

(1) whereis w -- returns 'w: /usr/bin/w.procps /usr/bin/w /usr/share/man/man1/w.1.gz'
(2) apt-file search /bin/w (I am lazy) -- returns many entries, none of them seem to apply;
(3) ls -l /usr/bin/w -- returns '/usr/bin/w -> /etc/alternatives/w'

Ah, so it is managed by Alternatives. So now we can either 'ls -l /etc/alternatives/w', or 'update-alternatives --list w'. Both of them point to /usr/bin/w.procps

Now we run, again, 'apt-file search /usr/bin/w.procps' -- returns 'procps: /usr/bin/w.procps'.

So 'w' belongs to the procps package.