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

Thread: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

  1. #1

    Default Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Thanks to the responses here to a past thread*, I understand that I update Tumbleweed only with zypper dup, and have no use for zypper up, zypper patch, or even zypper dup --no-allow-vendor-change .

    After looking at the zypper cheat sheet, though, I have a related question:

    Is there anything else that a relatively inexperienced openSUSE Tumbleweed user like me would regularly want to do with zypper? My impression is that zypper dup is about it, and that I'll be better off doing everything else through Yast.

    If you think that's not so, please let me know!

    -----------------------

    * https://forums.opensuse.org/showthre...es-in-Cinnamon

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,114

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Hi, confirming that with TW you should use "zypper dup" to update your system (--no-allow-vendor-change being implied by default now AFAIK).
    As a relatively inexperienced user I think that most other tasks are more easily done (and relatively error-proof) with YaST2-Software.
    Nevertheless, occasionally using such commands as "zypper info", "zypper search", "zypper install", "zypper install-new-recommends" or "zypper remove" (or better still their short forms) might save time or provide additional options.
    Sometimes, repository manipulation is easier with zypper than it is with YaST, especially if you have a long list of additional repos.
    Commands like "zypper repos" "zypper addrepo" or "zypper removerepo" may be your friends.

    So I think that being aware of those commands and being prepared to study the relevant section of "man zypper" is still worth the effort even for beginners.

    HTH
    Main: Leap 42.2 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.2 (& others) on Core2Duo + GM965

  3. #3
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    257

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    You'll find them all if you do
    Code:
    #zypper --help
    or
    Code:
    $man zypper
    Pete

  4. #4

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Thanks, OrsoBruno. I'll investigate the specific commands you recommended.

    peteh100, I've used both zypper --help and man zypper, but gather that the overlap with Yast is large, and that I'll usually want to use Yast if I can. Zypper also lets me issue commands I believe I shouldn't issue in Tumbleweed, like zypper up and zypper patch. That's why I sought feedback from more experienced Tumbleweed users.

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    262

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Quote Originally Posted by Tuner View Post
    Thanks, OrsoBruno. I'll investigate the specific commands you recommended.

    peteh100, I've used both zypper --help and man zypper, but gather that the overlap with Yast is large, and that I'll usually want to use Yast if I can. Zypper also lets me issue commands I believe I shouldn't issue in Tumbleweed, like zypper up and zypper patch. That's why I sought feedback from more experienced Tumbleweed users.
    There is some excellent documentation: https://en.opensuse.org/SDBypper_usage
    Intel i3-4130, ASRock Z87 Pro 3, 16GB DDR3-1600, Samsung 840 EVO 250GB, Seagate ST2000DM001 2 TB (ass. in 2014) Tumbleweed
    Intel i7-6700K, ASRock Z170 Pro 4S, 32GB DDR4-2166, Samsung 950 PRO 512GB, Western Digital WD40EZRX 4 TB (ass. in 2016) Tumbleweed

  6. #6
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    257

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Quote Originally Posted by Tuner View Post
    Thanks, OrsoBruno. I'll investigate the specific commands you recommended.

    peteh100, I've used both zypper --help and man zypper, but gather that the overlap with Yast is large, and that I'll usually want to use Yast if I can. Zypper also lets me issue commands I believe I shouldn't issue in Tumbleweed, like zypper up and zypper patch. That's why I sought feedback from more experienced Tumbleweed users.
    I always use zypper up in tumbleweed. It's the same as zypper dup --no-allow-vendor-change. As far as my experience is concerned, zypper up only upgrades what I have with existing vendors (packman, kernel/HEAD: etc)
    Pete

  7. #7

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Quote Originally Posted by peteh100 View Post
    I always use zypper up in tumbleweed. It's the same as zypper dup --no-allow-vendor-change.
    No, it is *not* the same.

    In particular, "zypper up" will not install packages with lower versions (i.e. downgrades), which can happen in Tumbleweed.
    E.g. xorg-x11-server's version changed from 7.6_1.18.3 to 1.19.0 (the real version) a few months ago, and that broke all systems that were updated with "zypper up"...

    Therefore it is highly recommended to use *dup*, even though "up" should work most of the time as well (but not always).

    As far as my experience is concerned, zypper up only upgrades what I have with existing vendors (packman, kernel/HEAD: etc)
    "zypper dup" also doesn't change vendor by default any more since a few weeks (as already mentioned), so "--no-allow-vendor-change" should no longer be necessary to keep the existing vendors.

    IOW, use "zypper dup" on Tumbleweed, *not* "zypper up".

  8. #8
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    257

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    I'm sure I read something a year or 2 back that "dup" wasn't necessary in tumbleweed. I never considered downgrading, so I bow to your superior knowledge, wolfi323. Thanks.
    Pete

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,471

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    That was then this is now.

  10. #10

    Default Re: Any useful/needed zypper commands for the Tumbleweed user besides zypper dup ?

    Quote Originally Posted by karlmistelberger View Post
    There is some excellent documentation: https://en.opensuse.org/SDBypper_usage
    Thank you, karlmistelberger! I hadn't seen that site.

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
  •