Comment 5 for bug 2502

Revision history for this message
Chris Moore (dooglus) wrote :

I saw your new version. It works, but is a big messy when using FTP:

------
chris@chrislap:~$ sudo apt-file update
Password:
Logging in as anonymous ... Logged in!

    0K 12.24 MB/s

12:23:35 (12.24 MB/s) - `/var/cache/apt/.listing' saved [398]

Removed `/var/cache/apt/.listing'.
No such file `Contents-i386.gz'.

Logging in as anonymous ... Logged in!

    0K 524.22 KB/s

12:23:37 (524.22 KB/s) - `/var/cache/apt/.listing' saved [773]

Removed `/var/cache/apt/.listing'.
Remote file no newer than local file `/var/cache/apt/Contents-i386.gz' -- not retrieving.
chris@chrislap:~$
------

If you use the apt-file.conf which I attached last night you'll not see those extra lines. I basically just edited the 'grep -v' arguments to cater for the slightly different output when wget is doing FTP access rather than HTTP access.