Your message dated Sun, 10 Nov 2013 16:18:23 +0000
with message-id <[email protected]>
and subject line Bug#696523: fixed in apt-cacher 1.7.8
has caused the Debian Bug report #696523,
regarding apt-cacher: apt-cacher-precache.pl help is not architecture aware.
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 [email protected]
immediately.)


-- 
696523: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher
Version: 1.7.6
Severity: normal


# /usr/share/apt-cacher/apt-cacher-precache.pl --help

USAGE: /usr/share/apt-cacher/apt-cacher-precache.pl [ options ]
Options:
 -d, --dist-filter=RE  Perl regular experession, applied to the URL of Packages
                       files to select only special versions. Example:
                       'sid|unstable|experimental'
                       (default: 'testing|etch')
 -q, --quiet           suppress verbose output
 -l, --list-dir=DIR    also use pure/compressed files from the specified dir
                       (eg. /var/log/apt-cacher) to get the package names from.
                       Words before | are ignored (in apt-cacher logs). To
                       create a such list from clients, see below.
 -p, --by-priority=RE  Perl regular expression for priorities to be looked for
                       when selecting packages. Implies threating all packages
                       with this priority as installation candidates.
                       (default: scanning the cache for candidates without
                       looking at priority)

NOTE: the options may change in the future.
You can feed existing package lists or old apt-cacher logs into the selection
algorithm by using the -l option above. If the version is omited (eg. for lists
created with "dpkg --get-selections" then the packages may be redownloaded).
To avoid this, use following one-liner to fake a list with version infos:

dpkg -l | perl -ne 'if(/^(i.|.i)\s+(\S+)\s+(\S+)/) { print
"$2_$3_i386.deb\n$2_$3_all.deb\n"}'







If you take a look at this "one-liner" it artificially implants "i386" and
"all" into package names.
If run this "one-liner" on an AMD64 system, it generates the incorrect package
names for the system.

In addition to the above, it generates incorrect package names for all packages
that were installed as multi-arch.  (Ie: It fails to process
all packages that have a :i386 or :AMD64 in them.

Example:

root@BabyCats:/mnt/Backups/pkglist# dpkg -l | grep yelp
ii  libyelp0                              3.4.2-1+b1
amd64        Library for the GNOME help browser
ii  yelp                                  3.4.2-1+b1
amd64        Help browser for GNOME
ii  yelp-xsl                              3.4.2-1
all          XSL stylesheets for the yelp help browser


However, the "one-liner" in the pre-cacher help generated these files:

-rw-r--r-- 1 root root      0 Dec 23 01:52 yelp_3.4.2-1+b1_i386.deb
-rw-r--r-- 1 root root      0 Dec 23 01:52 yelp-xsl_3.4.2-1_all.deb
-rw-r--r-- 1 root root      0 Dec 23 01:52 yelp-xsl_3.4.2-1_i386.deb

Which are incorrect for the platform.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
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-cacher depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.9
ii  ed                     1.6-2
pn  libfilesys-df-perl     <none>
pn  libfreezethaw-perl     <none>
pn  libio-interface-perl   <none>
ii  libnetaddr-ip-perl     4.062+dfsg-1
pn  libsys-syscall-perl    <none>
pn  libwww-curl-perl       <none>
ii  libwww-perl            6.04-1
ii  lsb-base               4.1+Debian8
ii  perl                   5.14.2-16
ii  update-inetd           4.43

Versions of packages apt-cacher recommends:
pn  libberkeleydb-perl  <none>

Versions of packages apt-cacher suggests:
ii  libio-socket-inet6-perl  2.69-2

--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.7.8

We believe that the bug you reported is fixed in the latest version of
apt-cacher, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Hindley <[email protected]> (supplier of updated apt-cacher package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 21 Oct 2013 16:42:46 +0100
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.7.8
Distribution: unstable
Urgency: low
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Description: 
 apt-cacher - Caching proxy for Debian package and source files
Closes: 689955 691351 691942 696523 699938 708884
Changes: 
 apt-cacher (1.7.8) unstable; urgency=low
 .
   * Use sed to insert version number when building, therefore no need
     to Build-Depend on perl any more.
   * Only write body to cached file on success (200).
   * Rework handling of If-Modified request response. Client errors also
     count as EXPIRED. Delete cached files in these circumstances (closes:
     #708884).
   * return_file() never returns a retry code, so don't test for it.
   * Update debian/control file description. Integrate experimental features
     (multi-distro, Debian Bugs SOAP and HTTPS CONNECT) as established.
   * Add Ubuntu 14.04 codename 'Trusty'.
 .
 apt-cacher (1.7.7) unstable; urgency=low
 .
   * Add Ubuntu 13.10 codename 'Saucy'.
   * Update to Standards version 3.9.4 (no changes).
   * Use /proc/self/fd directly rather than rely on /dev/fd which can be
     missing (closes: #699938).
   * In precache script, make example to generate fake package list
     architecture aware by using Dpkg::Arch. Add Suggests dependency on
     libdpkg-perl (closes: #696523).
   * Remove obsolete patch from patches/.
   * Use new function cache_size() to obtain cache usage for configuration
     item disk_usage_limit. Store cache size in shared mem and recaclulate
     on a sliding scale from 0-20 seconds (closes: #689955).
   * Don't use verbose _flock() in write_error_log() as it just makes
     debug logs too full.
   * Handle missing Last-Modified header: use the Date header to
     generate the If-Modified request.
   * Add Ubuntu 13.04 codename 'raring'.
   * Add Italian debconf translation. File from Beatrice Torracca
     (closes: #691351).
   * Added Japenese debconf translation from victory
     <[email protected]> (closes: #691942).
Checksums-Sha1: 
 1a0b2a7c33c283b92a98a11557f4d9219f0fdec2 817 apt-cacher_1.7.8.dsc
 4eceb234f4728bee005616869f7c7903f3694a4b 105722 apt-cacher_1.7.8.tar.gz
 7997d529ec06c11e53a83371060bc3c5cb1a7401 105462 apt-cacher_1.7.8_all.deb
Checksums-Sha256: 
 532cf431560cb9c09e3cbf65b0b838dbf4bb4d8ac0386d0ae1f2955a60b4ae99 817 
apt-cacher_1.7.8.dsc
 be89952c72272bac3bcff16d2cb4304b7d2fa969a30cb546770f5b8cc53f647e 105722 
apt-cacher_1.7.8.tar.gz
 59efa78490a92df22005b7997e31d0125b86e4f874607c06342fbdcfec579f0b 105462 
apt-cacher_1.7.8_all.deb
Files: 
 8743b9414d5a478e9abf97d50704c6de 817 net optional apt-cacher_1.7.8.dsc
 7666c3a90b27484b3315f2c3e1ce0a83 105722 net optional apt-cacher_1.7.8.tar.gz
 b7f187ca68759469106b70e2604627dd 105462 net optional apt-cacher_1.7.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iD8DBQFSf6564QZIHu3wCMURAoNjAJoCRar0mHWX4vCqf7PjszUe/yr8KQCfdysZ
rJ0xK4Mf/Qd/LFjZJLYv5JM=
=5Ubg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to