Raspberry pi 使用qemu Raspbian:安装libc6:i386失败
这是我在这个论坛上的第一篇帖子 我正在尝试让qemu在安装了Raspbian stretch的Raspberry Pi 3上运行。我的兄弟DCP-350C扫描仪驱动程序仅在x86上预编译。 我已经添加了i386 arch和Raspberry pi 使用qemu Raspbian:安装libc6:i386失败,raspberry-pi,raspbian,qemu,Raspberry Pi,Raspbian,Qemu,这是我在这个论坛上的第一篇帖子 我正在尝试让qemu在安装了Raspbian stretch的Raspberry Pi 3上运行。我的兄弟DCP-350C扫描仪驱动程序仅在x86上预编译。 我已经添加了i386 arch和sudo dpkg——添加架构i386 并安装了qemu用户binfmt支持。没问题 但每次尝试安装libc6:i386时,都会出现一个安装错误: pi@raspberrypi:/etc/apt $ sudo apt-get install libc6:i386 Reading
sudo dpkg——添加架构i386
并安装了qemu用户binfmt支持。没问题
但每次尝试安装libc6:i386时,都会出现一个安装错误:
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.
我不知道怎么修理它。我尝试过各种存储库,但这似乎不是存储库的问题
我不知道如何解决这个问题
我希望任何人都能帮上忙。那种错误(“libgcc1:i386中断:libgcc1(!=1:6.3.0-18),但要安装1:6.3.0-18+rpi1”和“libgcc1:Breaks:libgcc1:i386(!=1:6.3.0-18+rpi1),但要安装1:6.3.0-18”)这是因为对Debian和Debian衍生产品的多弓支持要求您安装的每个体系结构的包的所有版本都必须具有完全匹配的版本。因此,您可以将libgcc1:i386 1:6.3.0-18和libgcc1:armhf 1:6.3.0-18安装在一起,因为版本匹配,而不是libgcc1:i386 1:6.3.0-18和libgcc1:armhf 1:6.3.0-18+rpi1(因为版本不完全匹配)
这里的问题是raspbian重建包,这就是为什么它们在版本末尾有+rpi1标记。所以你需要的是
- 一个为i386构建了raspbian版本包的存储库——这很可能不存在
- 或者运行纯上游Debian,而不是Raspbian——此时您可能不想使用它
- 或者自己重新构建i386的所有软件包——如果你不知道自己在做什么,这可能会很痛苦,也很容易出错
在谷歌上快速搜索扫描仪型号名称后,出现了这个网页:其中包括扫描仪驱动程序和CUPS包装器驱动程序的源代码下载。如果我是你,我会尝试为arm构建一个本地版本。嗨,谢谢你的回答。我已经读了很多关于该扫描仪的文章,它似乎与qemu配合得很好,而试图重建却不起作用。@“或者运行纯上游Debian,而不是Raspbian——此时您可能不想交换它”。为什么不呢?这只是一个猜测,因为交换发行版通常有点痛苦(完全重新安装),我不知道Debian在rpi上的运行情况如何。说到底,你运行Raspbian可能是有原因的。。。