* [gentoo-user] php-5.6.33 @ 2020-11-27 7:24 thelma 2020-11-27 11:26 ` Michael 0 siblings, 1 reply; 5+ messages in thread From: thelma @ 2020-11-27 7:24 UTC (permalink / raw To: Gentoo mailing list I need to install old: php-5.6.33 on my new system. One program I have depends on it. Is it possible and what is the easiest way to go about it? I have the "php-5.6.33.ebuild" (and all other files) on my old system in dir: /var/db/pkg/dev-lang/php-5.6.33 Is it possible to copy it to my: /usr/local/portage/dev-lang/ and build it on my new system? -- Thelma ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] php-5.6.33 2020-11-27 7:24 [gentoo-user] php-5.6.33 thelma @ 2020-11-27 11:26 ` Michael 2020-11-27 15:03 ` thelma 2020-11-27 15:17 ` thelma 0 siblings, 2 replies; 5+ messages in thread From: Michael @ 2020-11-27 11:26 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1353 bytes --] On Friday, 27 November 2020 07:24:57 GMT thelma@sys-concept.com wrote: > I need to install old: php-5.6.33 on my new system. One program I have > depends on it. Is it possible and what is the easiest way to go about it? > > I have the "php-5.6.33.ebuild" (and all other files) on my old system in > dir: > /var/db/pkg/dev-lang/php-5.6.33 > > Is it possible to copy it to my: /usr/local/portage/dev-lang/ > and build it on my new system? There's two ways to go about it. Since the MoBo is the same, I would run quickpkg then copy it over and emerge it on the new disk. Alternatively, copy over the ebuild and any associated files, then copy over the source from distfiles and emerge it as you would normally emerge a package. However, dependencies ... There are build time and run time dependencies. The emerge will fail if build time dependencies are no longer available on the current portage tree and/or fail to run if run time dependencies are missing. In this case you'll have to fish these ebuilds out of the attic and try again. Some packages will create conflicts with the currently installed versions, which may become impossible to resolve. Which is why I originally suggested cloning an already working system with all its packages, rather than reinstalling. Either way, give quickpkg a spin and see where that gets you. [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] php-5.6.33 2020-11-27 11:26 ` Michael @ 2020-11-27 15:03 ` thelma 2020-11-27 15:17 ` thelma 1 sibling, 0 replies; 5+ messages in thread From: thelma @ 2020-11-27 15:03 UTC (permalink / raw To: gentoo-user, Michael On 11/27/2020 04:26 AM, Michael wrote: > On Friday, 27 November 2020 07:24:57 GMT thelma@sys-concept.com wrote: >> I need to install old: php-5.6.33 on my new system. One program I have >> depends on it. Is it possible and what is the easiest way to go about it? >> >> I have the "php-5.6.33.ebuild" (and all other files) on my old system in >> dir: >> /var/db/pkg/dev-lang/php-5.6.33 >> >> Is it possible to copy it to my: /usr/local/portage/dev-lang/ >> and build it on my new system? > > There's two ways to go about it. Since the MoBo is the same, I would run > quickpkg then copy it over and emerge it on the new disk. > > Alternatively, copy over the ebuild and any associated files, then copy over > the source from distfiles and emerge it as you would normally emerge a > package. > > However, dependencies ... > > There are build time and run time dependencies. The emerge will fail if build > time dependencies are no longer available on the current portage tree and/or > fail to run if run time dependencies are missing. In this case you'll have to > fish these ebuilds out of the attic and try again. Some packages will create > conflicts with the currently installed versions, which may become impossible > to resolve. Which is why I originally suggested cloning an already working > system with all its packages, rather than reinstalling. > > Either way, give quickpkg a spin and see where that gets you. I'll try as you suggested, the mother board is different, it is a new computer similar CPU AMD-8core. I've tried duplicating it with Gparted, didn't work. The disk are different as well. Old one is old WD spinning disk (about 10-years old) New one is M.2 SSD Old system is: emerge --info Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) New one: emerge --info Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo-x86_64 x86_64) So I'm not sure if duplicating the drive would work, maybe I'm going the wrong way about it. It would be nice if gentoo have an easier way of doing it, it would stand out from other distros. I've tried Debian (stable) it didn't work, and I know I have more flexibility with Gentoo. Thelma ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] php-5.6.33 2020-11-27 11:26 ` Michael 2020-11-27 15:03 ` thelma @ 2020-11-27 15:17 ` thelma 2020-11-27 15:42 ` Michael 1 sibling, 1 reply; 5+ messages in thread From: thelma @ 2020-11-27 15:17 UTC (permalink / raw To: Gentoo mailing list On 11/27/2020 04:26 AM, Michael wrote: > On Friday, 27 November 2020 07:24:57 GMT thelma@sys-concept.com wrote: >> I need to install old: php-5.6.33 on my new system. One program I have >> depends on it. Is it possible and what is the easiest way to go about it? >> >> I have the "php-5.6.33.ebuild" (and all other files) on my old system in >> dir: >> /var/db/pkg/dev-lang/php-5.6.33 >> >> Is it possible to copy it to my: /usr/local/portage/dev-lang/ >> and build it on my new system? > > There's two ways to go about it. Since the MoBo is the same, I would run > quickpkg then copy it over and emerge it on the new disk. > > Alternatively, copy over the ebuild and any associated files, then copy over > the source from distfiles and emerge it as you would normally emerge a > package. > > However, dependencies ... > > There are build time and run time dependencies. The emerge will fail if build > time dependencies are no longer available on the current portage tree and/or > fail to run if run time dependencies are missing. In this case you'll have to > fish these ebuilds out of the attic and try again. Some packages will create > conflicts with the currently installed versions, which may become impossible > to resolve. Which is why I originally suggested cloning an already working > system with all its packages, rather than reinstalling. > > Either way, give quickpkg a spin and see where that gets you. I'll try as you suggested, the mother board is different, it is a new computer similar CPU AMD-8core. I've tried duplicating it with Gparted, didn't work. The disk are different as well. Old one is old WD spinning disk (about 10-years old) New one is M.2 SSD Old system is: emerge --info Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) New one: emerge --info Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo-x86_64 x86_64) So I'm not sure if duplicating the drive would work, maybe I'm going the wrong way about it. It would be nice if gentoo have an easier way of doing it, it would stand out from other distros. I've tried Debian (stable) it didn't work, and I know I have more flexibility with Gentoo. Thelma ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] php-5.6.33 2020-11-27 15:17 ` thelma @ 2020-11-27 15:42 ` Michael 0 siblings, 0 replies; 5+ messages in thread From: Michael @ 2020-11-27 15:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3036 bytes --] On Friday, 27 November 2020 15:17:51 GMT thelma@sys-concept.com wrote: > On 11/27/2020 04:26 AM, Michael wrote: > > On Friday, 27 November 2020 07:24:57 GMT thelma@sys-concept.com wrote: > >> I need to install old: php-5.6.33 on my new system. One program I have > >> depends on it. Is it possible and what is the easiest way to go about > >> it? > >> > >> I have the "php-5.6.33.ebuild" (and all other files) on my old system in > >> dir: > >> /var/db/pkg/dev-lang/php-5.6.33 > >> > >> Is it possible to copy it to my: /usr/local/portage/dev-lang/ > >> and build it on my new system? > > > > There's two ways to go about it. Since the MoBo is the same, I would run > > quickpkg then copy it over and emerge it on the new disk. > > > > Alternatively, copy over the ebuild and any associated files, then copy > > over the source from distfiles and emerge it as you would normally emerge > > a package. > > > > However, dependencies ... > > > > There are build time and run time dependencies. The emerge will fail if > > build time dependencies are no longer available on the current portage > > tree and/or fail to run if run time dependencies are missing. In this > > case you'll have to fish these ebuilds out of the attic and try again. > > Some packages will create conflicts with the currently installed > > versions, which may become impossible to resolve. Which is why I > > originally suggested cloning an already working system with all its > > packages, rather than reinstalling. > > > > Either way, give quickpkg a spin and see where that gets you. > > I'll try as you suggested, the mother board is different, it is a new > computer similar CPU AMD-8core. Sorry, my misunderstanding. I thought it was the same hardware, but a duplicate drive for dual booting. > I've tried duplicating it with Gparted, > didn't work. > The disk are different as well. > Old one is old WD spinning disk (about 10-years old) > New one is M.2 SSD Right, you could clone the disk, but then you would need to adjust your kernel for the hardware it will be running on. If you have missing drivers it won't work. > Old system is: emerge --info > Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, > gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) > > New one: emerge --info > Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, > gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo-x86_64 x86_64) > > So I'm not sure if duplicating the drive would work, maybe I'm going the > wrong way about it. It would be nice if gentoo have an easier way of > doing it, it would stand out from other distros. I've tried Debian > (stable) it didn't work, and I know I have more flexibility with Gentoo. > > Thelma I expect quickpkg will work, but it depends on the application's runtime dependencies. Use quickpkg for those too if the package asks for any and see what you get. Ideally you should be looking at updating the application, or finding an alternative which is still being maintained. [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-27 15:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-11-27 7:24 [gentoo-user] php-5.6.33 thelma 2020-11-27 11:26 ` Michael 2020-11-27 15:03 ` thelma 2020-11-27 15:17 ` thelma 2020-11-27 15:42 ` Michael
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox