1
The end goal is to get my Raspberry Pi to work as a print server providing AirPrint for a Brother DCP-195C printer they already have.
I'm trying to follow this answer on how to achive that.
So I already got to the point of where I installed the printer driver, but since that is only provided in compiled form for 32bit x86. So I tried to install Qemu to be able to use those.
I'm getting stuck on
$ sudo apt 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.
A bit more information:
$ sudo aptitude install libc6:i386
The following NEW packages will be installed:
gcc-6-base:i386{ab} libc6:i386 libgcc1:i386{ab}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,698 kB of archives. After unpacking 10.2 MB will be used.
The following packages have unmet dependencies:
gcc-6-base : Breaks: gcc-6-base:i386 (!= 6.3.0-18+rpi1+deb9u1) but 6.3.0-18+deb9u1 is to be installed
gcc-6-base:i386 : Breaks: gcc-6-base (!= 6.3.0-18+deb9u1) but 6.3.0-18+rpi1+deb9u1 is installed
libgcc1 : Breaks: libgcc1:i386 (!= 1:6.3.0-18+rpi1+deb9u1) but 1:6.3.0-18+deb9u1 is to be installed
libgcc1:i386 : Breaks: libgcc1 (!= 1:6.3.0-18+deb9u1) but 1:6.3.0-18+rpi1+deb9u1 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) gcc-6-base:i386 [Not Installed]
2) libc6:i386 [Not Installed]
3) libgcc1:i386 [Not Installed]
Accept this solution? [Y/n/q/?] n
*** No more solutions available ***
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) gcc-6-base:i386 [Not Installed]
2) libc6:i386 [Not Installed]
3) libgcc1:i386 [Not Installed]
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
How can I either make this work or is there another way to get the printer working?
Why can't libgcc1:i386 be installed (first)? – Xen2050 – 2018-12-25T20:11:32.640
I added
aptitude
output. – usbpc102 – 2018-12-25T23:01:59.870The RaspPi has an ARM architecture, not i386. To be able to install libraries for multiple architectures on Debian, you need the multiarch version of some packages (in particular
– dirkt – 2018-12-26T07:03:25.083dpkg
andapt
). If it's a dependency problem, useaptitude
, and see what exactly the problem is, and if you need to upgrade some (seemingly unrelated) packages.dpkg is multiarch for sure:
dpkg --print-foreign-architectures
printsi386
I'm not sure how to check with apt. And as you can see above I provided aptitude output and if I understand it correctly it tells me the i386 versions can't be installed because of the arm versions of the same packages. – usbpc102 – 2018-12-26T17:41:50.220