Results 1 to 10 of 10

Thread: Update all packages from different repositories

  1. #1

    Default Update all packages from different repositories

    Hi all! I've not understood one thing.. is there a method to update every package to the latest version, but in a way that automatically recognize which is the correct repository and update from that? (for correct repository i mean the one who has the latest version).

    I'm asking it because i often obtain "xxx packages will not update" because the update are in different repository.

  2. #2
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,325

    Default Re: Update all packages from different repositories

    If you want every package to be the latest version then you'd probably be better off using Tumbleweed rather than Leap.

    But I may have misunderstood your question though...
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191203) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,594

    Talking Re: Update all packages from different repositories

    Quote Originally Posted by Quiquoqua48 View Post
    I'm asking it because i often obtain "xxx packages will not update" because the update are in different repository.
    The openSUSE Heroes and, the SUSE staff who work for the openSUSE project, have published a list of the openSUSE repositories here: <https://en.opensuse.org/Package_repositories>.

    Provided that, the packages to be patched or updated are located in these repositories then, “zypper refresh” or, the Packet Manager GUI interface, will refresh the list of packages to be either patched or, updated …

    Further update and patch information is documented here: <https://doc.opensuse.org/documentati...pdate.you.html>.

    BTW, for a Desktop system with a reliable (always available) Ethernet interface, I'm now a fan of automatic updates and patches: <https://doc.opensuse.org/documentati....automatically>.

  4. #4
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: Update all packages from different repositories

    Quote Originally Posted by Quiquoqua48 View Post
    I'm asking it because i often obtain "xxx packages will not update" because the update are in different repository.
    That happens because by default the update has "vendor stickiness", so that packages are updated from the repo they were originally installed from.
    To override that you may issue in a terminal:
    Code:
    sudo zypper up --allow-vendor-change
    but generally speaking I don't think this is a good idea. Different repos may use different numbering schemes, so what seems a "newer" package (a higher version number) form a different repo might not be from a newer source file and might break your system if not done properly.
    A better choice when you want to upgrade packages from a specific repo (for instance the Packman repo) is:
    Code:
    zypper dup --allow-vendor-change --from <# or alias of the repo you want to upgrade from>
    Hope this helps.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,463
    Blog Entries
    2

    Default Re: Update all packages from different repositories

    When you do a "zypper up,"
    You should already pull in the latest version no matter what repo the package may come from... And this is different than "allow vendor change" which looks to me as referencing a particular source of the candidate packages.

    When packages are made available, the Maintainers decide whether it's time to push those packages or let them stay available only as an option. There can be reasons significant or insignificant why collections of packages might not yet be deemed ready as the default and unless there is a reason to do otherwise I put my trust in the Maintainers.

    I think if you look more closely at the reason why a package might not be installed right away, it will never say the reason is because it's from a particular repo, common reasons might be because of an architecture, a particular vendor... and there has to be other reasons not off the top of my head.
    It's likely that the system will assume that if you installed/added a repo to be used, it's trusted fully as a package source, no more or less than any other repository unless you've been messing around with repo priority values (highly not recommended).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,594

    Cool Re: Update all packages from different repositories

    Quote Originally Posted by OrsoBruno View Post
    Code:
    sudo zypper up --allow-vendor-change
    Or, use YaST – “curses” ( user “root” CLI – ‘yast2’ ) or GUI – doesn't matter …

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,463
    Blog Entries
    2

    Default Re: Update all packages from different repositories

    Quote Originally Posted by dcurtisfra View Post
    The openSUSE Heroes and, the SUSE staff who work for the openSUSE project, have published a list of the openSUSE repositories here: <https://en.opensuse.org/Package_repositories>.

    Provided that, the packages to be patched or updated are located in these repositories then, “zypper refresh” or, the Packet Manager GUI interface, will refresh the list of packages to be either patched or, updated …

    <snip>.
    If you think any of the above comes close to a tiny scratching of the surface of available repositories... You're mistaken. The number and variety vastly exceeds what can likely be listed on 15 standard size A4 pages by my rough estimation... single spaced.

    If you want to go hunting for repositories on your own (or want to point an Internet Search engine at it), I describe this and the Internet location in the openSUSE slide deck I created...

    https://slides.com/tonysu/opensuse/#/16

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,042
    Blog Entries
    14

    Default Re: Update all packages from different repositories

    If you see 'The following packages will not be updated' this mostly concerns packages that are in the distribution repos, but also in other repos, where you told the system to install the packages from latter repos. F.e. Packman.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,463
    Blog Entries
    2

    Default Re: Update all packages from different repositories

    Quote Originally Posted by Knurpht View Post
    If you see 'The following packages will not be updated' this mostly concerns packages that are in the distribution repos, but also in other repos, where you told the system to install the packages from latter repos. F.e. Packman.
    Yes!
    That could be an exception to what I posted.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  10. #10

    Default Re: Update all packages from different repositories

    Really thanks to all for the advices.. i will try to do a "zypper up", and if the problem persist maybe i will let the things how they are... the computer goes normally without problems, so maybe that is not a really problem...

Posting Permissions

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