{"id":292,"date":"2020-03-29T18:52:51","date_gmt":"2020-03-29T16:52:51","guid":{"rendered":"https:\/\/blog.dj6dp.de\/?p=292"},"modified":"2020-03-29T18:53:46","modified_gmt":"2020-03-29T16:53:46","slug":"easily-upgrading-all-openwrt-packages","status":"publish","type":"post","link":"https:\/\/blog.dj6dp.de\/?p=292","title":{"rendered":"Easily upgrading all OpenWRT packages"},"content":{"rendered":"<p>For some reason, <code>opkg<\/code>, the package manager of OpenWRT, has a function to list all upgradable packages, but none to upgrade them all &#8211; you need to type each one in by hand.<\/p>\n<p>Or you do it like this:<\/p>\n<p><code>#!\/bin\/ash<br \/>\nopkg update<br \/>\nopkg list-upgradable | cut -d \" \" -f 1 | xargs opkg upgrade<\/code><\/p>\n<p>As usual, just paste the three lines of script above into a plain text file and make it executable with <code>chmod u+x &lt;filename&gt;<\/code>.<\/p>\n<p>Hope this can help some people out there! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some reason, opkg, the package manager of OpenWRT, has a function to list all upgradable packages, but none to upgrade them all &#8211; you need to type each one in by hand. Or you do it like this: #!\/bin\/ash &hellip; <a href=\"https:\/\/blog.dj6dp.de\/?p=292\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-english-articles"],"_links":{"self":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=292"}],"version-history":[{"count":6,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/292\/revisions"}],"predecessor-version":[{"id":298,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/292\/revisions\/298"}],"wp:attachment":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}