Your message dated Thu, 20 Apr 2006 03:17:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#349585: fixed in apt-file 2.0.8
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt-file
Version: 2.0.6
Severity: important
Justification: This makes the software difficult to use, possibly even
 more so than lynx ftp.debian.org ... Contents.gz, and because p.d.o
 is broken, and apt-file is a recommended alternative.  

I expect to be able to 'sudo apt-file update', no matter what the
state of the existing Contents files is, and have new contents files
downloaded to whatever directory you decide should hold them.  I
expect that when the download(s) (is|are) complete, that the new files
will be atomically rename()d such that they are used by
'apt-file search', so that 'apt-file search' doesn't fail with strange
warning during the update.

[EMAIL PROTECTED]:~$ time sudo apt-file update
cp: cannot stat 
`//var/cache/apt-build/repository/dists/apt-build/Contents-i386.gz': No such 
file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

real    0m1.755s
        ^^^^^^^^

user    0m0.130s
sys     0m0.044s

I don't know why it is looking at /var/cache/apt-build/ at all, or why
there is the string "//".  Of course the big problem is that it didn't
update the Contents files.

[EMAIL PROTECTED]:~$ find /var/cache/apt-build/
/var/cache/apt-build/
/var/cache/apt-build/build
/var/cache/apt-build/repository
/var/cache/apt-build/repository/stable
/var/cache/apt-build/repository/dists
/var/cache/apt-build/repository/apt-build
/var/cache/apt-build/repository/main
/var/cache/apt-build/repository/binary-i386
/var/cache/apt-build/repository/Release
/var/cache/apt-build/repository/Packages.gz

But if I move the old files out of the way, it works.

[EMAIL PROTECTED]:~$ sudo mkdir /var/cache/apt-file
[EMAIL PROTECTED]:~$ sudo mv  /var/cache/apt/*Contents* /var/cache/apt-file/

[EMAIL PROTECTED]:~$ time sudo apt-file update
cp: cannot stat
`//var/cache/apt-build/repository/dists/apt-build/Contents-i386.gz':
No such file or directory
Warning: Illegal date format for -z/--timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date
syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8021k  100 8021k    0     0   522k      0  0:00:15  0:00:15
--:--:--  532k
Warning: Illegal date format for -z/--timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date
syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 9823k  100 9823k    0     0  34132      0  0:04:54  0:04:54
--:--:-- 34269
Warning: Illegal date format for -z/--timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date
syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8778k  100 8778k    0     0   512k      0  0:00:17  0:00:17
--:--:--  517k

real    5m28.322s
        ^^^^^^^^^

user    0m0.241s
sys     0m0.428s

[EMAIL PROTECTED]:~$ time sudo apt-file update
cp: cannot stat
`//var/cache/apt-build/repository/dists/apt-build/Contents-i386.gz':
No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--     0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--     0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  % Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--     0

real    0m1.674s
        ^^^^^^^^
user    0m0.123s
sys     0m0.051s

So, apt-file update breaks future apt-file updates, which is totally
broken.


--- End Message ---
--- Begin Message ---
Source: apt-file
Source-Version: 2.0.8

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

apt-file_2.0.8.dsc
  to pool/main/a/apt-file/apt-file_2.0.8.dsc
apt-file_2.0.8.tar.gz
  to pool/main/a/apt-file/apt-file_2.0.8.tar.gz
apt-file_2.0.8_all.deb
  to pool/main/a/apt-file/apt-file_2.0.8_all.deb



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.
Sebastien J. Gross <[EMAIL PROTECTED]> (supplier of updated apt-file 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.7
Date: Thu, 20 Apr 2006 12:13:45 +0200
Source: apt-file
Binary: apt-file
Architecture: source all
Version: 2.0.8
Distribution: unstable
Urgency: low
Maintainer: Sebastien J. Gross <[EMAIL PROTECTED]>
Changed-By: Sebastien J. Gross <[EMAIL PROTECTED]>
Description: 
 apt-file   - APT package searching utility -- command-line interface
Closes: 319867 349585 362031 363670
Changes: 
 apt-file (2.0.8) unstable; urgency=low
 .
   * Allow curl to redirect (Closes: #363670)
   * Download to temp file when using curl (Closes: #349585)
   * Remove cache when package purge (Closes: #362031)
   * Close old bugs (Closes: #319867)
Files: 
 d9b607bdd3255b996b452c41ef675224 501 base optional apt-file_2.0.8.dsc
 a15f27c23bfe936d7aab42219ea37cf3 16481 base optional apt-file_2.0.8.tar.gz
 7dbab9d2fabd0df47e6c70a4425a9eb7 12084 base optional apt-file_2.0.8_all.deb

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

iD8DBQFER183KiWEIVO7pJARAnYdAKDfHtgRDKj7Iz6mIdCDpYsV/caD1QCeOp1R
tUtzKAsR7Urpc8OtcFKP89k=
=AfR9
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to