RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Combining rpm install/erase modes

From: Alex Myltsev <avm@altlinux.org>
Date: Thu 12 Jul 2007 - 15:32:24 CEST
Message-ID: <ffae7d540707120632l1024fb8em6b8193b035d0c36b@mail.gmail.com>
On 7/12/07, Arkadiusz Miskiewicz <arekm@pld-linux.org> wrote:
> > > Yes, the +foo.rpm -bar syntax, particularly the ugly need for "--",
> > > is the real change.
> >
> > APT-RPM has supported this syntax for a long time:
> >     apt-get install foo+ bar-
> So you need to quote +- in package name right?
For rpm you just say
    rpm -Uvh foo-1.rpm+ bar-
and there's no ambiguity. I suppose you don't have packages that end in '-'.

If you are genuinely interested in APT-RPM's behaviour, no, you don't
have to quote the '+'s. E.g. "apt-get install libxml++" does the
correct thing.
Received on Thu Jul 12 15:32:27 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.