I'm using apt-rdepends
on an amd64 system with i386 as a foreign architecture. But it seems that apt-rdepends
loses the architecture information of packages:
$ apt-rdepends libgcc1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgcc1:i386
Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1)
Depends: libc6 (>= 2.2.4)
PreDepends: multiarch-support
gcc-4.9-base
libc6
Depends: libgcc1
libgcc1
Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1)
Depends: libc6 (>= 2.14)
PreDepends: multiarch-support
multiarch-support
Depends: libc6 (>= 2.3.6-2)
While apt-cache
shows the correct architecture but can't recurse:
$ apt-cache depends libgcc1:i386
libgcc1:i386
Depends: gcc-4.9-base:i386
Depends: libc6:i386
PreDepends: multiarch-support:i386
multiarch-support
Breaks: <gcc-4.3>
Breaks: <gcc-4.3:i386>
Breaks: gcc-4.4
Breaks: gcc-4.4:i386
Breaks: <gcc-4.5>
Breaks: <gcc-4.5:i386>
Replaces: libgcc1
Breaks: libgcc1
Any suggestions on how to recursively retrieve dependencies without losing architecture information?
debfoster
only seems to work on already installed packages which doesn't help me. But I've found http://stackoverflow.com/questions/22008193, which points out that there'sapt-cache depends --recurse
. So that's what I'm currently trying. Results should be in in about 30 minutes. – Hurzelchen May 09 '17 at 09:42