{"id":285,"date":"2019-09-15T15:24:54","date_gmt":"2019-09-15T07:24:54","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=285"},"modified":"2025-06-22T06:41:17","modified_gmt":"2025-06-21T21:41:17","slug":"ajqnbm8qgxcvt2u","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2019\/09\/15\/ajqnbm8qgxcvt2u\/","title":{"rendered":"\u62a5\u9519"},"content":{"rendered":"<p>1\u3001\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u62a5\u9519<\/p>\n<p>aclocal: command not found<br \/>\n\u65b9\u6cd5\uff1asudo pacman -S automake autoconf<\/p>\n<p>.\/autogen.sh: line 25: intltoolize: command not found<br \/>\n\u65b9\u6cd5\uff1asudo pacman -S intltool<\/p>\n<p>2\u3001CentOS Cannot find a valid baseurl for repo, base_7_x86_6<\/p>\n<p>\u6253\u5f00 vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0\uff08\u4e0d\u540c\u7684\u7cfb\u7edf\u53ef\u80fd\u4e0d\u540c\uff09\uff0c\u628aONBOOT=no\uff0c\u6539\u4e3aONBOOT=yes<br \/>\n\u91cd\u542f\u7f51\u7edc\uff1aservice network restart<\/p>\n<p>3\u3001ImportError cannot import name main<\/p>\n<p>\u4f7f\u7528pip\u51fa\u73b0\uff1aTraceback (most recent call last):<br \/>\nFile &#8220;\/usr\/bin\/pip3&#8221;, line 9, in &lt;module&gt;<br \/>\nfrom pip import main<br \/>\nImportError: cannot import name &#8216;main&#8217;<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u5b89\u88c5pip\u3002<\/p>\n<p>sudo python3 -m pip uninstall pip &amp;&amp; sudo apt install python3-pip &#8211;reinstall<\/p>\n<p>4\u3001Fix AppStream cache update completed, but some metadata was ignored due to errors<\/p>\n<p>sudo apt install appstream\/xenial-backports<\/p>\n<p>$ appstreamcli &#8211;version<br \/>\nAppStream CLI tool version: 0.10.1<br \/>\n$ sudo appstreamcli refresh &#8211;force<br \/>\nAppStream cache update completed successfully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u62a5\u9519 aclocal: command not found \u65b9\u6cd5\uff1asudo pacman -S automake autoconf .\/autogen.sh: line 25: intltoolize: command not found \u65b9\u6cd5\uff1asudo pacman -S intltool 2\u3001CentOS Cannot find a valid baseurl for repo, base_7_x86_6 \u6253\u5f00 vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0\uff08\u4e0d\u540c\u7684\u7cfb\u7edf\u53ef\u80fd\u4e0d\u540c\uff09\uff0c\u628aONBOOT=no\uff0c\u6539\u4e3aONBOOT=yes \u91cd\u542f\u7f51\u7edc\uff1aservice network restart 3\u3001ImportError cannot import name main \u4f7f\u7528pip\u51fa\u73b0\uff1aTraceback (most recent call last): File &#8220;\/usr\/bin\/pip3&#8221;, line 9, &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-b7fum8vqsuspg2y"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":2293,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions\/2293"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}