On Tue, Mar 16, 2004, Mike's List wrote:
>bash-2.05b# openpkg rpm --erase postfix
>error: Failed dependencies:
>        MTA is needed by (installed) qpopper-4.0.5-2.0.0
>        MTA is needed by (installed) pine-4.58L-2.0.0
>
>I've added --force, but rpm -e doesn't seems to work.  Is there a way to
>remove a package (force) even when dependencies failed?  I want to remove
>postfix binary package and rebuild it from source.

I think that ``openpkg build -z postfix'' command should generate the 
appropriate commands to do this.

In any case, --force doesn't tell it to ignore dependencies, but
needs the --nodeps option as well:
        rpm --force --nodeps -U ...

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Many companies that have made themselves dependent on [the equipment of a
certain major manufacturer] (and in doing so have sold their soul to the
devil) will collapse under the sheer weight of the unmastered complexity of
their data processing systems.
                -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to