1 |
On 11/27/2020 04:26 AM, Michael wrote: |
2 |
> On Friday, 27 November 2020 07:24:57 GMT thelma@×××××××××××.com wrote: |
3 |
>> I need to install old: php-5.6.33 on my new system. One program I have |
4 |
>> depends on it. Is it possible and what is the easiest way to go about it? |
5 |
>> |
6 |
>> I have the "php-5.6.33.ebuild" (and all other files) on my old system in |
7 |
>> dir: |
8 |
>> /var/db/pkg/dev-lang/php-5.6.33 |
9 |
>> |
10 |
>> Is it possible to copy it to my: /usr/local/portage/dev-lang/ |
11 |
>> and build it on my new system? |
12 |
> |
13 |
> There's two ways to go about it. Since the MoBo is the same, I would run |
14 |
> quickpkg then copy it over and emerge it on the new disk. |
15 |
> |
16 |
> Alternatively, copy over the ebuild and any associated files, then copy over |
17 |
> the source from distfiles and emerge it as you would normally emerge a |
18 |
> package. |
19 |
> |
20 |
> However, dependencies ... |
21 |
> |
22 |
> There are build time and run time dependencies. The emerge will fail if build |
23 |
> time dependencies are no longer available on the current portage tree and/or |
24 |
> fail to run if run time dependencies are missing. In this case you'll have to |
25 |
> fish these ebuilds out of the attic and try again. Some packages will create |
26 |
> conflicts with the currently installed versions, which may become impossible |
27 |
> to resolve. Which is why I originally suggested cloning an already working |
28 |
> system with all its packages, rather than reinstalling. |
29 |
> |
30 |
> Either way, give quickpkg a spin and see where that gets you. |
31 |
|
32 |
I'll try as you suggested, the mother board is different, it is a new |
33 |
computer similar CPU AMD-8core. I've tried duplicating it with Gparted, |
34 |
didn't work. |
35 |
The disk are different as well. |
36 |
Old one is old WD spinning disk (about 10-years old) |
37 |
New one is M.2 SSD |
38 |
|
39 |
Old system is: emerge --info |
40 |
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, |
41 |
gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) |
42 |
|
43 |
New one: emerge --info |
44 |
Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, |
45 |
gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo-x86_64 x86_64) |
46 |
|
47 |
So I'm not sure if duplicating the drive would work, maybe I'm going the |
48 |
wrong way about it. It would be nice if gentoo have an easier way of |
49 |
doing it, it would stand out from other distros. I've tried Debian |
50 |
(stable) it didn't work, and I know I have more flexibility with Gentoo. |
51 |
|
52 |
Thelma |