public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] single package backup
Date: Tue, 24 Jun 2008 14:54:09 +0200	[thread overview]
Message-ID: <200806241454.10512.wonko@wonkology.org> (raw)
In-Reply-To: <20080624153722.2afa1b9e@ilievnet.com>

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



  reply	other threads:[~2008-06-24 12:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24 12:37 [gentoo-user] single package backup Daniel Iliev
2008-06-24 12:54 ` Alex Schuster [this message]
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] " 陈帮玉

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806241454.10512.wonko@wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox