{"id":369,"date":"2010-12-25T23:14:26","date_gmt":"2010-12-25T21:14:26","guid":{"rendered":"http:\/\/blog.sfsoft.it\/?p=369"},"modified":"2010-12-25T23:14:26","modified_gmt":"2010-12-25T21:14:26","slug":"dpkg-e-lerrore-malformed-status-line","status":"publish","type":"post","link":"http:\/\/www.sfsoft.it\/blog\/2010\/12\/25\/dpkg-e-lerrore-malformed-status-line\/","title":{"rendered":"dpkg e l&#8217;errore &#8220;Malformed &#8230; Status line&#8221;"},"content":{"rendered":"<p>A seguito di un errore durante le operazioni di installazione dei pacchetti potrebbe corrompersi il file <em>status<\/em> di <em>dpkg<\/em> dando poi l&#8217;errore <em>&#8220;Malformed &#8230; Status line&#8221;<\/em> (ad esempio nel mio caso specifico l&#8217;errore era <em>&#8220;E: Malformed 1st word in the Status line&#8221;<\/em>) assieme ad altri errori sia usando <em>apt-get<\/em> che il <em>Gestore pacchetti<\/em>.<\/p>\n<p>Per rimediare basta eseguire le seguenti operazioni:<\/p>\n<p>[bash]<br \/>\ncd \/var\/lib\/dpkg<br \/>\nsudo mv status status-bad<br \/>\nsudo cp status-old status<br \/>\nsudo apt-get update<br \/>\n[\/bash]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A seguito di un errore durante le operazioni di installazione dei pacchetti potrebbe corrompersi il file status di dpkg dando poi l&#8217;errore &#8220;Malformed &#8230; Status line&#8221; (ad esempio nel mio caso specifico l&#8217;errore era &#8220;E: Malformed 1st word in the Status line&#8221;) assieme ad altri errori sia usando apt-get che il Gestore pacchetti. Per rimediare [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,3,23],"tags":[16,8,5],"_links":{"self":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/369"}],"collection":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/comments?post=369"}],"version-history":[{"count":4,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":373,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/369\/revisions\/373"}],"wp:attachment":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/media?parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/categories?post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/tags?post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}