首页 > 代码库 > How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?

How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?

My /etc/dpkg/dpkg.cfg.d/multiarch contained:

foreign-architecture i386

I deleted the file. I then issued:

dpkg --add-architecture foreign-architecture

How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?