* [gentoo-amd64] revert to the stable version of a specific package
@ 2010-02-24 22:48 Thanasis
2010-02-24 23:10 ` [gentoo-amd64] " Nikos Chantziaras
2010-02-24 23:13 ` [gentoo-amd64] " Sebastian Beßler
0 siblings, 2 replies; 6+ messages in thread
From: Thanasis @ 2010-02-24 22:48 UTC (permalink / raw
To: gentoo-amd64
I want to revert to the stable version of a specific package
(sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
ACCEPT_KEYWORDS="~amd64".
For that I have put in /etc/portage/package.keywords:
sys-fs/cryptsetup amd64
and then I run
emerge -1 =sys-fs/cryptsetup-1.0.6-r2
Is that the way I should go?
Because I tried it, but when I run
emerge -DNu world
it still wants to upgrade to sys-fs/cryptsetup-1.1.0.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-amd64] Re: revert to the stable version of a specific package
2010-02-24 22:48 [gentoo-amd64] revert to the stable version of a specific package Thanasis
@ 2010-02-24 23:10 ` Nikos Chantziaras
2010-02-25 0:18 ` Sebastian Beßler
2010-02-25 6:44 ` [gentoo-amd64] [SOLVED] " Thanasis
2010-02-24 23:13 ` [gentoo-amd64] " Sebastian Beßler
1 sibling, 2 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2010-02-24 23:10 UTC (permalink / raw
To: gentoo-amd64
On 02/25/2010 12:48 AM, Thanasis wrote:
> I want to revert to the stable version of a specific package
> (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
> ACCEPT_KEYWORDS="~amd64".
> For that I have put in /etc/portage/package.keywords:
> sys-fs/cryptsetup amd64
> and then I run
> emerge -1 =sys-fs/cryptsetup-1.0.6-r2
> Is that the way I should go?
Nope. You have to delete the "~amd64" keyword, not add the "amd64" one,
which is already being accepted by default anyway. To delete a keyword,
you use the "-" operator. To make a long explanation short:
sys-fs/cryptsetup -~amd64
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] revert to the stable version of a specific package
2010-02-24 22:48 [gentoo-amd64] revert to the stable version of a specific package Thanasis
2010-02-24 23:10 ` [gentoo-amd64] " Nikos Chantziaras
@ 2010-02-24 23:13 ` Sebastian Beßler
2010-02-25 0:58 ` [gentoo-amd64] " Nikos Chantziaras
1 sibling, 1 reply; 6+ messages in thread
From: Sebastian Beßler @ 2010-02-24 23:13 UTC (permalink / raw
To: gentoo-amd64
Am 24.02.2010 23:48, schrieb Thanasis:
> I want to revert to the stable version of a specific package
> (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
> ACCEPT_KEYWORDS="~amd64".
> For that I have put in /etc/portage/package.keywords:
> sys-fs/cryptsetup amd64
> and then I run
> emerge -1 =sys-fs/cryptsetup-1.0.6-r2
> Is that the way I should go?
> Because I tried it, but when I run
> emerge -DNu world
> it still wants to upgrade to sys-fs/cryptsetup-1.1.0.
>
It is not possible to set keyword "arch" for specific packages only
"~arch". To prevent upgrade you have to mask the never version via
/etc/portage/package.mask
echo "~sys-fs/cryptsetup-1.1.0">>/etc/portage/package.mask
should do the trick. The ~ instead of = masks minor revisions of that
version (for example sys-fs/cryptsetup-1.1.0-r1) too
Greetings
Sebastian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Re: revert to the stable version of a specific package
2010-02-24 23:10 ` [gentoo-amd64] " Nikos Chantziaras
@ 2010-02-25 0:18 ` Sebastian Beßler
2010-02-25 6:44 ` [gentoo-amd64] [SOLVED] " Thanasis
1 sibling, 0 replies; 6+ messages in thread
From: Sebastian Beßler @ 2010-02-25 0:18 UTC (permalink / raw
To: gentoo-amd64
Am 25.02.2010 00:10, schrieb Nikos Chantziaras:
> Nope. You have to delete the "~amd64" keyword, not add the "amd64" one,
> which is already being accepted by default anyway. To delete a keyword,
> you use the "-" operator. To make a long explanation short:
>
> sys-fs/cryptsetup -~amd64
Cool.. That really works. Nice feature.
Thanks for that info.
Greetings
Sebastian
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-amd64] Re: revert to the stable version of a specific package
2010-02-24 23:13 ` [gentoo-amd64] " Sebastian Beßler
@ 2010-02-25 0:58 ` Nikos Chantziaras
0 siblings, 0 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2010-02-25 0:58 UTC (permalink / raw
To: gentoo-amd64
On 02/25/2010 01:13 AM, Sebastian Beßler wrote:
> Am 24.02.2010 23:48, schrieb Thanasis:
>> I want to revert to the stable version of a specific package
>> (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
>> ACCEPT_KEYWORDS="~amd64".
>> For that I have put in /etc/portage/package.keywords:
>> sys-fs/cryptsetup amd64
>> and then I run
>> emerge -1 =sys-fs/cryptsetup-1.0.6-r2
>> Is that the way I should go?
>> Because I tried it, but when I run
>> emerge -DNu world
>> it still wants to upgrade to sys-fs/cryptsetup-1.1.0.
>>
>
> It is not possible to set keyword "arch" for specific packages only
> "~arch". To prevent upgrade you have to mask the never version via
> /etc/portage/package.mask
>
> echo "~sys-fs/cryptsetup-1.1.0">>/etc/portage/package.mask
> should do the trick. The ~ instead of = masks minor revisions of that
> version (for example sys-fs/cryptsetup-1.1.0-r1) too
It is possible and I posted how to do it ;) You can unset keywords just
like you can unset USE flags.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-amd64] [SOLVED] revert to the stable version of a specific package
2010-02-24 23:10 ` [gentoo-amd64] " Nikos Chantziaras
2010-02-25 0:18 ` Sebastian Beßler
@ 2010-02-25 6:44 ` Thanasis
1 sibling, 0 replies; 6+ messages in thread
From: Thanasis @ 2010-02-25 6:44 UTC (permalink / raw
To: gentoo-amd64; +Cc: Nikos Chantziaras
on 02/25/2010 01:10 AM Nikos Chantziaras wrote the following:
> sys-fs/cryptsetup -~amd64
It worked. Thanks ! :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-25 7:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 22:48 [gentoo-amd64] revert to the stable version of a specific package Thanasis
2010-02-24 23:10 ` [gentoo-amd64] " Nikos Chantziaras
2010-02-25 0:18 ` Sebastian Beßler
2010-02-25 6:44 ` [gentoo-amd64] [SOLVED] " Thanasis
2010-02-24 23:13 ` [gentoo-amd64] " Sebastian Beßler
2010-02-25 0:58 ` [gentoo-amd64] " Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox