twiki - script installation problem,

14 posts / 0 new
Last post
#1 Thu, 12/18/2008 - 10:53
nay

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

Thu, 12/18/2008 - 11:14
ronald
ronald's picture

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

Thu, 12/18/2008 - 11:21 (Reply to #2)
andreychek

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

Thu, 12/18/2008 - 11:27 (Reply to #3)
ronald
ronald's picture

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

Thu, 12/18/2008 - 11:29 (Reply to #4)
nay

Thanks for the info. I tried and i got this

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

Something wrong?

Thanks

Thu, 12/18/2008 - 11:32 (Reply to #5)
nay

Sorry below is the complete one. I am using &quot;shell command&quot; under webmin

&quot;&gt; yum install rcs
Loading &quot;installonlyn&quot; plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--&gt; Populating transaction set with selected packages. Please wait.
---&gt; Package rcs.i386 0:5.7-30.1 set to be updated
--&gt; 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 &quot;/usr/bin/yum&quot;, line 29, in ?
yummain.main(sys.argv[1:])
File &quot;/usr/share/yum-cli/yummain.py&quot;, line 172, in main
base.doTransaction()
File &quot;/usr/share/yum-cli/cli.py&quot;, line 413, in doTransaction
if not self.userconfirm():
File &quot;/usr/share/yum-cli/output.py&quot;, line 115, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line
&quot;

Thanks

Thu, 12/18/2008 - 11:32 (Reply to #6)
andreychek

Hrm, that's not the expected behavior from yum :-)

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 &quot;yum install rcs&quot;.
-Eric

Thu, 12/18/2008 - 11:36 (Reply to #7)
andreychek

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 -&gt; System -&gt; Software Packages and install rcs from within there.
-Eric

Thu, 12/18/2008 - 11:38 (Reply to #8)
nay

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

&quot;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 &quot;/usr/bin/yum&quot;, line 29, in ?
yummain.main(sys.argv[1:])
File &quot;/usr/share/yum-cli/yummain.py&quot;, line 172, in main
base.doTransaction()
File &quot;/usr/share/yum-cli/cli.py&quot;, line 413, in doTransaction
if not self.userconfirm():
File &quot;/usr/share/yum-cli/output.py&quot;, line 115, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line
&quot;

thanks

Thu, 12/18/2008 - 11:44 (Reply to #9)
nay

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

Thanks

Thu, 12/18/2008 - 11:44 (Reply to #10)
ronald
ronald's picture

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

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

try logging in over SSH as Eric suggested.

Thu, 12/18/2008 - 11:47 (Reply to #11)
ronald
ronald's picture

having <a href='http://www.putty.org/' target='_blank'>putty</a> comes in handy
start it and log in to your box.

then run commands at the prompt

Thu, 12/18/2008 - 12:21 (Reply to #12)
nay

Thanks ronald. i will try it.

Thu, 12/18/2008 - 13:10 (Reply to #13)
Joe
Joe's picture

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 &quot;yum -y install rcs&quot;. But there is a module specifically for installing packages, so if you're going to use Webmin, use the module for the purpose.)

--

Check out the forum guidelines!

Topic locked