On Tue, 24 Jun 2008 14:54:09 +0200
Alex Schuster <[EMAIL PROTECTED]> wrote:

> Daniel Iliev asks:
> 
> > Let's say there's a new version of a given package. I'd like to
> > make a backup, update, test and if I liked the old version better
> > restore.
> >
> > What is (is there?) the "Gentoo way" to do that?
> 
> Let's assume you upgrade from package/foo-1.0 to package/foo-1.1. You
> can then use quickpkg to create a backup of foo-1.0, upgrade with
> emerge -ua foo, and test it. If you are not satisfied, mask the
> updated version in /etc/portage/package.mask, and emerge -uak foo
> again in order to downgrade. -k tells emerge to use the binary
> package built with quickpkg instead of re-compiling.
> 
> quickpkg foo (or quickpkg package/foo-1.0)
> emerge -ua foo
> echo ">=package/foo-1.1" >> /etc/portage/package.mask
> emerge -uak foo
> 
> I'm not really sure what happens with config files, though.
> 
>       Wonko


Thank you!

quickpkg is exactly what I was looking for.

-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to