On Tue, Mar 14, 2006 at 11:56:58AM +0200, Lars Wirzenius wrote:
> ti, 2006-03-14 kello 04:53 -0500, Alexandre Fayolle kirjoitti:
> > Could you send me the piuparts log file, please, this would be helpful
> > (you can use bzip2 to reduce the size).
> 
> Attached.


Thanks for the quick answer. I'm looking into the problem right now, and
have to admit I'm a bit surprised. I added in 0.13.1-4 some code in the
preinst script to handle the issue which should work correctly I think:

if [[ "$1" = "upgrade" ]] ;
then 
    if dpkg --compare-versions "$2" lt 0.13.1-4 ;
    then
        rm -f /usr/lib/python2.?/site-packages/logilab/__init__.py* ;
        for d in /usr/lib/python2.?/site-packages/logilab ;
        do
            rmdir $d && true ;
        done ;
    fi ;
fi

My understanding is that when upgrading from a version earlier than
0.13.1-4, the cleanup in the various python-specific directories should
be performed. This is somehow not executed as I would expect. I shall
dig a bit further into the problem, but any ideas you may have on the
issue are welcome. 


-- 
Alexandre Fayolle                              LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Retrait du projet de loi DADVSI: http://eucd.info/petitions/index.php?petition=2

Attachment: signature.asc
Description: Digital signature

Reply via email to