[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rpmorg-list
Subject:    Re: Executing apt with rpm options
From:       Panu Matilainen <pmatilai () welho ! com>
Date:       2004-04-30 11:50:32
Message-ID: Pine.LNX.4.58.0404301446450.30542 () chip ! laiskiainen ! org
[Download RAW message or body]

On Fri, 30 Apr 2004, Yogindar wrote:

> Hi
>    Could any body tell how to execute the following command using apt
> commands
> 
>    rpm -e --nodeps --noscripts packagename

Better list to ask would be apt-rpm's list but here goes anyway :)
You can pass arbitrary rpm options with the following configuration items:
RPM::Install-Options:: 
RPM::Options::
RPM::Erase-Options::

The above case would be
apt-get -o rpm::erase-options::="--nodeps --noscripts" packagename

Note that since apt-0.5.15cnc3 the default mode of apt is to use rpmlib 
for transaction processing so these options need to be "emulated" within 
apt - most common options are handled but some will just silently not do 
anything.

	- Panu -


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic