Re: Executing apt with rpm options

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

 



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 -


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux