Results 1 to 2 of 2

Thread: Remove a package bypassing dependencies

  1. #1
    delfio2d2 NNTP User

    Default Remove a package bypassing dependencies


    Hi all.

    I have a problem with Gconf so I decided to remove the package and
    reinstall it.

    YaST2 shows a window reporting a dependency problem. I reply "Ignore".
    The problem is that it keeps poping up again and again (A lot of
    dependencies problems)

    Is there a way to reply Ignore to every window at once?

    How can I force the removement?

    Thank you in advance.


    --
    delfio2d2
    ------------------------------------------------------------------------
    delfio2d2's Profile: http://forums.opensuse.org/member.php?userid=16860
    View this thread: http://forums.opensuse.org/showthread.php?t=401462


  2. #2
    LewsTherinTelemon NNTP User

    Default Re: Remove a package bypassing dependencies


    Hi there,

    Of course I have to start with the usual warning: forcing package
    removal and ignoring dependencies will usually just break things. But of
    course I also know that sometimes you don't have a choice.

    I would suggest just using zypper or rpm in the command line to force
    the removal of the package:

    #rpm -e --nodeps package_name

    If you want to repackage it (to keep for reinstall if needed)

    #rpm -e --repackage --nodeps package_name

    It will repackage it into /var/spool/repackage and then remove it.

    However, I really truly must caution against using --nodeps unless
    there is truly no other way.

    What errors are you getting? Perhaps you can resolve them with zypper /
    rug / yum / rpm?

    Cheers,
    Pete Eby


    --
    LewsTherinTelemon
    ------------------------------------------------------------------------
    LewsTherinTelemon's Profile: http://forums.opensuse.org/member.php?userid=14043
    View this thread: http://forums.opensuse.org/showthread.php?t=401462


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •