twiki - script installation problem,

Hi, I am trying to install twiki thru "install scripts" under "virtual server" . I got this error when i click on "show install option "[color=#FF0000]"This script cannot be installed, as it requires the following commands : rcs"[/color] . Is there anything should be done before the script installation?

Thanks
Nay
p.s I am using EC2 pro AMI "ami-6d4ca904"<br><br>Post edited by: nay, at: 2008/12/18 11:12

i suspect you need the rcs app
http://www.gnu.org/software/rcs/

Yeah, though there should be a package with your distro to provide rcs.

For example, if you’re using CentOS/RHEL, you can type:

yum install rcs

Or for Debian/Ubuntu:

apt-get install rcs

yes indeed, centos has it anyway … would be a lot easier then compiling it yourself

Thanks for the info. I tried and i got this

[color=#A7A7A7]“Total download size: 332 k
Is this ok [y/N]: Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.main(sys.argv[1:])
File “/usr/share/yum-cli/yummain.py”, line 172, in main
base.doTransaction()
File “/usr/share/yum-cli/cli.py”, line 413, in doTransaction
if not self.userconfirm():
File “/usr/share/yum-cli/output.py”, line 115, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line”[/color]

Something wrong?

Thanks

Sorry below is the complete one. I am using "shell command" under webmin

"> yum install rcs
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package rcs.i386 0:5.7-30.1 set to be updated
–> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size

Installing:
rcs i386 5.7-30.1 base 332 k

Transaction Summary

Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 332 k
Is this ok [y/N]: Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.main(sys.argv[1:])
File “/usr/share/yum-cli/yummain.py”, line 172, in main
base.doTransaction()
File “/usr/share/yum-cli/cli.py”, line 413, in doTransaction
if not self.userconfirm():
File “/usr/share/yum-cli/output.py”, line 115, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line
"

Thanks

Hrm, that’s not the expected behavior from yum :slight_smile:

What distro/version are you using? And did you run all that as root?

Also, what do you get if you run this first:

yum update

Followed by the "yum install rcs".
-Eric

Could you try logging in over SSH rather than using Webmin’s shell? Yum probably uses the Ncurses library to display it’s output, and that may be why it’s not working right through Webmin.

Alternatively, you could go into Webmin -> System -> Software Packages and install rcs from within there.
-Eric

Sorry, I am new to linux.
I tried "su root" and yum update
I still got the same error

"Transaction Summary

Install 1 Package(s)
Update 31 Package(s)
Remove 0 Package(s)

Total download size: 29 M
Is this ok [y/N]: Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.main(sys.argv[1:])
File “/usr/share/yum-cli/yummain.py”, line 172, in main
base.doTransaction()
File “/usr/share/yum-cli/cli.py”, line 413, in doTransaction
if not self.userconfirm():
File “/usr/share/yum-cli/output.py”, line 115, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line
"

thanks

Thanks Eric
It is working when I try from Webmin -> System -> Software Packages … Must be the user level. I’ve installed rcs and twiki. btw, in webmin>commandshell how do you login as root?

Thanks

choice = raw_input('Is this ok [y/N]: ') EOFError: EOF when reading a line

i suspect it needs a human to enter yes at the question and its not coming.

try logging in over SSH as Eric suggested.

having putty comes in handy
start it and log in to your box.

then run commands at the prompt

Thanks ronald. i will try it.

The Software Packages module can also install the package for you…if you must use Webmin.

But, as ronald mentioned, you can’t run an interactive application in the Command Shell. (So, you could use “yum -y install rcs”. But there is a module specifically for installing packages, so if you’re going to use Webmin, use the module for the purpose.)