Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Zypper / Yast2 difference in performing update?

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

    Default Zypper / Yast2 difference in performing update?

    OK... so when performing an update because a new snapshot has been issued, what actually is the difference between using:

    from the command line whilst not logged in to a desktop session: "zypper up" and

    from within a desktop GUI: "yast2 (sw_single) -> Package -> All Packages -> Update if newer version available"

    I thought the latter was functionally equivalent to "zypper up", ("zypper --help" indicates "up - Update installed packages with newer versions").

    Is there perhaps something that yast2 (because it is running within a desktop session) is unable to do...
    Regards, Paul

    Tumbleweed (Snapshot: 20190814) KDE Plasma 5 ~~~
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    Leap 15.0 KDE Plasma 5 ~~~ Leap 15.1 KDE Plasma 5 (Work in progress...)

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Zypper / Yast2 difference in performing update?

    On 2015-09-17 14:06, tannington wrote:

    > I thought the latter was functionally equivalent to "zypper up",
    > ("zypper --help" indicates "up - Update installed packages with newer
    > versions").


    Why do you think it is not so?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,663
    Blog Entries
    14

    Default Re: Zypper / Yast2 difference in performing update?

    There is a difference. An example from last week on my sandbox TW install:

    The *-lang packages in the Frameworks5 repo for plasma 5.4.1 already finished building and were published, where the matching * packages hadn't, so were still 5.4.0. This shows the difference:

    - zypper ref && zypper up
    resulted in "Nothing to do"

    - Yast2's Software Manager -> Packages -> All Packages -> Update if a newer version is available
    resulted in a long list of failed dependencies for the 5.4.1 *-lang packages reporting the 5.4.1 * packages were'nt available.

    That's not new, it has always been like that. AFAIK
    ° 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

  4. #4
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,165

    Default Re: Zypper / Yast2 difference in performing update?

    Quote Originally Posted by robin_listas View Post
    On 2015-09-17 14:06, tannington wrote:

    > I thought the latter was functionally equivalent to "zypper up",
    > ("zypper --help" indicates "up - Update installed packages with newer
    > versions").


    Why do you think it is not so?
    Personal experience (3rd paragraph after the quote):
    https://forums.opensuse.org/showthre...03#post2727303

    Another user:
    https://forums.opensuse.org/showthre...58#post2727358

    And another:
    http://lists.opensuse.org/opensuse-f.../msg00491.html
    Regards, Paul

    Tumbleweed (Snapshot: 20190814) KDE Plasma 5 ~~~
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    Leap 15.0 KDE Plasma 5 ~~~ Leap 15.1 KDE Plasma 5 (Work in progress...)

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Zypper / Yast2 difference in performing update?

    On 2015-09-17 15:46, tannington wrote:

    >> Why do you think it is not so?

    >
    > Personal experience (3rd paragraph after the quote):


    Well, my recommendation for Tumbleweed has always been "zypper dup".

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,663
    Blog Entries
    14

    Default Re: Zypper / Yast2 difference in performing update?

    Quote Originally Posted by robin_listas View Post
    On 2015-09-17 15:46, tannington wrote:

    >> Why do you think it is not so?

    >
    > Personal experience (3rd paragraph after the quote):


    Well, my recommendation for Tumbleweed has always been "zypper dup".

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))
    Not if you have additional repos active. In that case zypper looks for the highest available version in all repos ( if you "switched packages" or zypper dup --from thatrepo ). To keep the repo structure intact I use zypper up.
    Just tested this on my TW. Despite of a zypper dup --from Packman a zypper dup is going to switch amarok from Packman to the stock version, simply because that one currently has a higher version number. A zypper up shows nothing to do.
    ° 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

  7. #7
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Zypper / Yast2 difference in performing update?

    Quote Originally Posted by Knurpht View Post
    Not if you have additional repos active. In that case zypper looks for the highest available version in all repos ( if you "switched packages" or zypper dup --from thatrepo )...
    I think what you mean is: Not if you want to keep packages that have been sourced from additional repos. Those packages may have been previously installed either using the YaST "switch" or a "zypper dup --from a_specific_repo", for example.

    In that case you can use use "zypper up" to keep Amarok installed from Packman. OK, but you had better know what you are doing, because it can miss some changes that the TW snapshot included to be made. It will also avoid conflicts, which again you won't be aware of.

    I prefer to do a plain "zypper dup", and afterwards manually re-install the odd one out. I haven't seen the Amarok example, probably because I have Packman repo at a higher priority (lower number). Strangely here Audacity keeps switching to the version from TW's oss repo, in spite of Packman's priority.
    Leap 42.3 (ext4, KDE Plasma 5.8.7) ~ stable
    Manjaro (ext4, Xfce) ~ rolling updates
    Tumbleweed (ext4, KDE Plasma5) ~ managed updates via "Tumbleweed Snapshots" service.

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Zypper / Yast2 difference in performing update?

    On 2015-09-17 16:56, Knurpht wrote:
    >
    > robin_listas;2728643 Wrote:



    >> Well, my recommendation for Tumbleweed has always been "zypper dup".



    > Not if you have additional repos active. In that case zypper looks for
    > the highest available version in all repos ( if you "switched packages"
    > or zypper dup --from thatrepo ). To keep the repo structure intact I use
    > zypper up.


    But not if you do "export SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE=0" :-)

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,663
    Blog Entries
    14

    Default Re: Zypper / Yast2 difference in performing update?

    Quote Originally Posted by consused View Post
    I prefer to do a plain "zypper dup", and afterwards manually re-install the odd one out. I haven't seen the Amarok example, probably because I have Packman repo at a higher priority (lower number). Strangely here Audacity keeps switching to the version from TW's oss repo, in spite of Packman's priority.
    I do check what "zypper dup" gives.

    Carlos' suggestion is another option one could use.

    Conclusion: there are quite some ways that lead to Rome
    ° 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

  10. #10
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Zypper / Yast2 difference in performing update?

    Quote Originally Posted by Knurpht View Post
    I do check what "zypper dup" gives.
    That's a good idea when using zypper up for a snapshot upgrade. If it's just one of those interim Packman only updates I just use P'Kit notifier/updater or zypper up.

    Carlos' suggestion is another option one could use.
    It's particularly good for users hooked on typing longer arcane and experimental commands, and who don't really use Tumbleweed very often.

    Conclusion: there are quite some ways that lead to Rome
    Reminder: Look what happened to Rome - the ancient one.
    Leap 42.3 (ext4, KDE Plasma 5.8.7) ~ stable
    Manjaro (ext4, Xfce) ~ rolling updates
    Tumbleweed (ext4, KDE Plasma5) ~ managed updates via "Tumbleweed Snapshots" service.

Page 1 of 2 12 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
  •