Hello

Am Freitag, 6. Oktober 2006 16:20 schrieb [EMAIL PROTECTED]:
> 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?

First of all, the problem with the ~ key has been solved. I thought your 
fix made gc_approx recognize %7e as ~ in the cached packages' names. 
Instead, it now saves the packages with the decoded name. After 
renaming my old packages from %7e to ~ gc_approx does not try to remove 
them anymore.

>> 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.

This turned out to be a checksum problem. gc_approx -k -v says:

! 
/var/cache/approx/multimedia/pool/main/a/anyevent/anyevent-perl_1.02-0.2_all.deb
! 
/var/cache/approx/multimedia/pool/main/d/divx4linux/libdivxdecore0_5.0.1-1_i386.deb
! 
/var/cache/approx/multimedia/pool/main/d/divx4linux/libdivxencore0_5.0.1-1_i386.deb
! 
/var/cache/approx/multimedia/pool/main/m/mplayer-blue/mplayer-skin-blue_1.5-0.5_all.deb
! 
/var/cache/approx/multimedia/pool/main/libf/libfame/libfame-0.9_0.9.1-0.2_i386.deb
! 
/var/cache/approx/multimedia/pool/main/libd/libdvdcss/libdvdcss2_1.2.9-0.0_i386.deb
! /var/cache/approx/multimedia/pool/main/a/acroread/acroread_7.0.8-0.0_i386.deb
! 
/var/cache/approx/multimedia/pool/main/g/gtk2-ex-formfactory/gtk2-ex-formfactory-perl_0.65-0.0_all.deb
! 
/var/cache/approx/multimedia/pool/main/e/event-execflow/libevent-execflow-perl_0.62-0.1_all.deb
! 
/var/cache/approx/multimedia/pool/main/x/xvidcore/libxvidcore4_1.1.0-final-0.1_i386.deb
! 
/var/cache/approx/multimedia/pool/main/w/w32codecs/w32codecs_20060611-0.0_i386.deb

Adding the -f option makes gc_approx keep the package. I found out that 
the md5sum and sha1sum of the package match that in the Packages.bz2 
file, but the sha256sum is actually different.

Running the checksum programs on my machine results in:

ae435c503465b91c7eadc19b234370b6
9081951967a54c91315a5ba29337597bb6b2f8af  
a16e38d82dc830769b89e1f7e213f65e0214fd064bf42350f184205ab0afbc85  

The Packages file however says:

MD5sum: ae435c503465b91c7eadc19b234370b6
SHA1: 9081951967a54c91315a5ba29337597bb6b2f8af
SHA256: 2b32376a31b621266012b90910927eca18a701b76150e700289f7856b8d8bd3b

Looks like a problem with the Packages file to me.

regards
        Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html

Attachment: pgpZcBGrSO83k.pgp
Description: PGP signature

Reply via email to