Where did 'which' go?
I am upgrading from kernal 2.2 to 2.4 and I seem to have lost 'which' in the process (We're talking Slackware, BTW). So what program has replaced 'which?'
|
"which which" returns /usr/bin/which (bash shell script) - Debian derived system, not Slack.
What's your path look like ???. Edit: forgot to mention; 2.6 kernel |
rdx
Probably a path issue. Try locate witch. Edit: oops, which not witch |
which what ? :scratch:
|
Quote:
bash: which: command not found I have seen it as "what" then what became part of SCCS and it became which but it seems to be missing here. Anyway, echo $PATH returns : /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin |
"which" is a command in /usr/bin/ supplied by util-linux. The location is pretty standard.
|
Quote:
|
There are actually alternatives to which and there are various reasons to do it one way or the other.
|
I have slack 11 and which is there, /usr/bin/which
|
Quote:
|
Which in Slackware 11.0 was split away from the bin package into its own package (named which ofc). The same happened to 'file'.
When upgrading you should always read the changelog, and, for 11.0 and up, this: http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT BTW you would probably get much better response in Slackware forum than software. |
Quote:
That said, what else is missing? It's (slightly) irritating to find the next missing piece and have to stop what I'm doing and fetch the bogie. And, how does one know whether this is a software issue or a distribution one? By the time one knows all these answers they have no more questions. |
Quote:
There are a lot of additions and removals in the Changes and Hints, so have a look in there as each problem occurs and you should find an answer. I have had 11.0 and -current running fine so far, so there really shouldn't be distribution problems, only problems with updating. |
Rdx
I do not use slack, but think about this in the windows world. You have just updated from win95 to vista. Now, would you expect everything to be the same? No, progress occurs. Sometimes I do not understand why certain things are not standard on a new release. But as long as I can add those missed things back in, I am not going to get upset. It also puts a bright star on why we need to keep current. As big a PITA as it is, keeping no more than 1 version out of date prevents a lot of headaches like this. Good Luck Lazlow |
Quote:
|
All times are GMT -5. The time now is 09:48 PM. |