Gentoo Archives: gentoo-user

From: Silvio Siefke <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Upgrade only to bigger Version
Date: Sat, 27 Jul 2013 00:57:12
Message-Id: 20130727025822.e8ccf101b8df444f389f0d4a@web.de
In Reply to: Re: [gentoo-user] Upgrade only to bigger Version by Alan McKinnon
1 Hello,
2
3 On Sat, 27 Jul 2013 00:48:33 +0200 Alan McKinnon
4 <alan.mckinnon@×××××.com> wrote:
5
6 > in /var/db/pkg you will find a copy of the ebuild for the current
7 > *installed* version - 4.1.0.2.
8 > Copy that to a local overlay and mask all versions smaller and greater
9 > than that in package.mask.
10 > Portage will then keep the current version but you MUST keep a copy of
11 > the ebuild somewhere else
12 > When you someday want to upgrade libreoffice, undo the maskings.
13
14 I have write the follow package.mask
15
16 gentoomobile ~ # cat /etc/portage/package.mask
17 >app-office/libreoffice-4.1.0.3
18 >app-office/libreoffice-l10n-4.1.0.3
19 <app-office/libreoffice-4.1.0.2
20 <app-office/libreoffice-l10n-4.1.0.2
21
22 Now portage want nothing upgrade. Happy Gentoo User :)
23
24
25 Thank for help and nice weekend.
26 Silvio