#16187: Show (all) installed versions of optional/experimental packages in sage-
list-packages
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: defect | Status: positive_review
Priority: major | Milestone: sage-6.2
Component: build | Resolution:
Keywords: --optional | Merged in:
--experimental SAGE_SERVER | Reviewers: Leif Leonhardy
Authors: Volker Braun | Work issues:
Report Upstream: N/A | Commit:
Branch: | 49b8b4ced71fd942193f22281255aeefdb7b0eb3
u/leif/ticket/16187 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by leif):
Minor issue:
In case one has multiple versions of an spkg "installed", the version
shown is rather random (but still ''one'' of those listed in
`$SAGE_ROOT/local/var/lib/sage/installed/`).
AFAIK we never delete files there, unless the installation of a ''specific
version'' failed, so older or previously installed versions "accumulate".
(''Moments later:'') ... Oh, that's quite new (in `sage-spkg`):
{{{
#!sh
##################################################################
# Remove install markers for any other versions of this spkg.
##################################################################
rm -f "$SAGE_SPKG_INST/$PKG_BASE-"*
}}}
(I tested by ''faking'' the installation of other versions of some
packages, so at least `sage-list-packages` doesn't bail out if
`.../installed/` got messed up. And the above doesn't work for packages
without a [proper] version, i.e., lacking the dash.)
--
Ticket URL: <http://trac.sagemath.org/ticket/16187#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.