Package: approx
Version: 3.5-1
Severity: normal

For example, I have copies of libafterstep1 package for both amd64 and
i386 in one directory:

# find /path/to/some/debs/ -name "*.deb" |grep libafterstep
/path/to/some/debs/pool/main/a/afterstep/libafterstep1_2.2.8-2_amd64.deb
/path/to/some/debs/pool/main/a/afterstep/libafterstep1_2.2.8-2_i386.deb

When I try to import this package into approx, it only looks the i386
variant, and skips the amd64 one for some reason:

# find /path/to/some/debs/ -name "*.deb" |grep libafterstep | sudo -u
approx xargs approx-import -v
# debian/dists/lenny/main/binary-i386/Packages.gz
libafterstep1_2.2.8-2_i386.deb: present
as /var/cache/approx/debian/pool/main/a/afterstep/libafterstep1_2.2.8-2_i386.deb

...and that is all. No word about the other file.

But when I specifically give it the amd64 package ONLY, then it is
imported fine:

# find /path/to/some/debs/ -name "*.deb" |grep libafterstep | grep
amd64 | sudo -u approx xargs approx-import -v
# debian/dists/lenny/main/binary-amd64/Packages.gz
libafterstep1_2.2.8-2_amd64.deb: copying
to 
/var/cache/approx/debian/pool/main/a/afterstep/libafterstep1_2.2.8-2_amd64.deb

The same effect is observed when import the whole package tree at once
(i.e. without "grep libafterstep"). Less than a half of it is actually
imported, the rest is skipped for some reason.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.28-rm

Debian Release: 5.0
  500 stable          apt-proxy.i4 

--- Package information. ---
Depends        (Version) | Installed
========================-+-============
libc6         (>= 2.7-1) | 2.7-18
libpcre3        (>= 7.7) | 7.8-2
libwrap0     (>= 7.6-4~) | 7.6.q-16
lsb-base        (>= 3.1) | 3.2-20
adduser                  | 3.110
bzip2                    | 1.0.5-1
curl                     | 7.18.2-8




-- 
With respect,
Roman



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to