On Fri, Oct 06, 2006 at 02:23:40PM +0200, Andreas Janssen wrote:
> I installed approx 2.7.0 from unstable today. gc_approx is still not 
> working properly. Instead of just trying to remove packages with ~ in 
> the version, it now tries to remove other files as well.

Is it still removing files with '~' also, or is this a different problem?

> One of the files it tries to remove is:
> 
> /var/cache/approx/multimedia/pool/main/m/mplayer-blue/mplayer-skin-blue_1.5-0.5_all.deb
> 
> The Packages.bz2 file in my approx cache says:
> 
> Filename: pool/main/m/mplayer-blue/mplayer-skin-blue_1.5-0.5_all.deb
> 
> apt-cache policy mplayer-skin-blue says:
> 
> mplayer-skin-blue:
>   Installed: 1.5-0.5
>   Candidate: 1.5-0.5
>   Version table:
>  *** 1.5-0.5 0
>        1001 http://sirius etch/main Packages
>         100 /var/lib/dpkg/status

Strange -- I have the same file in my cache, and it's not being
flagged for removal.

> Additionally, gc_approx also tries to remove some Packages files, 
> although they are still available on the server:
> 
> /var/cache/approx/security/dists/etch/updates/non-free/binary-i386/Packages.bz2
> /var/cache/approx/security/dists/etch/updates/main/binary-i386/Packages.bz2
> /var/cache/approx/security/dists/etch/updates/contrib/binary-i386/Packages.bz2
> 
> Currently no packages from this source are in the cache, is this the 
> reason? approx should still keep the Packages files.

The only reason that I can think of for removing Packages files is if
there is a newer variant, like a Packages.gz, in the same directory.
Can you check if that's the case?

If the files haven't been removed yet, could you run
   gc_approx -k -v
and send me the output?  The -v will give some indication of
why it's being removed (checksum mismatch, etc.)
Also, you might want to remove the /etc/cron.weekly/approx job, if you
can spare the disk space for a while.

> Please reopen this bug.

I think it's a different problem, so I've moved this to a new bug #
for now.

Thanks for testing approx, and sorry for the inconvenience.

-- 
Eric Cooper             e c c @ c m u . e d u


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to