Results 1 to 9 of 9

Thread: Vendor change in YaST and subsequent updates

  1. #1
    Join Date
    Nov 2013
    Location
    Ljubljana, Slovenia
    Posts
    465

    Default Vendor change in YaST and subsequent updates

    Hi,

    I'm never entirely sure how vendor change works. So for example, i add a repo from obs (only for one package, in this case libfreetype), and change vendor to it. Will the coming updates 'reset' this vendor change, or will the packages for which the vendor has been changed remain untouched?

    Thank you!
    Running openSUSE Leap 42.3 + KDE

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,238

    Default Re: Vendor change in YaST and subsequent updates

    Hi, quoting from "man zypper":
    update (up) [options] [packagename]...
    ...
    This command will not update packages which would require change of package vendor unless the vendor is specified in
    /etc/zypp/vendors.d, or which would require manual resolution of problems with dependencies. Such non-installable
    updates will then be listed in separate section of the summary as "The following package updates will NOT be
    installed:".
    So the short answer is "No, vendor change wil not be reverted unless explicitly instructed to do so".
    A special case is the distribution upgrade, where you can decide what to do on the fly:
    dist-upgrade (dup) [options]
    ...
    --[no-]allow-vendor-change
    Whether to allow changing the vendor of installed resolvables [zypp.conf:solver.dupAllowVendorChange]. Setting
    this to no might be useful if you do not want packages from foreign repos being dup’ed to the distributions
    version (or vice versa).
    Tumbleweed Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.3

  3. #3
    Join Date
    Nov 2013
    Location
    Ljubljana, Slovenia
    Posts
    465

    Default Re: Vendor change in YaST and subsequent updates

    Ah, so basically

    Code:
    zypper dup -no-allow-vendor-change
    should do the trick?
    Running openSUSE Leap 42.3 + KDE

  4. #4
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,238

    Default Re: Vendor change in YaST and subsequent updates

    Quote Originally Posted by holden87 View Post
    Ah, so basically

    Code:
    zypper dup -no-allow-vendor-change
    should do the trick?
    Yes if you really intend to do a dist-upgrade (say to upgrade your Leap 42.2 to 42.3 or to update Tumbleweed to a newer snapshot).
    Otherwise, the simple "zypper up" or the equivalent update via YaST Software will leave your vendors untouched as well, unless you select manually a specific version or repo to update from.
    Tumbleweed Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.3

  5. #5
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default Re: Vendor change in YaST and subsequent updates

    yes for TW zypper dup -no-allow-vendor-change will do what you want, but note the -no-allow-vendor-change is now the default for dup as of several months ago so no need to specify.

  6. #6
    Join Date
    Nov 2013
    Location
    Ljubljana, Slovenia
    Posts
    465

    Default Re: Vendor change in YaST and subsequent updates

    Well then, that's fantastic news!

    Thank you, seems I'll be 'dup'ing a lot Hope Tumbleweed stays stable for me

    Kind regards,
    Running openSUSE Leap 42.3 + KDE

  7. #7
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: Vendor change in YaST and subsequent updates

    I am opposed to this "no-allow-vendor-change"
    The reason is why it makes the option of giving priority to Yast in vain, in practice there is an option that no longer needs.
    loyalty returns to those who practice it

  8. #8

    Default Re: Vendor change in YaST and subsequent updates

    On 11/08/2017 07:16 AM, V idocq wrote:
    >
    > I am opposed to this "no-allow-vendor-change"
    > The reason is why it makes the option of giving priority to Yast in
    > vain, in practice there is an option that no longer needs.
    >
    >


    Then change it to your liking in /etc/zypp/zypp.conf

    --
    Ken
    linux since 1984
    S.u.S.E./openSUSE since 1996

  9. #9
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: Vendor change in YaST and subsequent updates

    Quote Originally Posted by kensch View Post
    On 11/08/2017 07:16 AM, V idocq wrote:
    >
    > I am opposed to this "no-allow-vendor-change"
    > The reason is why it makes the option of giving priority to Yast in
    > vain, in practice there is an option that no longer needs.
    >
    >


    Then change it to your liking in /etc/zypp/zypp.conf

    It's been done for long
    loyalty returns to those who practice it

Posting Permissions

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