
{"id":16011,"date":"2014-10-27T12:46:47","date_gmt":"2014-10-27T12:46:47","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16011"},"modified":"2014-10-27T12:46:47","modified_gmt":"2014-10-27T12:46:47","slug":"how-to-manipulate-packages-with-dpkg","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2014\/10\/27\/how-to-manipulate-packages-with-dpkg\/","title":{"rendered":"How to manipulate packages with  dpkg (Enabling Muilti-Arch in Multi-Arch support) ?"},"content":{"rendered":"<pre>\n$dpkg --print-architecture\namd64\n$dpkg --print-foreign-architectures\n$dpkg --add-architecture i386\ndpkg: error: unable to create new file '\/var\/lib\/dpkg\/arch-new': Permission denied\n$sudo dpkg --add-architecture i386\n[sudo] password for jeffrin: \n$dpkg --print-foreign-architectures\ni386\n$sudo dpkg --add-architecture itest386\n$dpkg --print-foreign-architectures\ni386\nitest386\n$dpkg --remove-architecture itest386\ndpkg: error: unable to create new file '\/var\/lib\/dpkg\/arch-new': Permission denied\n$sudo dpkg --remove-architecture itest386\n$dpkg --print-foreign-architectures\ni386\n$sudo dpkg --remove-architecture i386\n$dpkg --print-foreign-architectures\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$dpkg &#8211;print-architecture amd64 $dpkg &#8211;print-foreign-architectures $dpkg &#8211;add-architecture i386 dpkg: error: unable to create new file &#8216;\/var\/lib\/dpkg\/arch-new&#8217;: Permission denied $sudo dpkg &#8211;add-architecture i386 [sudo] password for jeffrin: $dpkg &#8211;print-foreign-architectures i386 $sudo dpkg &#8211;add-architecture itest386 $dpkg &#8211;print-foreign-architectures i386 itest386 $dpkg &#8211;remove-architecture itest386 dpkg: error: unable to create new file &#8216;\/var\/lib\/dpkg\/arch-new&#8217;: Permission denied $sudo dpkg &#8211;remove-architecture itest386 $dpkg &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2014\/10\/27\/how-to-manipulate-packages-with-dpkg\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to manipulate packages with  dpkg (Enabling Muilti-Arch in Multi-Arch support) ?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[1136],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16011"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=16011"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16011\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}