Gentoo Archives: gentoo-amd64

From: "Sebastian Beßler" <sebastian@××××××××××××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] revert to the stable version of a specific package
Date: Thu, 25 Feb 2010 00:04:12
Message-Id: 4B85B2A4.3090408@darkmetatron.de
In Reply to: [gentoo-amd64] revert to the stable version of a specific package by Thanasis
1 Am 24.02.2010 23:48, schrieb Thanasis:
2 > I want to revert to the stable version of a specific package
3 > (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
4 > ACCEPT_KEYWORDS="~amd64".
5 > For that I have put in /etc/portage/package.keywords:
6 > sys-fs/cryptsetup amd64
7 > and then I run
8 > emerge -1 =sys-fs/cryptsetup-1.0.6-r2
9 > Is that the way I should go?
10 > Because I tried it, but when I run
11 > emerge -DNu world
12 > it still wants to upgrade to sys-fs/cryptsetup-1.1.0.
13 >
14
15 It is not possible to set keyword "arch" for specific packages only
16 "~arch". To prevent upgrade you have to mask the never version via
17 /etc/portage/package.mask
18
19 echo "~sys-fs/cryptsetup-1.1.0">>/etc/portage/package.mask
20 should do the trick. The ~ instead of = masks minor revisions of that
21 version (for example sys-fs/cryptsetup-1.1.0-r1) too
22
23 Greetings
24
25 Sebastian

Replies

Subject Author
[gentoo-amd64] Re: revert to the stable version of a specific package Nikos Chantziaras <realnc@×××××.de>