{"id":1525,"date":"2012-12-18T13:00:08","date_gmt":"2012-12-18T05:00:08","guid":{"rendered":"http:\/\/www.huzs.top\/?p=1525"},"modified":"2012-12-19T23:17:02","modified_gmt":"2012-12-19T15:17:02","slug":"raspbian%e6%ba%90%e7%9a%84%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.huzs.top\/?p=1525","title":{"rendered":"Raspbian\u6e90\u7684\u914d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"<p><strong>\u65b9\u6cd51 <\/strong>\u4fee\u6539\/etc\/apt\/sources.list\u6587\u4ef6<\/p>\n<pre>sudo vim \/etc\/apt\/sources.list<\/pre>\n<p>\u7136\u540e\u6dfb\u52a0\u5982\u4e0b\u4ee3\u7801<\/p>\n<pre>deb http:\/\/ftp.neowiz.com\/raspbian\/raspbian wheezy main contrib non-free rpi<br>deb-src http:\/\/ftp.neowiz.com\/raspbian\/raspbian wheezy main contrib non-free rpi<\/pre>\n<p>\u4f7f\u4fee\u6539\u751f\u6548\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4<\/p>\n<pre>sudo apt-get update<\/pre>\n<p><strong>\u65b9\u6cd52 <\/strong>\u5728\/etc\/apt\/sources.list.d\/\u4e2d\u589e\u52a0\u4e00\u4e2a\u65b0\u7684.list\u6587\u4ef6\u6307\u5b9a\u6e90,\u4f7f\u65b0\u914d\u7f6e\u751f\u6548sudo apt-get update<\/p>\n<p><strong>Raspbian\u6e90\u5217\u8868<\/strong><br \/>http:\/\/www.raspbian.org\/RaspbianMirrors<\/p>\n<p><strong>\u5b98\u65b9\u6e90\uff1a<\/strong><\/p>\n<pre>deb http:\/\/archive.raspbian.org\/raspbian wheezy main contrib non-free rpi<br>deb-src http:\/\/archive.raspbian.org\/raspbian wheezy main contrib non-free rpi<\/pre>\n<p><strong>\u76ee\u524d\u6700\u5feb\u7684Raspbian\u6e90\uff1a<\/strong><br \/>http:\/\/ftp.neowiz.com\/raspbian\/raspbian\/<\/p>\n<pre>deb http:\/\/ftp.neowiz.com\/raspbian\/raspbian wheezy main contrib non-free rpi<br>deb-src http:\/\/ftp.neowiz.com\/raspbian\/raspbian wheezy main contrib non-free rpi<\/pre>\n<p><strong>\u51fa\u73b0gcc-4.7\u4f9d\u8d56\u5e93\u9519\u8bef\u7684\u89e3\u51b3\u529e\u6cd5<\/strong><br \/>\u9519\u8bef\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>E: Internal Error, No file name for gcc-4.7-base<\/p><\/blockquote>\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<pre><br># apt-get download libstdc++6 libgcc1 gcc-4.7-base<br># dpkg -i *.deb<br># apt-get -f install (\u8fd9\u4e00\u6b65\u5b8c\u6210\u540e\uff0c\u53ef\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\u9519\u8bef\u7684\u95ee\u9898\uff0c\u4e0b\u4e00\u6b65\u5f00\u59cb\u6b63\u5e38\u5347\u7ea7)<br># apt-get dist-upgrade<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u65b9\u6cd51 \u4fee\u6539\/etc\/apt\/sources.list\u6587\u4ef6 sudo vim \/etc\/apt\/sources [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1525","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1525"}],"version-history":[{"count":0,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1525\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}