* [gentoo-user] single package backup
@ 2008-06-24 12:37 Daniel Iliev
2008-06-24 12:54 ` Alex Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Iliev @ 2008-06-24 12:37 UTC (permalink / raw
To: gentoo-user
Hi,
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?
--
Best regards,
Daniel
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] single package backup
2008-06-24 12:37 [gentoo-user] single package backup Daniel Iliev
@ 2008-06-24 12:54 ` Alex Schuster
2008-06-24 13:32 ` [gentoo-user] [SOLVED] " Daniel Iliev
2008-06-24 13:56 ` [gentoo-user] " 陈帮玉
0 siblings, 2 replies; 7+ messages in thread
From: Alex Schuster @ 2008-06-24 12:54 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] single package backup
2008-06-24 12:54 ` Alex Schuster
@ 2008-06-24 13:32 ` Daniel Iliev
2008-06-24 15:23 ` Neil Bothwick
2008-06-24 13:56 ` [gentoo-user] " 陈帮玉
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Iliev @ 2008-06-24 13:32 UTC (permalink / raw
To: gentoo-user
On Tue, 24 Jun 2008 14:54:09 +0200
Alex Schuster <wonko@wonkology.org> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] single package backup
2008-06-24 13:32 ` [gentoo-user] [SOLVED] " Daniel Iliev
@ 2008-06-24 15:23 ` Neil Bothwick
2008-06-24 16:19 ` Alex Schuster
2008-06-24 17:31 ` Daniel Iliev
0 siblings, 2 replies; 7+ messages in thread
From: Neil Bothwick @ 2008-06-24 15:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
On Tue, 24 Jun 2008 16:32:57 +0300, Daniel Iliev wrote:
> quickpkg is exactly what I was looking for.
You can also add buildpkg to FEATURES, then portage will create a binary
package for every package you install. It can use a fair amount of disk
space, but it means you can always roll back from a broken version, even
if you managed to break portage.
--
Neil Bothwick
Custer was fitted for an Arrow shirt.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] single package backup
2008-06-24 15:23 ` Neil Bothwick
@ 2008-06-24 16:19 ` Alex Schuster
2008-06-24 17:31 ` Daniel Iliev
1 sibling, 0 replies; 7+ messages in thread
From: Alex Schuster @ 2008-06-24 16:19 UTC (permalink / raw
To: gentoo-user
Neil Bothwick writes:
> You can also add buildpkg to FEATURES, then portage will create a binary
> package for every package you install. It can use a fair amount of disk
> space, but it means you can always roll back from a broken version, even
> if you managed to break portage.
And there's also buildsyspkg which does the same, but for system packages
only.
Wonko
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] single package backup
2008-06-24 15:23 ` Neil Bothwick
2008-06-24 16:19 ` Alex Schuster
@ 2008-06-24 17:31 ` Daniel Iliev
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Iliev @ 2008-06-24 17:31 UTC (permalink / raw
To: gentoo-user
On Tue, 24 Jun 2008 16:23:45 +0100
Neil Bothwick <neil@digimed.co.uk> wrote:
> On Tue, 24 Jun 2008 16:32:57 +0300, Daniel Iliev wrote:
>
> > quickpkg is exactly what I was looking for.
>
> You can also add buildpkg to FEATURES, then portage will create a
> binary package for every package you install. It can use a fair
> amount of disk space, but it means you can always roll back from a
> broken version, even if you managed to break portage.
>
>
Yep, that feature is great and I use it to distribute binary packages
over several x86 systems but in this case I wanted to try something on
my only amd64 installation where buildpkg is not enabled.
So, the quickpkg solution was perfect for this "post factum" situation.
--
Best regards,
Daniel
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] single package backup
2008-06-24 12:54 ` Alex Schuster
2008-06-24 13:32 ` [gentoo-user] [SOLVED] " Daniel Iliev
@ 2008-06-24 13:56 ` 陈帮玉
1 sibling, 0 replies; 7+ messages in thread
From: 陈帮玉 @ 2008-06-24 13:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
Thanks Alex, this is also useful to me. I'm fresh here.
On Tue, Jun 24, 2008 at 8:54 PM, Alex Schuster <wonko@wonkology.org> 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
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 1527 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-06-24 17:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 12:37 [gentoo-user] single package backup Daniel Iliev
2008-06-24 12:54 ` Alex Schuster
2008-06-24 13:32 ` [gentoo-user] [SOLVED] " Daniel Iliev
2008-06-24 15:23 ` Neil Bothwick
2008-06-24 16:19 ` Alex Schuster
2008-06-24 17:31 ` Daniel Iliev
2008-06-24 13:56 ` [gentoo-user] " 陈帮玉
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox