Jeroen Demeyer <jdeme...@cage.ugent.be> writes:
>> Until SPKGs are possible to uninstall or
>> downgrade effectively, that is impractical.
> Not really.  For Sage purposes, downgrading a spkg is exactly the same
> as upgrading a spkg.  It's not like we sort package versions or
> anything, we only check for equality.

No - when you install an older version of a package on top of a newer
version, the older version does not know about the newer version it is
overwriting. This may lead to messes being left on the filesystem. When
upgrading, the installer can predict and compensate for these messes
since the newer version was created after the older version. But unless
someone invents time travel, the same is not true for downgrading.

Basically for clean package management we need to support tracking of
installed files, and uninstallation methods. This is something lmonade
does already, by the way.

But as you said, this is not really the purpose of this thread :)

-Keshav

----
Join us in #sagemath on irc.freenode.net !

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to