On Fri, Aug 12, 2011 at 01:16:44PM -0700, David Konerding wrote:
BTW, our distribution engineers have suggesting using
'apt-rdepends' instead
of 'apt-cache depends'. I verified that works better on my system (that is,
querying on bash returns libc6).
But it doesn't actually work if I put that in febootstrap_debian.ml in place
of apt-cache depends.
febootstrap -v -o supermin.d --names bsdmainutils btrfs-tools cryptsetup
diff e2fsprogs gfs-tools gfs2-tools grub-pc hfsplus iproute libaugeas0
linux-image nilfs-tools ntfs-3g ntfsprogs reiserfsprogs udev ufsutils
util-linux vim-tiny xz-utils zfs-fuse acl attr bash libc6 binutils coreutils
cpio dosfstools file findutils gawk grep gzip jfsutils lsof lvm2
module-init-tools net-tools parted procps scrub strace tar zerofree
--exclude ^perl --exclude ^python --exclude ^plymouth --exclude
^linux-firmware --exclude ^kbd-misc --exclude ^file-rc
...
No candidate version found for debconf-2.0
No candidate version found for awk
... because eg:
$ aptitude download awk
No candidate version found for awk
I just downloaded and had a look at apt-rdepends, and I'm a bit
confused by its output. It doesn't appear to resolve meta-packages at
all, which would explain the above error, because awk is a
meta-package implemented by (eg) original-awk or gawk.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org