On Fri, 6 Jan 2006 12:57:07 +0530, Abhay Kedia wrote:

> > version _after_ the new version has been merged into place.  One
> > possible solution would be to have a special feature that, when
> > enabled, allows portage to automatically unmerge an old version
> > _before_ the new one is installed (with protection against unmerging
> > system packages of course).
> >
> That is no solution AT ALL!!! What if portage unmerges the package and
> while compiling the new package it gets into an error? You are left
> with no installed packages.

Portage could remove the old package after compilation

ebuild package-new.ebuild compile
ebuild package-old.ebuild unmerge
ebuild package-new.ebuild install

This would reduce the chances of something bad happening, but not remove
it altogether. So it would have to package up the old files first and
re-install them if the new install failed, more than a little messy IMO.


-- 
Neil Bothwick

Borg -- James Borg -- licensed to assimilate.

Attachment: signature.asc
Description: PGP signature

Reply via email to