[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#570477: marked as done (apt-utils: Cannot create Index file for multiarch using apt-ftparchive)



Your message dated Fri, 19 Feb 2010 15:17:54 +0100
with message-id <c64043e61002190617y78bfb254m86782310f0ab4a41@mail.gmail.com>
and subject line Re: Bug#570477: apt-utils: Cannot create Index file for multiarch  using apt-ftparchive
has caused the Debian Bug report #570477,
regarding apt-utils: Cannot create Index file for multiarch using  apt-ftparchive
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
570477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570477
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message --- 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


--- End Message ---
--- Begin Message ---
Version: 0.7.26~exp1

Hello Prema,

First of all: Thanks for your report!
And in this case: Perfect timing. ;)

2010/2/19 Prema <premum@gmail.com>:
> 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..

It is a bug in apt-ftparchive - your configfile seems to be correct.
A version which hopefully fix this issue was uploaded yesterday
to experimental, so i am closing this bugreport now, but feel free
to reopen it after 0.7.26 has settled in unstable and the bug still
appears (i hope not).
In the mean time you can circumvent the problem e.g. with a FileList.


Best regards / Mit freundlichen Grüßen,


David Kalnischkies


--- End Message ---

Reply to: