{"id":505,"date":"2020-09-27T15:26:35","date_gmt":"2020-09-27T19:26:35","guid":{"rendered":"https:\/\/marstella.net\/?p=505"},"modified":"2021-06-20T22:26:07","modified_gmt":"2021-06-21T02:26:07","slug":"parrotos-linux-4-7-update","status":"publish","type":"post","link":"https:\/\/marstella.net\/?p=505","title":{"rendered":"ParrotOS (Linux) 4.7 Update"},"content":{"rendered":"\n<p>So installed ParrotOS 4.7 x64 as my primary OS on a Lenovo X250 laptop. It&#8217;s been installed on it before so expected no real issues. Since I downloaded this image of 4.7 several weeks\/months ago I knew it would need updating.<\/p>\n\n\n\n<p>After installation, the automatic update feature announced 2500+ updates available so I told it to update. It finished about 2 seconds later so I checked using the command line. Still around 2500+ updates so attempted to upgrade the files and found an error about libc6-dev breaks libgcc-9-dev &lt; 9.3.0.5 but 9.2.1-14 was to be installed. Apparently there is a similar issue on some releases of Kali.<\/p>\n\n\n\n<p>First of all, I didn&#8217;t realize that Parrot should be updated using <strong>parrot-upgrade<\/strong> rather than the typical apt update\/apt upgrade\/apt full-upgrade used on many Debian and Ubuntu flavors. I found this out while searching for ways to fix the broken upgrade. Looks like <strong>parrot-upgrade<\/strong> simply does a lot of the work for you and helps keep the system aligned with ParrotOS.<\/p>\n\n\n\n<p>Anyhow, found a reference that instructed to edit the file \/var\/lib\/dpkg\/status, search for the Package: libgcc-9-dev and delete all lines in that particular block. Also remember that you&#8217;ll need to use sudo as several descriptions I&#8217;ve seen assume you are logged in as root or are running a root shell.<\/p>\n\n\n\n<p>If you&#8217;re not really sure how to do the above:<\/p>\n\n\n\n<p><strong>sudo nano \/var\/lib\/dpkg\/status<\/strong><\/p>\n\n\n\n<p>Use ^W to search for libgcc-9-dev and use ^W multiple times as needed until you reach the Package: libgcc-9-dev entry<\/p>\n\n\n\n<p>Use ^K to delete all lines from Package: libgcc-9-dev until you reach the next Package: entry.<\/p>\n\n\n\n<p>Use ^O to write the file back out (don&#8217;t change the name, just hit &lt;ENTER&gt; to accept the default name).<\/p>\n\n\n\n<p>Now run <strong>sudo parrot-upgrade<\/strong> again; it should refresh the packages and  install properly. If running a different distro, try running <strong>sudo apt update<\/strong> and then <strong>sudo apt upgrade<\/strong> or <strong>sudo apt full-upgrade<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So installed ParrotOS 4.7 x64 as my primary OS on a Lenovo X250 laptop. It&#8217;s been installed on it before so expected no real issues. Since I downloaded this image of 4.7 several weeks\/months ago I knew it would need updating. After installation, the automatic update feature announced 2500+ updates available so I told it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marstella.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=505"}],"version-history":[{"count":2,"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/marstella.net\/index.php?rest_route=\/wp\/v2\/posts\/505\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/marstella.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marstella.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marstella.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}