{"id":848,"date":"2007-08-04T18:31:13","date_gmt":"2007-08-04T06:31:13","guid":{"rendered":""},"modified":"2007-08-04T18:31:13","modified_gmt":"2007-08-04T06:31:13","slug":"","status":"publish","type":"post","link":"https:\/\/www.mudone.com\/?p=848","title":{"rendered":"7.1 \u4e00\u822c\u9519\u8bef"},"content":{"rendered":"<p>7.1 \u4e00\u822c\u9519\u8bef<br \/>\n\u9519\u8bef\u603b\u662f\u53d1\u751f\uff0c\u5927\u90e8\u5206\u662f\u56e0\u4e3a\u7528\u6237\u7684\u7c97\u5fc3\uff0c\u4e0b\u9762\u5217\u4e3e\u4e00\u4e9b\u5e38\u89c1\u9519\u8bef\u53ca\u5904\u7406\u65b9\u6cd5\u3002 <\/p>\n<p>\u5982\u679c\u5728\u8fd0\u884capt-get install package\u65f6\uff0c\u4f60\u7684\u7cfb\u7edf\u62a5\u544a\u5982\u4e0b\u4fe1\u606f\uff1a <\/p>\n<p>     Reading Package Lists&#8230; Done<br \/>\n     Building Dependency Tree&#8230; Done<br \/>\n     W: Couldn&#8217;t stat source package list &#8216;http:\/\/people.debian.org unstable\/ Packages&#8217; (\/var\/state\/apt\/lists\/people.debian.org_%7ekov_debian_unstable_Packages) &#8211; stat (2 No such file or directory)<br \/>\n     W: You may want to run apt-get update to correct these missing files<br \/>\n     E: Couldn&#8217;t find package penguineyes<br \/>\n\u4e0a\u6b21\u4f60\u4fee\u6539\/etc\/apt\/sources.list\u540e\uff0c\u5fd8\u4e86\u8fd0\u884capt-get update\u66f4\u65b0\u3002 <\/p>\n<p>\u5982\u679c\u51fa\u73b0\u8fd9\u6837\u7684\u4fe1\u606f\uff1a <\/p>\n<p>     E: Could not open lock file \/var\/lib\/dpkg\/lock &#8211; open (13 Permission denied)<br \/>\n     E: Unable to lock the administration directory (\/var\/lib\/dpkg\/), are you root?<br \/>\n\u5982\u679c\u4f60\u6ca1\u6709root\u6743\u9650\uff0c\u8fd0\u884c\u9664source\u5916\u7684\u5176\u5b83apt-get\u547d\u4ee4\uff0c\u5982\u4f1a\u51fa\u73b0\u4e0a\u9762\u7684\u9519\u8bef\u4fe1\u606f\u3002\u8fd9\u662f\u56e0\u4e3a\u4f60\u662f\u666e\u901a\u7528\u6237\u3002 <\/p>\n<p>\u5f53\u4f60\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aapt-get\u8fdb\u7a0b\uff0c\u6216\u8005\u5f53\u4f60\u8bd5\u56fe\u8fd0\u884capt-get\u65f6\u5df2\u6709\u4e00\u4e2a\u7684dpkg\u8fdb\u7a0b\u5904\u4e8e\u6fc0\u6d3b\u72b6\u6001\uff0c\u7cfb\u7edf\u4e5f\u4f1a\u62a5\u544a\u4e0e\u4e0a\u9762\u76f8\u4f3c\u7684\u9519\u8bef\u4fe1\u606f\u3002\u552f\u4e00\u80fd\u4e0e\u5176\u5b83\u547d\u4ee4\u540c\u65f6\u8fd0\u884c\u7684\u53ea\u6709source \u547d\u4ee4\u3002 <\/p>\n<p>\u5982\u679c\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u4e2d\u65ad\uff0c\u7136\u540e\u4f60\u53d1\u73b0\u8be5\u8f6f\u4ef6\u5305\u65e2\u4e0d\u80fd\u91cd\u88c5\u53c8\u4e0d\u80fd\u5220\u9664\uff0c\u8bd5\u8bd5\u4e0b\u9762\u4e24\u4e2a\u547d\u4ee4\uff1a <\/p>\n<p>     # apt-get -f install<br \/>\n     # dpkg &#8211;configure -a<br \/>\n\u518d\u8bd5\u7740\u5b89\u88c5\u90a3\u4e2a\u8f6f\u4ef6\u5305\uff0c\u5982\u679c\u4e0d\u884c\u518d\u6b21\u8fd0\u884c\u4e0a\u8ff0\u547d\u4ee4\u540e\u518d\u8bd5\u3002\u8fd9\u4e24\u4e2a\u547d\u4ee4\u5bf9\u4e8e\u90a3\u4e9b\u4f7f\u7528unstable\u7684\u73a9\u5bb6\u975e\u5e38\u6709\u7528\u3002 <\/p>\n<p>\u5982\u679c\u4f60\u5728\u8fd0\u884capt-get update\u65f6\u770b\u5230\u201cE: Dynamic MMap ran out of room\u201d\uff0c \u90a3\u4e48\u5728\/etc\/apt\/apt.conf\u52a0\u5165\u5982\u4e0b\u5185\u5bb9\uff1a <\/p>\n<p>     APT::Cache-Limit 10000000;<br \/>\nFrom:<a href=\"http:\/\/www.debian.org\/doc\/manuals\/apt-howto\/ch-erros.zh-cn.html\">http:\/\/www.debian.org\/doc\/manuals\/apt-howto\/ch-erros.zh-cn.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>7.1 \u4e00\u822c\u9519\u8bef \u9519\u8bef\u603b\u662f\u53d1\u751f\uff0c\u5927\u90e8\u5206\u662f\u56e0\u4e3a\u7528\u6237\u7684\u7c97\u5fc3\uff0c\u4e0b\u9762\u5217\u4e3e\u4e00\u4e9b\u5e38\u89c1\u9519\u8bef\u53ca\u5904\u7406\u65b9\u6cd5\u3002 \u5982\u679c\u5728\u8fd0\u884capt-g [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-848","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.mudone.com\/index.php?rest_route=\/wp\/v2\/posts\/848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mudone.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mudone.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mudone.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mudone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=848"}],"version-history":[{"count":0,"href":"https:\/\/www.mudone.com\/index.php?rest_route=\/wp\/v2\/posts\/848\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mudone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mudone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mudone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}