小编spe*_*CHO的帖子

如何修复“在您的 `dpkg' 配置文件中找到的未知配置密钥 `foreign-architecture'。” 错误?

总是当我安装某些东西时,我多次收到以下错误:

在您的“dpkg”配置文件中发现了未知的配置密钥“foreign-architecture”。此警告将在以后成为一个硬错误,因此请删除有问题的配置选项,并在命令行中将其替换为“dpkg --add-architecture”调用。

当我尝试时,dpkg --add-architecture我得到:

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

dpkg: error: --add-architecture takes one argument

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug …
Run Code Online (Sandbox Code Playgroud)

command-line dpkg multiarch

10
推荐指数
1
解决办法
2万
查看次数

标签 统计

command-line ×1

dpkg ×1

multiarch ×1