Bug#570477: apt-utils: Cannot create Index file for multiarch using apt-ftparchive
Package: apt-utils
Version: 0.7.25
Severity: important
I am maintaining a small debian pool (squeeze) for my project and it has both i386 and amd64 packages. Now I need to create Index files (binary-ARCH/Packages.gz and Contents-ARCH) files for the same..
Even though the pool contains packages for different architectures..it is given in the apt-ftparchive manual that using a conffile., generating separate index files are possible..
Conffile
Dir {
ArchiveDir "mirror";
OverrideDir "mirror/indices";
CacheDir "mirror/tmp";
};
TreeDefault {
Directory "pool";
Contents "dists/squeeze";
};
Tree "dists/squeeze" {
Sections "main";
Architectures "i386";
};
BinDirectory "pool/squeeze/main" {
Packages "dists/squeeze/main/binary-i386/Packages";
BinOverride "override.sque.main";
Contents "dists/squeeze/Contents-i386";
};
Default {
Packages {
Extensions ".deb";
Compress ". gzip";
};
Contents {
Compress "gzip";
};
};
and I expect "apt-ftparchive generate conffile" to create index files which contains only i386 packages..but that is not happening and the index files contains the whole lit of both the architectures..
Is this is a problem with my conf file or a bug in apt-ftparchive..
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-bpo.1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-utils depends on:
ii apt [libapt-pkg-libc6.9-6-4.8 0.7.25 Advanced front-end for dpkg
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libdb4.8 4.8.24-1 Berkeley v4.8 Database Libraries [
ii libgcc1 1:4.4.2-9 GCC support library
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
apt-utils recommends no packages.
apt-utils suggests no packages.
-- no debconf information
--
With luv n cheers.,
Prema
Attachment:
conffile
Description: Binary data
Reply to: