Re: [Cooker] rpmdrake does nothing - so I fixed it, here's how
On Fri, Jul 13, 2001 at 11:34:49AM -0400, Andrew P. Bielecki wrote: > Odin, > The guy is right. There is problem with rpminst when --skip-intro option is there. >The rpminst core dump hard. I run rpminst with > and without the --skip-intro and the rpminst coredump every time with it. > Yep I've seen the problem. Working on it. Thanks. DindinX -- [EMAIL PROTECTED]
RE: [Cooker] rpmdrake does nothing - so I fixed it, here's how
Odin, The guy is right. There is problem with rpminst when --skip-intro option is there. The rpminst core dump hard. I run rpminst with and without the --skip-intro and the rpminst coredump every time with it. Andrew Bielecki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Odin Sent: Thursday, July 12, 2001 10:44 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] rpmdrake does nothing - so I fixed it, here's how On Wed, Jul 11, 2001 at 09:14:02PM -0400, Jason Straight wrote: > On Wednesday 11 July 2001 14:59, you wrote: > > Fresh install today from up to date sunet.se rpmdrake worked for a while, > > but now when I try to install stuff it dies right about the point where it > > would start to download. > > > > Any ideas? > > I checked each of the components of the package and found rpminst to be the > problem. So I checked to see how rpmdrake was calling rpminst, > rpminst --skip-intro --report /tmp/rpminst.log --packages pine > > Tried it on the command line and it didn't work > rpminst --packages pine > did though > > it didn't like --skipintro so I eliminated it by writing a quick shell hack > which shifts --skipintro out of the list of args. - very dirty hack but it > makes rpmdrake work again. > > mv /usr/sbin/rpminst /usr/sbin/rpminst.bak > > create the following as /usr/sbin/rpminst and chmod +x it > #!/bin/sh > shift > /usr/sbin/rpminst.bak "$@" > > It'll remove the --skipintro arg as rpmdrake calls rpminst before passing the > command line to rpminst.bak - problem fixed - although rather dirty. > I've seen no difference with or without the skip-intro flags. Nevertheless I think I have found the problem, so you can expect a fix soon. -- [EMAIL PROTECTED]
Re: [Cooker] rpmdrake does nothing - so I fixed it, here's how
On Wed, Jul 11, 2001 at 09:14:02PM -0400, Jason Straight wrote: > On Wednesday 11 July 2001 14:59, you wrote: > > Fresh install today from up to date sunet.se rpmdrake worked for a while, > > but now when I try to install stuff it dies right about the point where it > > would start to download. > > > > Any ideas? > > I checked each of the components of the package and found rpminst to be the > problem. So I checked to see how rpmdrake was calling rpminst, > rpminst --skip-intro --report /tmp/rpminst.log --packages pine > > Tried it on the command line and it didn't work > rpminst --packages pine > did though > > it didn't like --skipintro so I eliminated it by writing a quick shell hack > which shifts --skipintro out of the list of args. - very dirty hack but it > makes rpmdrake work again. > > mv /usr/sbin/rpminst /usr/sbin/rpminst.bak > > create the following as /usr/sbin/rpminst and chmod +x it > #!/bin/sh > shift > /usr/sbin/rpminst.bak "$@" > > It'll remove the --skipintro arg as rpmdrake calls rpminst before passing the > command line to rpminst.bak - problem fixed - although rather dirty. > I've seen no difference with or without the skip-intro flags. Nevertheless I think I have found the problem, so you can expect a fix soon. -- [EMAIL PROTECTED]
Re: [Cooker] rpmdrake does nothing - so I fixed it, here's how
On Wednesday 11 July 2001 14:59, you wrote: > Fresh install today from up to date sunet.se rpmdrake worked for a while, > but now when I try to install stuff it dies right about the point where it > would start to download. > > Any ideas? I checked each of the components of the package and found rpminst to be the problem. So I checked to see how rpmdrake was calling rpminst, rpminst --skip-intro --report /tmp/rpminst.log --packages pine Tried it on the command line and it didn't work rpminst --packages pine did though it didn't like --skipintro so I eliminated it by writing a quick shell hack which shifts --skipintro out of the list of args. - very dirty hack but it makes rpmdrake work again. mv /usr/sbin/rpminst /usr/sbin/rpminst.bak create the following as /usr/sbin/rpminst and chmod +x it #!/bin/sh shift /usr/sbin/rpminst.bak "$@" It'll remove the --skipintro arg as rpmdrake calls rpminst before passing the command line to rpminst.bak - problem fixed - although rather dirty. -- Jason Straight BlazeConnect President Phone: 231-597-0376 Fax: 231-597-0393