{"id":5253,"date":"2026-01-17T16:19:23","date_gmt":"2026-01-17T07:19:23","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=5253"},"modified":"2026-01-17T16:19:23","modified_gmt":"2026-01-17T07:19:23","slug":"i7rwgosnv0bya6h","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2026\/01\/17\/i7rwgosnv0bya6h\/","title":{"rendered":"\u4ece SteamCMD \u5230 Docker\uff1a\u4e00\u6b21 Ubuntu \u670d\u52a1\u5668\u7684 i386 \u67b6\u6784\u5f7b\u5e95\u6e05\u7406\u5b9e\u5f55"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u6458\u8981<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u957f\u671f\u8fd0\u884c\u7684 Ubuntu \u670d\u52a1\u5668\u4e0a\uff0c\u5386\u53f2\u9057\u7559\u7684 32 \u4f4d\uff08i386\uff09\u67b6\u6784\u5f80\u5f80\u6765\u81ea\u65e9\u671f\u8f6f\u4ef6\u9700\u6c42\uff0c\u4f8b\u5982 SteamCMD\u3002\u8fd9\u7c7b\u4f9d\u8d56\u5728\u529f\u80fd\u9000\u5f79\u540e\u82e5\u4e0d\u6e05\u7406\uff0c\u4f1a\u589e\u52a0\u7cfb\u7edf\u590d\u6742\u5ea6\u3001\u964d\u4f4e\u53ef\u9884\u6d4b\u6027\u3002\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u6b21\u5b8c\u6574\u3001\u53ef\u63a7\u7684 <strong>i386 \u67b6\u6784\u79fb\u9664\u8fc7\u7a0b<\/strong>\uff0c\u5e76\u6700\u7ec8\u5c06\u5f02\u6784\u9700\u6c42\u4ea4\u7531 Docker \u5904\u7406\uff0c\u4f7f\u5bbf\u4e3b\u7cfb\u7edf\u56de\u5f52\u7eaf amd64 \u72b6\u6001\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u95ee\u9898\u80cc\u666f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u4e00\u53f0 Ubuntu 22.04 \u670d\u52a1\u5668\u4e0a\uff0c\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u786e\u8ba4\u7cfb\u7edf\u542f\u7528\u4e86 i386 \u67b6\u6784\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg --print-foreign-architectures\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u51fa\u663e\u793a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>i386\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u4e00\u6b65\u68c0\u67e5\u5df2\u5b89\u88c5\u7684 32 \u4f4d\u8f6f\u4ef6\u5305\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | grep ':i386'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\u53d1\u73b0\u7cfb\u7edf\u4e2d\u5b58\u5728\u5927\u91cf <code>libc6:i386<\/code>\u3001<code>libssl3:i386<\/code>\u3001<code>zlib1g:i386<\/code> \u7b49\u57fa\u7840\u5e93\uff0c\u4f46\u552f\u4e00\u7684\u5e94\u7528\u7ea7\u5305\u6765\u6e90\u662f <strong>SteamCMD\uff0832 \u4f4d\uff09<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u7740\u4f7f\u7528\u7b56\u7565\u8c03\u6574\uff0c\u51b3\u5b9a\u4e0d\u518d\u5728\u5bbf\u4e3b\u673a\u76f4\u63a5\u8fd0\u884c SteamCMD\uff0c\u800c\u6539\u7528 <strong>Docker \u5bb9\u5668<\/strong> \u627f\u62c5\u6b64\u7c7b\u9700\u6c42\uff0c\u4e8e\u662f\u542f\u52a8\u4e86 i386 \u67b6\u6784\u7684\u5f7b\u5e95\u6e05\u7406\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u521d\u6b65\u5c1d\u8bd5\u4e0e\u5173\u952e\u8bef\u533a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u79fb\u9664 SteamCMD \u540e\uff0c\u76f4\u63a5\u5c1d\u8bd5\u79fb\u9664\u67b6\u6784\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg --remove-architecture i386\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\u5931\u8d25\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg: error: cannot remove architecture 'i386' currently in use by the database\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u56e0\u5f88\u660e\u786e\uff1a<br><strong>\u53ea\u8981\u7cfb\u7edf\u4e2d\u4ecd\u5b58\u5728\u4efb\u4f55 <code>:i386<\/code> \u5305\uff0cdpkg \u5c31\u4e0d\u4f1a\u5141\u8bb8\u79fb\u9664\u8be5\u67b6\u6784\u3002<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001apt \u901a\u914d\u7b26\u9677\u9631<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c1d\u8bd5\u4f7f\u7528 apt \u901a\u914d\u7b26\u6e05\u7406\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt purge '.*:i386'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">apt \u62a5\u9519\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>E: Unable to locate package .*:i386\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u662f\u4e00\u4e2a\u5e38\u89c1\u8bef\u533a\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>apt<\/code> <strong>\u4e0d\u652f\u6301\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong><\/li>\n\n\n\n<li><code>' .* '<\/code> \u4f1a\u88ab\u5f53\u4f5c\u5b57\u9762\u5305\u540d<\/li>\n\n\n\n<li>\u56e0\u6b64\u65e0\u6cd5\u5339\u914d\u5df2\u5b89\u88c5\u7684 i386 \u5305<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u6b63\u786e\u4e14\u53ef\u63a7\u7684\u6e05\u7406\u65b9\u5f0f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u7cbe\u786e\u5217\u51fa\u6240\u6709 i386 \u5305<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | awk '\/:i386\/ {print $2}'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u547d\u4ee4\u76f4\u63a5\u4ece dpkg \u6570\u636e\u5e93\u8bfb\u53d6\u771f\u5b9e\u5305\u540d\uff0c\u907f\u514d\u4efb\u4f55\u5339\u914d\u6b67\u4e49\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u4e00\u6b21\u6027 purge \u6240\u6709 i386 \u5305<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | awk '\/:i386\/ {print $2}' | xargs apt purge -y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b64\u65f6 apt \u4f1a\u53d1\u51fa\u5173\u952e\u8b66\u544a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WARNING: The following packages will be removed.\nWARNING: The following essential packages will be removed.\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6d89\u53ca\u7684\u4e3b\u8981\u662f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>libc6:i386<\/code><\/li>\n\n\n\n<li><code>libcrypt1:i386<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u5173\u4e8e \u201cEssential \u5305\u201d \u7684\u5173\u952e\u8ba4\u77e5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 multi-arch \u7cfb\u7edf\u4e2d\u9700\u8981\u660e\u786e\u4e00\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>libc6:amd64<\/code> \u2192 \u652f\u6491\u7cfb\u7edf\u8fd0\u884c\u7684\u6838\u5fc3\u5e93<\/li>\n\n\n\n<li><code>libc6:i386<\/code> \u2192 <strong>\u4ec5\u4f9b 32 \u4f4d\u7a0b\u5e8f\u4f7f\u7528<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8c\u8005\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u67b6\u6784\u4e0d\u540c<\/li>\n\n\n\n<li>\u6587\u4ef6\u8def\u5f84\u4e0d\u540c<\/li>\n\n\n\n<li>ELF \u5b8c\u5168\u72ec\u7acb<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u79fb\u9664 <code>libc6:i386<\/code> \u4e0d\u4f1a\u5f71\u54cd\u7cfb\u7edf\u8fd0\u884c<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">apt \u7684\u62e6\u622a\u5c5e\u4e8e\u4fdd\u5b88\u8bbe\u8ba1\uff0c\u800c\u975e\u771f\u5b9e\u98ce\u9669\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u6700\u7ec8\u786e\u8ba4\u5f0f\u6e05\u7406<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u660e\u786e\u7406\u89e3\u98ce\u9669\u540e\uff0c\u4f7f\u7528\u5141\u8bb8\u79fb\u9664 essential \u5305\u7684\u65b9\u5f0f\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | awk '\/:i386\/ {print $2}' | xargs apt purge -y --allow-remove-essential\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u540e\u8fdb\u884c\u6536\u5c3e\u6e05\u7406\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt autoremove --purge\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9a8c\u8bc1\u7cfb\u7edf\u4e2d\u5df2\u65e0 i386 \u5305\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | grep ':i386'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e0\u8f93\u51fa\uff0c\u8bf4\u660e\u6e05\u7406\u5b8c\u6210\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u79fb\u9664\u67b6\u6784\u5e76\u66f4\u65b0\u7cfb\u7edf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6240\u6709 i386 \u5305\u5f7b\u5e95\u79fb\u9664\u540e\uff0c\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg --remove-architecture i386\napt update\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7cfb\u7edf\u66f4\u65b0\u6b63\u5e38\uff0c\u672a\u51fa\u73b0\u4f9d\u8d56\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u81f3\u6b64\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u6570\u636e\u5e93\u4e2d\u4e0d\u518d\u5b58\u5728 i386 \u67b6\u6784<\/li>\n\n\n\n<li>apt \u4e0d\u53ef\u80fd\u518d\u5f15\u5165 32 \u4f4d\u5305<\/li>\n\n\n\n<li>\u7cfb\u7edf\u6062\u590d\u4e3a <strong>\u7eaf amd64<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u7ed3\u679c\u4e0e\u610f\u4e49<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6b21\u64cd\u4f5c\u7684\u672c\u8d28\u5e76\u975e\u201c\u5378\u8f7d\u51e0\u4e2a\u5305\u201d\uff0c\u800c\u662f\u4e00\u6b21 <strong>\u7cfb\u7edf\u89d2\u8272\u7684\u660e\u786e\u5316<\/strong>\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4ece\u300c\u684c\u9762\/\u517c\u5bb9\u578b Linux\u300d<\/li>\n\n\n\n<li>\u8f6c\u4e3a\u300c\u670d\u52a1\u5668\/\u5355\u67b6\u6784 Linux\u300d<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b56\u7565\u4e0a\u5b9e\u73b0\u4e86\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5bbf\u4e3b\u7cfb\u7edf\u4fdd\u6301\u6700\u5c0f\u3001\u53ef\u9884\u6d4b<\/li>\n\n\n\n<li>\u5f02\u6784\u9700\u6c42\uff0832 \u4f4d\u7a0b\u5e8f\uff09\u5b8c\u5168\u4ea4\u7531 Docker<\/li>\n\n\n\n<li>\u964d\u4f4e\u672a\u6765\u7ef4\u62a4\u4e0e\u8fc1\u79fb\u6210\u672c<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981 \u5728\u957f\u671f\u8fd0\u884c\u7684 Ubuntu \u670d\u52a1\u5668\u4e0a\uff0c\u5386\u53f2\u9057\u7559\u7684 32 \u4f4d\uff08i386\uff09\u67b6\u6784\u5f80\u5f80\u6765\u81ea\u65e9\u671f\u8f6f\u4ef6\u9700\u6c42\uff0c\u4f8b\u5982 SteamCMD\u3002\u8fd9\u7c7b\u4f9d\u8d56\u5728\u529f\u80fd\u9000\u5f79\u540e\u82e5\u4e0d\u6e05\u7406\uff0c\u4f1a\u589e\u52a0\u7cfb\u7edf\u590d\u6742\u5ea6\u3001\u964d\u4f4e\u53ef\u9884\u6d4b\u6027\u3002\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u6b21\u5b8c\u6574\u3001\u53ef\u63a7\u7684 i386 \u67b6\u6784\u79fb\u9664\u8fc7\u7a0b\uff0c\u5e76\u6700\u7ec8\u5c06\u5f02\u6784\u9700\u6c42\u4ea4\u7531 Docker \u5904\u7406\uff0c\u4f7f\u5bbf\u4e3b\u7cfb\u7edf\u56de\u5f52\u7eaf amd64 \u72b6\u6001\u3002 \u4e00\u3001\u95ee\u9898\u80cc\u666f \u5728\u4e00\u53f0 Ubuntu 22.04 \u670d\u52a1\u5668\u4e0a\uff0c\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u786e\u8ba4\u7cfb\u7edf\u542f\u7528\u4e86 i386 \u67b6\u6784\uff1a \u8f93\u51fa\u663e\u793a\uff1a \u8fdb\u4e00\u6b65\u68c0\u67e5\u5df2\u5b89\u88c5\u7684 32 \u4f4d\u8f6f\u4ef6\u5305\uff1a \u7ed3\u679c\u53d1\u73b0\u7cfb\u7edf\u4e2d\u5b58\u5728\u5927\u91cf libc6:i386\u3001libssl3:i386\u3001zlib1g:i386 \u7b49\u57fa\u7840\u5e93\uff0c\u4f46\u552f\u4e00\u7684\u5e94\u7528\u7ea7\u5305\u6765\u6e90\u662f SteamCMD\uff0832 \u4f4d\uff09\u3002 \u968f\u7740\u4f7f\u7528\u7b56\u7565\u8c03\u6574\uff0c\u51b3\u5b9a\u4e0d\u518d\u5728\u5bbf\u4e3b\u673a\u76f4\u63a5\u8fd0\u884c SteamCMD\uff0c\u800c\u6539\u7528 Docker \u5bb9\u5668 \u627f\u62c5\u6b64\u7c7b\u9700\u6c42\uff0c\u4e8e\u662f\u542f\u52a8\u4e86 i386 \u67b6\u6784\u7684\u5f7b\u5e95\u6e05\u7406\u3002 \u4e8c\u3001\u521d\u6b65\u5c1d\u8bd5\u4e0e\u5173\u952e\u8bef\u533a \u5728\u79fb\u9664 SteamCMD \u540e\uff0c\u76f4\u63a5\u5c1d\u8bd5\u79fb\u9664\u67b6\u6784\uff1a \u7ed3\u679c\u5931\u8d25\uff1a \u539f\u56e0\u5f88\u660e\u786e\uff1a\u53ea\u8981\u7cfb\u7edf\u4e2d\u4ecd\u5b58\u5728\u4efb\u4f55 :i386 \u5305\uff0cdpkg \u5c31\u4e0d\u4f1a\u5141\u8bb8\u79fb\u9664\u8be5\u67b6\u6784\u3002 \u4e09\u3001apt \u901a\u914d\u7b26\u9677\u9631 \u5c1d\u8bd5\u4f7f\u7528 apt \u901a\u914d\u7b26\u6e05\u7406\uff1a &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-5253","post","type-post","status-publish","format-standard","hentry","category-vuwvtm6m4vkbg"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5253","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=5253"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5253\/revisions"}],"predecessor-version":[{"id":5254,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5253\/revisions\/5254"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=5253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=5253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=5253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}