{"id":1694,"date":"2016-11-26T09:03:49","date_gmt":"2016-11-26T09:03:49","guid":{"rendered":"http:\/\/slave27.local\/kb\/?p=1694"},"modified":"2016-11-26T09:03:49","modified_gmt":"2016-11-26T09:03:49","slug":"new-update-script-using-apt-rather-than-apt-get","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/11\/26\/new-update-script-using-apt-rather-than-apt-get\/","title":{"rendered":"New update script using apt rather than apt-get"},"content":{"rendered":"<p>My plan is to migrate everything to this syntax. This is the first one.<\/p>\n<pre><code>#!\/bin\/bash\necho \"updateall v.1.3 for Raspian\"\n#Run this as a normal user. Your admin password will be asked for if required.\nsudo apt update\nsudo apt upgrade -y\nsudo apt full-upgrade -y\nsudo rpi-update\necho \"The script has now finished running.\"\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>My plan is to migrate everything to this syntax. This is the first one. #!\/bin\/bash echo &#8220;updateall v.1.3 for Raspian&#8221; #Run this as a normal user. Your admin password will be asked for if required. sudo apt update sudo apt upgrade -y sudo apt full-upgrade -y sudo rpi-update echo &#8220;The script has now finished running.&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[5,7],"tags":[],"class_list":["post-1694","post","type-post","status-publish","format-standard","hentry","category-linux","category-raspberry-pi"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1694"}],"version-history":[{"count":0,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1694\/revisions"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}