Thorsten Glaser <t.gla...@tarent.de> 于2020年6月11日周四 上午1:58写道: > > On Thu, 11 Jun 2020, YunQiang Su wrote: > > > root@sid-i386:~# apt install gcc-9-i686-linux-gnu:amd64 > > 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: > > gcc-9-i686-linux-gnu:amd64 : Depends: libgcc-9-dev-i386-cross:amd64 > > (>= 9.3.0-13cross1) but it is not installable > > E: Unable to correct problems, you have held broken packages. > > When encountering this kind of problems, it helps apt if you add > all packages listed to the command line, until you see the real > problem. In my build chroot, it looks like this: > > (pbuild25746-sid/i386)root@tglase:/# apt-get install gcc-i686-linux-gnu:amd64 > 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: > gcc-9-i686-linux-gnu:amd64 : Depends: binutils-i686-linux-gnu:amd64 (>= > 2.34) but it is not going to be installed > Depends: libgcc-9-dev-i386-cross:amd64 (>= > 9.3.0-13cross1) but it is not installable > E: Unable to correct problems, you have held broken packages. > > Then I add the packages: > > (pbuild25746-sid/i386)root@tglase:/# apt-get install gcc-i686-linux-gnu:amd64 > binutils-i686-linux-gnu:amd64 libgcc-9-dev-i386-cross:amd64 > Reading package lists... Done > Building dependency tree > Reading state information... Done > Package libgcc-9-dev-i386-cross:amd64 is not available, but is referred to by > another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > > E: Package 'libgcc-9-dev-i386-cross:amd64' has no installation candidate > > > So we see that the package libgcc-9-dev-i386-cross:amd64 does not exist
in fact it may be problem of apt, since we do have libgcc-9-dev-i386-cross:all > in Debian. There is the bug. (Also, why can’t it use libgcc-9-dev:i386? > Really…) Go bother the GCC maintainer… > It is a :amd64 package, it shouldn't depends on :i386 package. To depends on libgcc-9-dev:i386, we need a gccXX-9:i386, that's just what I want to do gcc64-9:i386. > bye, > //mirabilos > -- > «MyISAM tables -will- get corrupted eventually. This is a fact of life. » > “mysql is about as much database as ms access” – “MSSQL at least descends > from a database” “it's a rebranded SyBase” “MySQL however was born from a > flatfile and went downhill from there” – “at least jetDB doesn’t claim to > be a database” (#nosec) ‣‣‣ Please let MySQL and MariaDB finally die! -- YunQiang Su