On Mon, Dec 04, 2017 at 03:58:03PM +0100, Erik Bray wrote:
> On Mon, Dec 4, 2017 at 3:47 PM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> > On 2017-12-04 15:37, Thierry wrote:
> >>
> >> No, we have to be able to remove all the old stuff from the package.
> >
> >
> > You said "rebuilds the package and its dependencies" but you really mean
> > "uninstalls the package and its dependencies" (possibly followed by a
> > rebuild which is just a normal build at that point)?
> >
> > As Erik said, uninstalling is currently not supported but we have a fix
> > coming for that. But I'm a bit puzzled why you would want to uninstall a
> > package *and its dependencies*.
> 
> That could be useful in some very limited cases involving optional
> packages that depend on other optional packages.  Some distros for
> example will offer to uninstall packages that were only installed as
> dependencies of a package that has since been uninstalled.  But for
> Sage's case I agree it's a niche use-case and not one I'm concerned
> about...
> 
> Maybe Thierry meant "a package and its dependents"?  That would make
> more sense.  There's currently no functionality to do that either, and
> it *might* be useful for some incremental re-build cases.

What i have in mind is openssl (that i try to keep up-to-date at each rc
release). If openssl package is installed, you have to recompile python2
whose compilation depends on the existence of openssl. So, if you remove
openssl after pushing the ticket, you have to recompile python 2 so that
is relies on the system's openssl. I am not sure about the vocabulary,
perhaps python is a "dependent" of openssl spkg, not a "dependency", or
perhaps it is a "dependency" of some virtual openssl package that will be
the poset "nothing-available < system-openssl < openssl-spkg", IANAL ("i
am not a linguist" ;).

Ciao,
Thierry


> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to