Re: weather reporting program in debian

2004-03-25 Thread Kamaraju Kusumanchi
Nate Duehr wrote:

Antonio Rodriguez wrote:

On Wed, Mar 24, 2004 at 12:32:15AM -0500, Kamaraju Kusumanchi wrote:
 

Kevin Mark wrote:

  

Hi Kamaraju and Paul,
If its a console program, I'd try 'alien' to convert the package and
install it. What's the worst that can happen?
-Kev

I got the rpm from 
http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 
and did a alien --to-deb

Now If I install this deb file, I am getting the following error, 
Could someone tell me what to do.

[EMAIL PROTECTED]:/home/software/expect$ sudo dpkg --install 
expect_5.39.0-94_i386.deb
Selecting previously deselected package expect.
(Reading database ... 127351 files and directories currently 
installed.)
Unpacking expect (from expect_5.39.0-94_i386.deb) ...
dpkg: error processing expect_5.39.0-94_i386.deb (--install):
trying to overwrite `/usr/share/man/man1/mkpasswd.1.gz', which is 
also in package whois
  


I would say you are getting your self in trouble. I don't see why a
weather program should mess with the password encryption. Better be
careful what programs you install in your machine.
 

The original poster got an answer to his problem, but as a follow-up 
to this -- you didn't read the output very carefully before sending 
him your "warning'".
It wasn't messing with passwords -- it was replacing (or attempting to 
replace) the mkpasswd man page, which while annoying, didn't 
constitute any security risk unless it included bogus instructions.

In addition it was the "expect" automation scripting language, which 
is well-known and has been around for years and years...

His biggest problem was probably that the weather script is just an 
example of how to use expect and therefore confusion about the need to 
install expect to get the weather program.  (Whoever figured that one 
out, kudos... I was thinking when I first read this that perhaps 
expect was a prerequisite for some other program and some website 
somewhere had instructed the original poster to "download all these 
RPM's and install them".

Nate Duehr, [EMAIL PROTECTED]


I should have been clearer before.

Basically when I did a rpm -qf /usr/bin/weather on the fedora machine, 
it gave me expect-5.39.0-93 package. But when I searched in the debian 
packages website, expect program did not have this file. So I thought 
debian's expect and Fedora's expect programs are different. So I 
downloaded Fedora's rpm package and did a alien --to-deb on this rpm. As 
my previous post suggests, I was not able to install the new .deb 
file... You know the rest of the story...

regards
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-24 Thread Kevin Mark
On Wed, Mar 24, 2004 at 04:53:35PM -0500, Lorenzo Prince wrote:
> Thus spake Kevin Mark:
> # So, why do you want to install a program that is already available as a
> # debian package?
> # If you can provide a reasonable answer, then install it.
> 
> The weather program is a demo stript that gives an example of how to use expect.
> In Red Hat and Fedora, this example program is either placed or linked in
> /usr/bin.  Careful examination of my system which has expect installed shows
> thatthe weather script as well as all other expect example scripts are located
> in the more appropriate /usr/share/doc/expect/examples directory where they can
> more easily be found.  If you want to use the weather script, there is no need
> to install an alien package.  Simply
> 
> ln -s /usr/share/DOC/expect/examples/weather /usr/bin
> 
> Sorry for the late reply on this one, but it actually took me this long to find
> the relevant info. ;-)
> 
> HTH,
> PRINCE
Hi The-$USER-Formaly-Know-as-Prince,
Thanks for the detailed info. So, you 'weather' program was actaully a
script that uses 'expect'. In that case, you just-run-it. So you dont
need to get a 'fedora' expect package. You just install debian 'expect'
and run it.
-Kev


signature.asc
Description: Digital signature


Re: weather reporting program in debian

2004-03-24 Thread Nate Duehr
Antonio Rodriguez wrote:

On Wed, Mar 24, 2004 at 12:32:15AM -0500, Kamaraju Kusumanchi wrote:
 

Kevin Mark wrote:

   

Hi Kamaraju and Paul,
If its a console program, I'd try 'alien' to convert the package and
install it. What's the worst that can happen?
-Kev
 

I got the rpm from 
http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 
and did a alien --to-deb

Now If I install this deb file, I am getting the following error, Could 
someone tell me what to do.

[EMAIL PROTECTED]:/home/software/expect$ sudo dpkg --install 
expect_5.39.0-94_i386.deb
Selecting previously deselected package expect.
(Reading database ... 127351 files and directories currently installed.)
Unpacking expect (from expect_5.39.0-94_i386.deb) ...
dpkg: error processing expect_5.39.0-94_i386.deb (--install):
trying to overwrite `/usr/share/man/man1/mkpasswd.1.gz', which is also 
in package whois
   

I would say you are getting your self in trouble. I don't see why a
weather program should mess with the password encryption. Better be
careful what programs you install in your machine.
 

The original poster got an answer to his problem, but as a follow-up to 
this -- you didn't read the output very carefully before sending him 
your "warning'". 

It wasn't messing with passwords -- it was replacing (or attempting to 
replace) the mkpasswd man page, which while annoying, didn't constitute 
any security risk unless it included bogus instructions.

In addition it was the "expect" automation scripting language, which is 
well-known and has been around for years and years...

His biggest problem was probably that the weather script is just an 
example of how to use expect and therefore confusion about the need to 
install expect to get the weather program.  (Whoever figured that one 
out, kudos... I was thinking when I first read this that perhaps expect 
was a prerequisite for some other program and some website somewhere had 
instructed the original poster to "download all these RPM's and install 
them".

Nate Duehr, [EMAIL PROTECTED]

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-24 Thread Kamaraju Kusumanchi
Lorenzo Prince wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thus spake Kevin Mark:
# So, why do you want to install a program that is already available as a
# debian package?
# If you can provide a reasonable answer, then install it.
The weather program is a demo stript that gives an example of how to use expect.
In Red Hat and Fedora, this example program is either placed or linked in
/usr/bin.  Careful examination of my system which has expect installed shows
thatthe weather script as well as all other expect example scripts are located
in the more appropriate /usr/share/doc/expect/examples directory where they can
more easily be found.  If you want to use the weather script, there is no need
to install an alien package.  Simply
ln -s /usr/share/DOC/expect/examples/weather /usr/bin

Sorry for the late reply on this one, but it actually took me this long to find
the relevant info. ;-)
 

Thanks for the help. That's exactly what I wanted.

raju

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-24 Thread Hugo Vanwoerkom
Lorenzo Prince wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The weather program is a demo stript that gives an example of how to use expect.
In Red Hat and Fedora, this example program is either placed or linked in
/usr/bin.  Careful examination of my system which has expect installed shows
thatthe weather script as well as all other expect example scripts are located
in the more appropriate /usr/share/doc/expect/examples directory where they can
more easily be found.  If you want to use the weather script, there is no need
to install an alien package.  Simply
ln -s /usr/share/DOC/expect/examples/weather /usr/bin

My kind of program, this means the weather is *bad*:

Script started on Wed Mar 24 17:54:59 2004
weather
spawn telnet cirrus.sprl.umich.edu 3000
Trying 141.213.23.51...
Connected to yang.sprl.umich.edu.
Escape character is '^]'.
Connection closed by foreign host.
failed to telnet to weather server
exit
Script done on Wed Mar 24 17:55:19 2004
Hugo.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-24 Thread Lorenzo Prince
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thus spake Kevin Mark:
# So, why do you want to install a program that is already available as a
# debian package?
# If you can provide a reasonable answer, then install it.

The weather program is a demo stript that gives an example of how to use expect.
In Red Hat and Fedora, this example program is either placed or linked in
/usr/bin.  Careful examination of my system which has expect installed shows
thatthe weather script as well as all other expect example scripts are located
in the more appropriate /usr/share/doc/expect/examples directory where they can
more easily be found.  If you want to use the weather script, there is no need
to install an alien package.  Simply

ln -s /usr/share/DOC/expect/examples/weather /usr/bin

Sorry for the late reply on this one, but it actually took me this long to find
the relevant info. ;-)

HTH,
PRINCE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAYgNfAl2SNUPt1I8RAhzcAJ0XMjh9R5kaj661BOUUD6p4mZydgQCdF1dk
ctsqQuiC81+e7KjGKLFPg8E=
=3Xaa
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-24 Thread Kevin Mark
On Wed, Mar 24, 2004 at 12:13:20AM -0500, Kamaraju Kusumanchi wrote:
> Kevin Mark wrote:
> 
> >Hi Kamaraju and Paul,
> >If its a console program, I'd try 'alien' to convert the package and
> >install it. What's the worst that can happen?
> >-Kev
> > 
> >
> I got the rpm from 
> http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 
> and did a alien --to-deb
> 
> Now If I install this deb file, I am getting the following error, Could 
> someone tell me what to do.
> 
> [EMAIL PROTECTED]:/home/software/expect$ sudo dpkg --install 
> expect_5.39.0-94_i386.deb
> Selecting previously deselected package expect.
> (Reading database ... 127351 files and directories currently installed.)
> Unpacking expect (from expect_5.39.0-94_i386.deb) ...
> dpkg: error processing expect_5.39.0-94_i386.deb (--install):
> trying to overwrite `/usr/share/man/man1/mkpasswd.1.gz', which is also 
> in package whois
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
> expect_5.39.0-94_i386.deb
> 
> regards
> raju
Hi Raju,
The simple answer is 'dpkg --install --force-overwrite'.
BUT BUT BUT
1) you should install the debian version of expect UNLESS you are a
debian guru.
2) I was responding to a request to install a program that was NOT
available as a DEBIAN package.

So, why do you want to install a program that is already available as a
debian package?
If you can provide a reasonable answer, then install it.
-Kevin


signature.asc
Description: Digital signature


Re: weather reporting program in debian

2004-03-24 Thread Antonio Rodriguez
On Wed, Mar 24, 2004 at 12:32:15AM -0500, Kamaraju Kusumanchi wrote:
> Kevin Mark wrote:
> 
> >Hi Kamaraju and Paul,
> >If its a console program, I'd try 'alien' to convert the package and
> >install it. What's the worst that can happen?
> >-Kev
> > 
> >
> I got the rpm from 
> http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 
> and did a alien --to-deb
> 
> Now If I install this deb file, I am getting the following error, Could 
> someone tell me what to do.
> 
> [EMAIL PROTECTED]:/home/software/expect$ sudo dpkg --install 
> expect_5.39.0-94_i386.deb
> Selecting previously deselected package expect.
> (Reading database ... 127351 files and directories currently installed.)
> Unpacking expect (from expect_5.39.0-94_i386.deb) ...
> dpkg: error processing expect_5.39.0-94_i386.deb (--install):
> trying to overwrite `/usr/share/man/man1/mkpasswd.1.gz', which is also 
> in package whois

 I would say you are getting your self in trouble. I don't see why a
 weather program should mess with the password encryption. Better be
 careful what programs you install in your machine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-23 Thread s. keeling
Incoming from Kamaraju Kusumanchi:
> Kevin Mark wrote:
> 
> >If its a console program, I'd try 'alien' to convert the package and
> >install it. What's the worst that can happen?
> >
> I got the rpm from 
> http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 

I think you got the wrong one.  expect is an altogether different
animal.  It may be needed by your weather proggie, but I doubt it is
your weather proggie.

expect is available from Debian in .deb format.  The Woody/stable
version is 5.32.2-4

Try "apt-get update ; apt-cache show expect"


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling 
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-23 Thread Kamaraju Kusumanchi
Kevin Mark wrote:

Hi Kamaraju and Paul,
If its a console program, I'd try 'alien' to convert the package and
install it. What's the worst that can happen?
-Kev
 

I got the rpm from 
http://rpmfind.rediris.es/rpm2html/fedora-os-i386/expect-5.39.0-93.i386.html 
and did a alien --to-deb

Now If I install this deb file, I am getting the following error, Could 
someone tell me what to do.

[EMAIL PROTECTED]:/home/software/expect$ sudo dpkg --install 
expect_5.39.0-94_i386.deb
Selecting previously deselected package expect.
(Reading database ... 127351 files and directories currently installed.)
Unpacking expect (from expect_5.39.0-94_i386.deb) ...
dpkg: error processing expect_5.39.0-94_i386.deb (--install):
trying to overwrite `/usr/share/man/man1/mkpasswd.1.gz', which is also 
in package whois
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
expect_5.39.0-94_i386.deb

regards
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: weather reporting program in debian

2004-03-22 Thread Kevin Mark
On Mon, Mar 22, 2004 at 07:21:03PM -0700, Paul E Condon wrote:
> On Mon, Mar 22, 2004 at 03:07:33PM -0500, Kamaraju Kusumanchi wrote:
> > I am looking for weather reporting program without any graphics etc., 
> > which works on a console. In fedora there is a program called weather, 
> > which can be used on console. I could not find a similar application in 
> > debian (I am using testing). I searched in debian packages website, but 
> > could not find anything.
> > 
> > Can some one point me in the right direction?
> > 
> 
> If no one else responds with hard information consider this.  From
> whatever source you used to get fedora, get the source code of the
> program that you want to have in Debian. Look at the source for
> comments that indicate who wrote it and who maintains it. Post this
> info here with a plea for a developer to adopt it and construct a
> proper Debian package. It sounds like it might be a simple project for
> someone who knows what that are doing (i.e. not me)
> 
> -- 
> Paul E Condon   
> [EMAIL PROTECTED]
> 
Hi Kamaraju and Paul,
If its a console program, I'd try 'alien' to convert the package and
install it. What's the worst that can happen?
-Kev


signature.asc
Description: Digital signature


Re: weather reporting program in debian

2004-03-22 Thread Paul E Condon
On Mon, Mar 22, 2004 at 03:07:33PM -0500, Kamaraju Kusumanchi wrote:
> I am looking for weather reporting program without any graphics etc., 
> which works on a console. In fedora there is a program called weather, 
> which can be used on console. I could not find a similar application in 
> debian (I am using testing). I searched in debian packages website, but 
> could not find anything.
> 
> Can some one point me in the right direction?
> 

If no one else responds with hard information consider this.  From
whatever source you used to get fedora, get the source code of the
program that you want to have in Debian. Look at the source for
comments that indicate who wrote it and who maintains it. Post this
info here with a plea for a developer to adopt it and construct a
proper Debian package. It sounds like it might be a simple project for
someone who knows what that are doing (i.e. not me)

-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]