Results 1 to 4 of 4

Thread: zypper addlock and dependencies

  1. #1
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default zypper addlock and dependencies

    If I do:

    zypper rm -u kmail
    zypper al kmail

    Does this also prevent associated packages like ktnef from being reinstalled on `zypper dup`?
    Or do I also need to `zypper al ktnef`?

  2. #2
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: zypper addlock and dependencies

    I see ktnef is a "recommended" package.

  3. #3

    Default Re: zypper addlock and dependencies

    Quote Originally Posted by ravas View Post
    Does this also prevent associated packages like ktnef from being reinstalled on `zypper dup`?
    Packages that are required or recommended by kmail will of course only be installed if you install kmail.
    So yes, locking kmail should also avoid automatically installing ktnef (unless you have something else installed that recommends it, but I think kmail is the only package).

    You'd need to lock ktnef only to prevent it from being installed if kmail is installed.

  4. #4
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: zypper addlock and dependencies

    I suspected that, but wanted to make sure before uninstalling other applications.
    Thank you!

Tags for this Thread

Posting Permissions

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