Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: Zypper dup priorities

  1. #1
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    794

    Default Zypper dup priorities

    Wondering about packages jumping to other repositories and back I stumbled upon: https://events.opensuse.org/conferen.../proposal/1822

    Trying to implement I arrived with:
    Code:
    erlangen:~ # zypper lr -uEP
    #  | Alias                            | Name                            | Enabled | GPG Check | Refresh | Priority | URI                                                                               
    ---+----------------------------------+---------------------------------+---------+-----------+---------+----------+-----------------------------------------------------------------------------------
     2 | Packman                          | Packman                         | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/                               
     4 | download.opensuse.org-non-oss    | Haupt-Repository (NON-OSS)      | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/                             
     5 | download.opensuse.org-oss        | Haupt-Repository (OSS)          | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/                                 
     6 | download.opensuse.org-tumbleweed | Hauptaktualisierungs-Repository | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/                                   
     1 | Application_Geo                  | Application_Geo                 | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Tumbleweed/   
     7 | home_seife_testing               | testing (openSUSE_Factory)      | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/seife:/testing/openSUSE_Factory/  
     9 | http-opensuse-guide.org-37124e10 | libdvdcss repository            | Yes     | (r ) Yes  | Yes     |  100     | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                               
    10 | jalbum                           | jalbum                          | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/                                      
    11 | myrepo                           | myrepo                          | Yes     | ( p) Yes  | Yes     |  100     | dir:///home/karl/Downloads/myrepo                                                 
    12 | netbeans                         | netbeans                        | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/home:/Herbster0815/openSUSE_Tumbleweed/
    erlangen:~ #
    Any comments?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,610

    Default Re: Zypper dup priorities

    I wonder what you are after. AFAIK on Tumbleweed zypper dup defaults to zypper dup --no-allow-vendor-change. Thus repo priority has no influence whatsoever on a zypper dup in TW.
    Henk van Velden

  3. #3
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    794

    Default Re: Zypper dup priorities

    Quote Originally Posted by hcvv View Post
    I wonder what you are after. AFAIK on Tumbleweed zypper dup defaults to zypper dup --no-allow-vendor-change. Thus repo priority has no influence whatsoever on a zypper dup in TW.
    https://youtu.be/x8kEaJU6hlw?t=493
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,610

    Default Re: Zypper dup priorities

    Quote Originally Posted by karlmistelberger View Post
    I understand you want me to look at that movie, but you could tell if there is anything there that denies my statement above that repo prios do not influence zypper dup on TW? And isn't the Title of this thread meaning something like "How do (repo) priorities influence zypper dup on TW"? Or am I misinterpreting your thread title?
    Henk van Velden

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,022
    Blog Entries
    3

    Default Re: Zypper dup priorities

    Quote Originally Posted by hcvv View Post
    Thus repo priority has no influence whatsoever on a zypper dup in TW.
    I'm not sure that's quite right. It should still affect where new packages come from. And there are occasional new packages.

    In most cases, where there are new packages they probably only exist in one repo. But a new package might have a dependency that it pulls in. And with those priorities it will pull in that dependency from "packman" if it exists there (which is probably appropriate).
    openSUSE Leap 15.1; KDE Plasma 5;

  6. #6

    Default Re: Zypper dup priorities

    I do it, I've set priorities since I have Tumbleweed and it works great
    ------------------------------------
    Correct me if I'm wrong .
    ------------------------------------

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    794

    Default Re: Zypper dup priorities

    Quote Originally Posted by hcvv View Post
    I understand you want me to look at that movie, but you could tell if there is anything there that denies my statement above that repo prios do not influence zypper dup on TW? And isn't the Title of this thread meaning something like "How do (repo) priorities influence zypper dup on TW"? Or am I misinterpreting your thread title?
    zypper dup --allow-vendor-change + prioritizing repos is superior to zypper dup --no-allow-vendor-change. The movie details why.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  8. #8
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    794

    Default Re: Zypper dup priorities

    Quote Originally Posted by nrickert View Post
    I'm not sure that's quite right. It should still affect where new packages come from. And there are occasional new packages. In most cases, where there are new packages they probably only exist in one repo. But a new package might have a dependency that it pulls in. And with those priorities it will pull in that dependency from "packman" if it exists there (which is probably appropriate).
    I ran the following commands:
    zypper dup --no-allow-vendor-change # reported "Nothing to do."
    zypper dup --allow-vendor-change # moved some 30 packages to product repo oss.
    zypper dup --no-allow-vendor-change # reported "Nothing to do."
    Thus allowing vendor change on prioritized repos results in a minimal set of changes, which I think is a good thing.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,610

    Default Re: Zypper dup priorities

    Quote Originally Posted by karlmistelberger View Post
    I ran the following commands: Thus allowing vendor change on prioritized repos results in a minimal set of changes, which I think is a good thing.
    I do not think that is what you proved with this. It shows that allowing Vendor change will install packages from another vendor's repo. Which is what it allows. And the reason for the switch might be higher version numbers of the packages.

    When you want to prove what you want, you have to do allow-vendor-change on a set of repos with all the same priority and again on the same set with different priorities.

    BTW, I do not state that using different priorities is bad or useless. I state that it has no consequences for a plain zypper dup (which in TW includes --no-allow-vendor-change). I admit that the special case mentioned by nrickert did not come to my mind though.
    Henk van Velden

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,022
    Blog Entries
    3

    Default Re: Zypper dup priorities

    Quote Originally Posted by karlmistelberger View Post
    zypper dup --allow-vendor-change + prioritizing repos is superior to zypper dup --no-allow-vendor-change. The movie details why.
    I'm pretty sure that depends on what repos you are using and how carefully you have set your priorities.

    I actually do use "zypper dup --allow-vendor-change". However, the only additional repo that I use is "packman" which I have set to priority 98.

    Once you add additional repos for special purposes, you have to be careful that you don't get the wrong library version for software that you are using. My preference is to disable all additional repos other than packman, but to occasionally re-enable to check whether there's a newer version.
    openSUSE Leap 15.1; KDE Plasma 5;

Page 1 of 4 123 ... LastLast

Posting Permissions

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