这是我在这个论坛上的第一篇帖子。
我正试图让qemu在我的Raspberry Pi 3上运行,并安装了Raspbian拉伸。我的兄弟DCP-350 C扫描仪驱动程序只能在x86上预编译。我增加了i386 arch与sudo dpkg --add-architecture i386,并安装了qemu-用户binfmt支持。那里没问题。
但是,每次我试图安装libc6 6:i 386时,都会得到一个安装错误:
pi@raspberrypi:/etc/apt $ sudo apt-get install libc6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:/etc/apt $ sudo apt-get install libgcc1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
debconf : PreDepends: perl-base (>= 5.20.1-3~) but it is not going to be installed
Recommends: apt-utils (>= 0.5.1) but it is not going to be installed
Recommends: debconf-i18n but it is not going to be installed
dpkg : PreDepends: libbz2-1.0 but it is not going to be installed
PreDepends: liblzma5 (>= 5.2.2) but it is not going to be installed
PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Depends: tar (>= 1.28-1)
libgcc1 : Breaks: libgcc1:i386 (!= 1:6.3.0-18+rpi1) but 1:6.3.0-18 is to be installed
libgcc1:i386 : Depends: gcc-6-base:i386 (= 6.3.0-18) but it is not going to be installed
Breaks: libgcc1 (!= 1:6.3.0-18) but 1:6.3.0-18+rpi1 is to be installed
libselinux1 : Depends: libpcre3 but it is not going to be installed
libx11-6 : Depends: libxcb1 (>= 1.11.1) but it is not going to be installed
libxext6 : PreDepends: multiarch-support
lxlock : Depends: light-locker but it is not going to be installed or
xscreensaver but it is not going to be installed or
gnome-screensaver but it is not going to be installed or
i3lock but it is not going to be installed or
suckless-tools but it is not going to be installed or
slim but it is not going to be installed
systemd-sysv : PreDepends: systemd
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.我不知道怎么修好它。我尝试过各种存储库,但这似乎不是存储库的问题。
我不知道该怎么解决这个问题了。
我希望任何人都能帮忙。
发布于 2017-12-04 11:52:32
这种错误( "libgcc1 1:i 386断开: libgcc1 (!= 1:6.3.0-18),但需要安装1:6.3.0-18+rpi1 1“和”libgcc1:突破口:libgcc1 1:i 386 (!= 1:6.3.0-18 +rpi1 1)“)是因为对Debian和Debian衍生产品的多重支持要求您所安装的每个体系结构的所有版本都必须具有完全匹配的版本。因此,您可以将libgcc1 1:i 386 1:6.3.0-18和libgcc1 1:armhf 1:6.3.0-18安装在一起,因为版本匹配,而不是libgcc1 1:i 386 1:6.3.0-18和libgcc1 1:armhf 1:6.3.0-18+rpi1 1(因为版本不完全匹配)。
这里的问题是raspbian重新构建包,这就是为什么它们的版本末尾有+rpi1 1标记的原因。所以你需要的是
如果有任何安慰的话,我会对QEMU是否能有效地处理一段特定于硬件的代码(比如扫描仪驱动程序(它可能是CUPS或其他系统软件的插件)有一定的不确定性。
一个快速谷歌的扫描仪模型名称提到了这个网页:all&os=128,其中包括一个下载的源代码扫描仪驱动程序和CUPS包装驱动程序。如果我是你的话,我会尝试用这种方法来为手臂设计。
https://stackoverflow.com/questions/47590880
复制相似问题