1 |
Thanks Alex, this is also useful to me. I'm fresh here. |
2 |
|
3 |
On Tue, Jun 24, 2008 at 8:54 PM, Alex Schuster <wonko@×××××××××.org> wrote: |
4 |
|
5 |
> Daniel Iliev asks: |
6 |
> |
7 |
> > Let's say there's a new version of a given package. I'd like to make a |
8 |
> > backup, update, test and if I liked the old version better restore. |
9 |
> > |
10 |
> > What is (is there?) the "Gentoo way" to do that? |
11 |
> |
12 |
> Let's assume you upgrade from package/foo-1.0 to package/foo-1.1. You can |
13 |
> then use quickpkg to create a backup of foo-1.0, upgrade with emerge -ua |
14 |
> foo, and test it. If you are not satisfied, mask the updated version |
15 |
> in /etc/portage/package.mask, and emerge -uak foo again in order to |
16 |
> downgrade. -k tells emerge to use the binary package built with quickpkg |
17 |
> instead of re-compiling. |
18 |
> |
19 |
> quickpkg foo (or quickpkg package/foo-1.0) |
20 |
> emerge -ua foo |
21 |
> echo ">=package/foo-1.1" >> /etc/portage/package.mask |
22 |
> emerge -uak foo |
23 |
> |
24 |
> I'm not really sure what happens with config files, though. |
25 |
> |
26 |
> Wonko |
27 |
> -- |
28 |
> gentoo-user@l.g.o mailing list |
29 |
> |
30 |
> |