{"id":53,"date":"2008-07-07T09:28:48","date_gmt":"2008-07-07T14:28:48","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=53"},"modified":"2008-07-07T09:50:41","modified_gmt":"2008-07-07T14:50:41","slug":"whats-the-deal-with-zypper-in-opensuse-11","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=53","title":{"rendered":"What&#8217;s the deal with zypper in openSUSE 11?"},"content":{"rendered":"<p>The <code>zypper<\/code> tool in openSUSE 11 has been catching me off-guard. I guess previous versions were like this too, but for some reason I never noticed it or it never bothered me&#8230;. Anyway, here&#8217;s a tip or two about <code>zypper<\/code>&#8216;s behavior&#8230;<\/p>\n<p>I&#8217;d been noticing that the &#8220;PackageKit&#8221; update applet in the GUI Panel seemed to be notifying me about more patches than the <code>zypper<\/code> command-line tool was aware of. Right now as I type this, in fact, the applet is showing me the green star in my panel, alerting me about 6 optional updates. I run the &#8220;<code>zypper lu<\/code>&#8221; command as I always have, and I get &#8220;<code>No updates found.<\/code>&#8221;<\/p>\n<p>So after looking into it just a *tad* further&#8230; um, actually reading the man page&#8230;. I discovered that this behavior is because the <code>zypper<\/code> only operates on &#8220;Patch&#8221; type updates by default, and does not show &#8212; or operate with &#8212; updates of other types. According to the man page, there are 4 types of updates: <code>Package<\/code>, <code>Patch<\/code> (the default), <code>Pattern<\/code>, and <code>Product<\/code>.<\/p>\n<p>And since I did all the one-click install for the media handling, I have quite a bunch of repositories and packages and updates and things that are ignored in the standard query.<\/p>\n<p>So now, if I want to see the same updates in <code>zypper<\/code> that I see in PackageKit, I type the following:<br \/>\n<code>zypper lu --type package<\/code><\/p>\n<p>&#8230;and viola&#8230; it tells me about the same 6 updates that I&#8217;m being notified about in the Gui Panel. Then if I want to get and install the updates, I run:<br \/>\n<code>zypper up --type package<\/code><\/p>\n<p>I hope that makes sense to y&#8217;all&#8230; I don&#8217;t know why I never noticed this behavior in the previous versions of openSUSE, maybe it was different&#8230; maybe not&#8230; If you noticed something I missed, as always, please let me know!<\/p>\n<p>\ud83d\ude10<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The zypper tool in openSUSE 11 has been catching me off-guard. I guess previous versions were like this too, but for some reason I never noticed it or it never bothered me&#8230;. Anyway, here&#8217;s a tip or two about zypper&#8216;s&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=53\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11,41,38,42],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-intermediate","category-opensuse11","category-swupdates","category-zypper"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-R","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":0,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}