{"id":2407,"date":"2010-07-20T20:39:41","date_gmt":"2010-07-20T10:39:41","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=2407"},"modified":"2010-07-20T20:39:41","modified_gmt":"2010-07-20T10:39:41","slug":"downgrading-networker-on-mac-os-x","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/07\/20\/downgrading-networker-on-mac-os-x\/","title":{"rendered":"Downgrading NetWorker on Mac OS X"},"content":{"rendered":"<p>I have, on a few occasions, been puzzled as to how to downgrade NetWorker on Mac OS X. There&#8217;s a couple of distinct issues that I&#8217;ve come up against, and I thought I&#8217;d outline them here now that I&#8217;ve fully resolved how to do it.<\/p>\n<p>The first is that when NetWorker installs, it&#8217;s <em>meant<\/em> to install uninstall utilities into \/Library\/Receipts\/NetWorker.pkg. However, on Snow Leopard, NetWorker doesn&#8217;t write this uninstall information, meaning that technically it&#8217;s not possible to uninstall the product. There is, thankfully, a way around this.<\/p>\n<p>First, open up your NetWorker.dmg file, but then drop into the command line and change directory into the NetWorker.pkg\/Contents directory within the dmg:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/nw_macosx_dirs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2408\" title=\"Important Directory Listings - NetWorker Mac OS X Package\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/nw_macosx_dirs.png\" alt=\"Important Directory Listings - NetWorker Mac OS X Package\" width=\"425\" height=\"510\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/nw_macosx_dirs.png 425w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/nw_macosx_dirs-250x300.png 250w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/nw_macosx_dirs.png\"><\/a>In the above screen shot, I&#8217;ve shown the two directories you need to be aware of; NetWorker.pkg\/Contents, and NetWorker.pkg\/Contents\/Resources.<\/p>\n<p>You&#8217;ll note in the Resources directory that there&#8217;s a NetWorkerUninstall script, which needs to be run as root. <strong>However<\/strong>, the script depends on there being some content in \/Library\/Receipts\/NetWorker.pkg, so you&#8217;ll need to do the following:<\/p>\n<pre>$ sudo bash\n# cd \/Volumes\/NetWorker&lt;&lt;version&gt;&gt;\/NetWorker.pkg\/Contents\n# mkdir -p \/Library\/Receipts\/NetWorker.pkg\/Contents\n# cp Archive.bom \/Library\/Receipts\/NetWorker.pkg\/Contents\n# cp Resources\/NetWorkerUninstall \/Library\/Receipts\/NetWorker.pkg\n# \/Library\/Receipts\/NetWorker.pkg\/NetWorkerUninstall<\/pre>\n<p>Once you run the NetWorkerUninstall script, there&#8217;ll be a brief pause before you see a flash of lines with entries such as:<\/p>\n<pre>Removing: \/usr\/share\/man\/man8\/tur.8<\/pre>\n<p>and so on.<\/p>\n<p>At the end of this, you theoretically <em>should<\/em> be able to run the NetWorker installer for the version you want to install. However, you&#8217;re likely to still end up with the following output from the installer:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/newer_version_exists.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2409\" title=\"NetWorker Installer - Newer Version Exists\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/newer_version_exists.png\" alt=\"NetWorker Installer - Newer Version Exists\" width=\"620\" height=\"440\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/newer_version_exists.png 620w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/newer_version_exists-300x212.png 300w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2010\/07\/newer_version_exists-422x300.png 422w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>It was this step that had been frustrating me. Thankfully though, I finally started to think like a combined Mac + Unix user, and released there was probably a plist style file hanging around somewhere that wasn&#8217;t being cleaned up by the uninstaller, and that if it followed Apple&#8217;s naming conventions, it would be com.emc.*.plist. So I did:<\/p>\n<pre># find -xdev \/ -name \"com.emc.*\" -print<\/pre>\n<p>Lo and behold, I found the following:<\/p>\n<pre>\/private\/var\/db\/receipts\/com.emc.networker.bom\n\/private\/var\/db\/receipts\/com.emc.networker.plist<\/pre>\n<p>Removing them was the final piece of the puzzle \u2013 without them hanging around, the NetWorker installer utility didn&#8217;t pick up there was a newer version of the software installed, and I was finally able to downgrade NetWorker for testing purposes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have, on a few occasions, been puzzled as to how to downgrade NetWorker on Mac OS X. There&#8217;s a&hellip;<\/p>\n","protected":false},"author":1,"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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16],"tags":[340,561,1249,1041],"class_list":["post-2407","post","type-post","status-publish","format-standard","hentry","category-networker","tag-downgrade","tag-mac-os-x","tag-networker","tag-uninstall"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-CP","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/2407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=2407"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/2407\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=2407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=2407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=2407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}