[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to use rpm in debian



Rob Weir wrote:
> On Sat, Jun 21, 2003 at 11:21:03PM -0400, Mark L. Kahnt wrote:
> > I have this myself, and the installation scripts use 'rpm' to attempt
> > the installation, which on Debian just won't work, period. It *could* be
> > done by editing the installation scripts to replace 'rpm' with 'alien'
> > for any actual installation calls. While the LSB is a great solution to
> 
> You could write a script that runs something like:
> 
> alien -t deb $2 && dpkg -i `echo "$2"|sed -e 's/\.deb$/\.rpm/'
>
> and drop it in your $PATH so it's run instead of the normal 'rpm'.  Or
> something.

ITYM 

#!/bin/sh
PATH=/path/to/real/rpm:$PATH
alien $@

May not work for all rpm commands, but it will for -i.

-- 
see shy jo

Attachment: pgp4Zjn98Lyit.pgp
Description: PGP signature


Reply to: