[ts-gen] debian, and no ksh

Bill Pippin pippin at owlriver.net
Tue Sep 11 11:18:57 EDT 2007


An anonymous debian user is having problems running the regression test
scripts:

> Problem is that when launching regression tests with bin/regress i get the
> following err msg
> bash: bin/regress: /bin/ksh: bad interpreter: No such file or directory

This means that the file /bin/ksh does not exist.  So, either ksh is
somewhere else, e.g. /usr/bin/ksh, or else it's completely missing.

You might look around for ksh, or pdksh, a substitute that might require some
tweaking of the test scripts.

    $ whereis ksh
    ksh: /bin/ksh /usr/bin/ksh /usr/share/man/man1/ksh.1.gz

Any Linux box will have a certain number of official command line shells:

    $ cat /etc/shells
    /bin/sh
    /bin/bash
    /sbin/nologin
    /bin/tcsh
    /bin/csh
    /bin/ksh

If you don't find ksh anywhere, you probably need to install the related
package.  For Centos, which is an rpm-based system, I can query using rpm;
you'll need to use whatever related tools debian provides.

    $ rpm -qa ksh
    ksh-20060214-1.4

    $ rpm -q --provides ksh
    ksh93
    ksh = 20060214-1.4

So, for us, the following would be needed, if we didn't already have ksh
installed:

    $ yum install ksh93

I'm not sure what you would need for apt, but the process should be similar.

Would anyone else on the list with more familiarity with debian like to 
speak up?

Thanks,

Bill


More information about the ts-general mailing list