Gentoo Archives: gentoo-user

From: Matti Nykyri <matti.nykyri@×××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] question about binhost's
Date: Mon, 17 Nov 2014 21:58:29
Message-Id: 7636B0FF-762E-470B-AD40-5C553FDA886F@iki.fi
In Reply to: Re: [gentoo-user] question about binhost's by Alan McKinnon
1 > On Nov 17, 2014, at 23:46, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 >
3 >> On 17/11/2014 23:32, thegeezer wrote:
4 >>> On 17/11/14 21:01, Michael Mair-Keimberger wrote:
5 >>> Hi list,
6 >>>
7 >>> I was setting up an binhost recently and i couldn't found any
8 >>> information how to keep old builds.
9 >>> Usually, for example a newer version of tcpdump gets build, the old
10 >>> build will be deleted. Only different slots were keeped. However, I
11 >>> want to keep these old builds but I haven't found an option for that.
12 >>>
13 >>> Is it even possible to keep these? If not, anyone know why? if it's not
14 >>> possible there must be a reason and i couldn't think of anyone...
15 >>
16 >> um, these _are_ kept until you run
17 >> # eclean packages
18 >> unless i'm missing something ?
19 >
20 >
21 > No, you're not missing something. The OP seems to be non-English-first-
22 > language and the question is poorly worded to a native speaker.
23 >
24 > He's saying that emerge overwrites the previous installed version when
25 > it rebuilds a package and he wants to keep it. The solution to that is
26 > binpkgs.
27 >
28 > You are talking about what happens to binpkg you already have, he is
29 > asking how to get binpkgs in the first place
30
31 You also have a tool called 'quickpkg'. With that you can make binpkgs out of packages already installed on your system without recompiling. This might be a good tool for you if you have not made them in the first place.
32
33 >>
34 >> so you can still emerge -K old-apps/package
35 >>
36 >> for an example, in my /usr/portage/packages/app-shells on my laptop i have
37 >> # ls -lah
38 >> total 6.8M
39 >> drwx------ 2 root root 4.0K Oct 14 21:02 .
40 >> drwx------ 76 root root 4.0K Nov 17 10:51 ..
41 >> -rw------- 1 root root 1.2M Sep 5 10:43 bash-4.2_p45.tbz2
42 >> -rw-r--r-- 1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2
43 >> -rw-r--r-- 1 root root 1.2M Oct 1 14:33 bash-4.2_p50.tbz2
44 >> -rw-r--r-- 1 root root 1.2M Oct 2 22:22 bash-4.2_p51.tbz2
45 >> -rw-r--r-- 1 root root 1.2M Oct 6 10:09 bash-4.2_p52.tbz2
46 >> -rw-r--r-- 1 root root 1.2M Oct 9 23:50 bash-4.2_p53.tbz2
47 >> -rw-r--r-- 1 root root 8.4K Oct 14 21:02 push-1.6.tbz2
48
49 --
50 -Matti