2017-12-01 11 views
0

이것은이 포럼의 첫 번째 게시물입니다.qemu Raspbian 사용 : libc6 : i386 설치 실패

저는 Raspbian 스트레치가 설치된 Raspberry Pi 3에서 qemu를 실행하려고합니다. 제 형제 인 DCP-350C 스캐너 드라이버는 x86에서 사전 컴파일되어 제공됩니다. sudo dpkg --add-architecture i386 으로 i386 arch를 추가하고 qemu-user binfmt-support를 설치했습니다. 거기에 문제 없습니다.

하지만 libc6 내 설치하려고 할 때마다 : i386을 내가 얻을 오류를 설치

[email protected]:/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. 
[email protected]:/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. 

나는 그것을 해결하는 방법을 모르겠어요. 모든 종류의 저장소를 시도했지만 저장소 문제가 아닌 것으로 보입니다.

더 이상 문제를 해결할 방법이 없습니다.

아무도 도와 줄 수 있기를 바랍니다.

답변

0

그런 종류의 오류 ("libgcc1 : i386 Breaks : libgcc1 (! = 1 : 6.3.0-18)하지만 1 : 6.3.0-18 + rpi1이 설치됨"및 "libgcc1 : Breaks : libgcc1 : 데비안 및 데비안 파생물에서 multiarch가 지원하려면 각 아키텍처에 대한 패키지의 모든 버전이 필요하기 때문에 i386 (! = 1 : 6.3.0-18 + rpi1)이 필요합니다. " 설치된 버전이 정확히 일치해야합니다. 따라서 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 태그가있는 것입니다. 그래서 당신이해야하는 패키지의 raspbian 버전은 i386을 위해 내장 된 하나

  • 저장소입니다 -이 잘
  • 존재 데비안보다는 Raspbian 상류 순수 실행되지 않을 수 있습니다 - 당신 가능성이 돈 이 시점에서
  • 으로 바꾸거나 i386 용 패키지를 모두 다시 작성하고 싶지 않습니다. 어떤 작업을하는지 모를 경우 고통스럽고 쉽게 이해하기 쉽습니다.

은 어떤 위로가 있다면 내가 QEMU가 유용 어쨌든 (아마 CUPS 또는 다른 시스템 소프트웨어 플러그인입니다) 스캐너 드라이버 같은 코드의 하드웨어 특정 부분을 모방 처리 할 수 ​​있는지에 대해 다소 불확실하다.

스캐너 모델 이름의 빠른 google : http://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=dcp350c_all&os=128에는 스캐너 드라이버 및 CUPS 래퍼 드라이버의 소스 코드 다운로드가 포함되어 있습니다. 내가 너라면 나는 암을 위해 네이티브 적으로 구축하는 방법을 시도 할 것이다.

+0

안녕하세요, 답변 해 주셔서 감사합니다. 그 스캐너에 관한 수많은 스레드를 읽었으며 qemu와 잘 작동하고 재구성하려고 시도하는 것이 잘 작동하지 않는 것 같습니다. @ "또는 Raspbian이 아닌 순수한 업스트림 데비안을 실행하십시오 -이 시점에서 스왑하지 않을 가능성이 큽니다". 왜 안 되니? – Sven

+0

디스트리뷰드를 스왑하는 것이 일반적으로 약간 어려웠 기 때문에 (전체 재설치) 데비안이 rpi에서 얼마나 잘 작동하는지 알지 못하기 때문에 그것은 추측이었습니다. 결국 Raspbian을 실행하는 이유가 있습니다. 결국 ... –