* [gentoo-user] Upgrade an old system
@ 2020-12-14 19:38 thelma
2020-12-14 19:52 ` Arve Barsnes
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: thelma @ 2020-12-14 19:38 UTC (permalink / raw
To: Gentoo mailing list
I'm having similar problem as "n952162" upgrading an old (last updated
1.8-year ago)
It sync OK, updated the profile.
Looking instruction on this page:
https://wiki.gentoo.org/wiki/Upgrading_Gentoo
root #mv /usr/portage /usr/portage.latest
root #tar xjpf /path/to/portage-20090720.tar.bz2 -C /usr
root #emerge --update --oneshot portage
but that portage "portage-20090720.tar.bz2" seems old; what is the
latest one?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 19:38 [gentoo-user] Upgrade an old system thelma
@ 2020-12-14 19:52 ` Arve Barsnes
2020-12-14 21:20 ` thelma
2020-12-14 21:55 ` [gentoo-user] " Grant Edwards
2020-12-15 1:05 ` [gentoo-user] " bobwxc
2 siblings, 1 reply; 12+ messages in thread
From: Arve Barsnes @ 2020-12-14 19:52 UTC (permalink / raw
To: Gentoo
On Mon, 14 Dec 2020 at 20:38, <thelma@sys-concept.com> wrote:
> but that portage "portage-20090720.tar.bz2" seems old; what is the
> latest one?
They're generated every day, so pick your poison. Notice it mentions
updating the portage tree 3-4 months at a time, so just pick some
dates at reasonable intervals from your starting point.
Regards,
Arve
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 19:52 ` Arve Barsnes
@ 2020-12-14 21:20 ` thelma
2020-12-14 21:57 ` thelma
2020-12-14 21:58 ` Arve Barsnes
0 siblings, 2 replies; 12+ messages in thread
From: thelma @ 2020-12-14 21:20 UTC (permalink / raw
To: gentoo-user
On 12/14/2020 12:52 PM, Arve Barsnes wrote:
> On Mon, 14 Dec 2020 at 20:38, <thelma@sys-concept.com> wrote:
>> but that portage "portage-20090720.tar.bz2" seems old; what is the
>> latest one?
>
> They're generated every day, so pick your poison. Notice it mentions
> updating the portage tree 3-4 months at a time, so just pick some
> dates at reasonable intervals from your starting point.
>
> Regards,
> Arve
Looking at this directory:
https://github.com/gentoo/portage/releases/tag/portage-3.0.12
file: portage-portage-3.0.12.tar.gz has totally different structure
If I run: tar xzf portage-portage-3.0.12.tar.gz -C /usr
it will create directory /usr/portage-portage-3.0.12
emerge --update --oneshot portage
can not fine it as it is looking for /usr/portage
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: Upgrade an old system
2020-12-14 19:38 [gentoo-user] Upgrade an old system thelma
2020-12-14 19:52 ` Arve Barsnes
@ 2020-12-14 21:55 ` Grant Edwards
2020-12-14 22:20 ` thelma
2020-12-15 1:05 ` [gentoo-user] " bobwxc
2 siblings, 1 reply; 12+ messages in thread
From: Grant Edwards @ 2020-12-14 21:55 UTC (permalink / raw
To: gentoo-user
On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> I'm having similar problem as "n952162" upgrading an old (last updated
> 1.8-year ago)
If I were youe, I'd just reinstall after 1.8 years. Updating is going
to take way, way more work.
--
Grant
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 21:20 ` thelma
@ 2020-12-14 21:57 ` thelma
2020-12-16 0:08 ` François-Xavier Carton
2020-12-14 21:58 ` Arve Barsnes
1 sibling, 1 reply; 12+ messages in thread
From: thelma @ 2020-12-14 21:57 UTC (permalink / raw
To: gentoo-user
[snip]
emerge --update --oneshot portage
!!! All ebuilds that could satisfy ">=app-crypt/openpgp-keys-gentoo-release-20180706" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-crypt/openpgp-keys-gentoo-release-20200704::gentoo (masked by: EAPI 7)
The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "sys-apps/portage-2.3.99-r2::gentoo[rsync-verify,-build]" [ebuild])
(dependency required by "portage" [argument])
I don't even have "app-crypt/openpgp-keys-gentoo-release" installed why is it complaining?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 21:20 ` thelma
2020-12-14 21:57 ` thelma
@ 2020-12-14 21:58 ` Arve Barsnes
2020-12-14 22:18 ` thelma
1 sibling, 1 reply; 12+ messages in thread
From: Arve Barsnes @ 2020-12-14 21:58 UTC (permalink / raw
To: Gentoo
On Mon, 14 Dec 2020 at 22:20, <thelma@sys-concept.com> wrote:
> Looking at this directory:
> https://github.com/gentoo/portage/releases/tag/portage-3.0.12
>
> file: portage-portage-3.0.12.tar.gz has totally different structure
> If I run: tar xzf portage-portage-3.0.12.tar.gz -C /usr
> it will create directory /usr/portage-portage-3.0.12
That is a release of the portage *application*, you need snapshots of
the portage *tree*.
I could find some a year old here:
https://mirrors.sohu.com/gentoo/snapshots/
You might need to look for even older ones, but worth a try.
Regards,
Arve
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 21:58 ` Arve Barsnes
@ 2020-12-14 22:18 ` thelma
2020-12-14 22:35 ` Neil Bothwick
0 siblings, 1 reply; 12+ messages in thread
From: thelma @ 2020-12-14 22:18 UTC (permalink / raw
To: gentoo-user
On 12/14/2020 02:58 PM, Arve Barsnes wrote:
> On Mon, 14 Dec 2020 at 22:20, <thelma@sys-concept.com> wrote:
>> Looking at this directory:
>> https://github.com/gentoo/portage/releases/tag/portage-3.0.12
>>
>> file: portage-portage-3.0.12.tar.gz has totally different structure
>> If I run: tar xzf portage-portage-3.0.12.tar.gz -C /usr
>> it will create directory /usr/portage-portage-3.0.12
>
> That is a release of the portage *application*, you need snapshots of
> the portage *tree*.
>
> I could find some a year old here:
> https://mirrors.sohu.com/gentoo/snapshots/
>
> You might need to look for even older ones, but worth a try.
>
> Regards,
> Arve
Moving forward like a snail.
Unmerged portage to local directory and running:
./portage-portage-3.0.12/bin/emerge -1 portage
gives me two blockers:
[blocks B ] <app-portage/gentoolkit-0.4.6 ("<app-portage/gentoolkit-0.4.6" is blocking sys-apps/portage-3.0.9)
[blocks B ] <=dev-lang/python-2.7.18-r3:2.7 ("<=dev-lang/python-2.7.18-r3:2.7" is blocking dev-lang/python-exec-2.4.6-r2)
I can remove app-portage/gentoolkit but is it safe to remove:
dev-lang/python-2.7.18-r3:2.7
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: Upgrade an old system
2020-12-14 21:55 ` [gentoo-user] " Grant Edwards
@ 2020-12-14 22:20 ` thelma
0 siblings, 0 replies; 12+ messages in thread
From: thelma @ 2020-12-14 22:20 UTC (permalink / raw
To: gentoo-user
On 12/14/2020 02:55 PM, Grant Edwards wrote:
> On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>> I'm having similar problem as "n952162" upgrading an old (last updated
>> 1.8-year ago)
>
> If I were youe, I'd just reinstall after 1.8 years. Updating is going
> to take way, way more work.
>
> --
> Grant
I was thinking the same thing. But I'll try first if its possible to
upgrade.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 22:18 ` thelma
@ 2020-12-14 22:35 ` Neil Bothwick
2020-12-14 23:52 ` antlists
0 siblings, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2020-12-14 22:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
On Mon, 14 Dec 2020 15:18:19 -0700, thelma@sys-concept.com wrote:
> Moving forward like a snail.
> Unmerged portage to local directory and running:
> ./portage-portage-3.0.12/bin/emerge -1 portage
>
> gives me two blockers:
> [blocks B ] <app-portage/gentoolkit-0.4.6
> ("<app-portage/gentoolkit-0.4.6" is blocking sys-apps/portage-3.0.9)
> [blocks B ] <=dev-lang/python-2.7.18-r3:2.7
> ("<=dev-lang/python-2.7.18-r3:2.7" is blocking
> dev-lang/python-exec-2.4.6-r2)
>
> I can remove app-portage/gentoolkit but is it safe to remove:
> dev-lang/python-2.7.18-r3:2.7
Probably not. It looks like you need to update python, try
emerge -1a portage python:2.7
Or simply
emerge -1ua @system
--
Neil Bothwick
Artificial Intelligence usually beats real stupidity.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 22:35 ` Neil Bothwick
@ 2020-12-14 23:52 ` antlists
0 siblings, 0 replies; 12+ messages in thread
From: antlists @ 2020-12-14 23:52 UTC (permalink / raw
To: gentoo-user
On 14/12/2020 22:35, Neil Bothwick wrote:
> On Mon, 14 Dec 2020 15:18:19 -0700, thelma@sys-concept.com wrote:
>
>> Moving forward like a snail.
>> Unmerged portage to local directory and running:
>> ./portage-portage-3.0.12/bin/emerge -1 portage
>>
>> gives me two blockers:
>> [blocks B ] <app-portage/gentoolkit-0.4.6
>> ("<app-portage/gentoolkit-0.4.6" is blocking sys-apps/portage-3.0.9)
>> [blocks B ] <=dev-lang/python-2.7.18-r3:2.7
>> ("<=dev-lang/python-2.7.18-r3:2.7" is blocking
>> dev-lang/python-exec-2.4.6-r2)
>>
>> I can remove app-portage/gentoolkit but is it safe to remove:
>> dev-lang/python-2.7.18-r3:2.7
>
> Probably not. It looks like you need to update python, try
iirc, gentoolkit is an add-on that helps with portage. As such it would
be safe to remove ...
Read the handbook and see if it *recommends* installing gentoolkit. If
it does (as I seem to remember), it isn't *necessary* and can be removed.
Cheers,
Wol
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 19:38 [gentoo-user] Upgrade an old system thelma
2020-12-14 19:52 ` Arve Barsnes
2020-12-14 21:55 ` [gentoo-user] " Grant Edwards
@ 2020-12-15 1:05 ` bobwxc
2 siblings, 0 replies; 12+ messages in thread
From: bobwxc @ 2020-12-15 1:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1.1: Type: text/plain, Size: 806 bytes --]
在 2020/12/15 上午3:38, thelma@sys-concept.com 写道:
> I'm having similar problem as "n952162" upgrading an old (last updated
> 1.8-year ago)
> It sync OK, updated the profile.
>
> Looking instruction on this page:
> https://wiki.gentoo.org/wiki/Upgrading_Gentoo
>
> root #mv /usr/portage /usr/portage.latest
> root #tar xjpf /path/to/portage-20090720.tar.bz2 -C /usr
> root #emerge --update --oneshot portage
>
> but that portage "portage-20090720.tar.bz2" seems old; what is the
> latest one?
go to the http://www.gentoo.org/downloads/mirrors/ and find a mirror,
the snapshots will have lastest portage.
Like
https://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2
It always update.
And update a old system may cause a log of problems, be careful.
--
bobwxc
[-- Attachment #1.1.2: OpenPGP_0x36E94EABB53E516B.asc --]
[-- Type: application/pgp-keys, Size: 647 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Upgrade an old system
2020-12-14 21:57 ` thelma
@ 2020-12-16 0:08 ` François-Xavier Carton
0 siblings, 0 replies; 12+ messages in thread
From: François-Xavier Carton @ 2020-12-16 0:08 UTC (permalink / raw
To: gentoo-user
On Mon, Dec 14, 2020 at 02:57:22PM -0700, thelma@sys-concept.com wrote:
> [snip]
>
> emerge --update --oneshot portage
>
> !!! All ebuilds that could satisfy ">=app-crypt/openpgp-keys-gentoo-release-20180706" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - app-crypt/openpgp-keys-gentoo-release-20200704::gentoo (masked by: EAPI 7)
>
> The current version of portage supports EAPI '6'. You must upgrade to a
> newer version of portage before EAPI masked packages can be installed.
> (dependency required by "sys-apps/portage-2.3.99-r2::gentoo[rsync-verify,-build]" [ebuild])
> (dependency required by "portage" [argument])
>
> I don't even have "app-crypt/openpgp-keys-gentoo-release" installed why is it complaining?
>
I've done a similar update recently, it's definitely possible if you
know what you're doing. A few things:
First, you need to update portage. To do so, you'll need to manually
downgrade the portage ebuild from EAPI 7 to EAPI 6 (simply change the
number in the ebuild). First, emerge it without rsync-verify. Once you
have portage up to date, it'll support EAPI 7 and life'll be easier. You
can then reemerge it with rsync-verify, as the EAPI 7 dependencies will
be installable this time.
Then, I'd recommend upgrading the toolchain (binutils, gcc, glibc),
otherwise you might run into compilation issues.
After that, you can update packages. For big updates like this, I like
to do it by chunks as it's easier (and it makes reading the emerge plan
less painful). Like all the perl packages, then all the python packages,
and so on. For that, the "emerge by path" feature is convenient; for
example to update python packages:
emerge -au /usr/lib/python3.7
In case force-unmerging python modules makes the update easier
(resolving blocks), you can do so. That's actually safe to do, portage
will still be able to emerge packages. Python itself (the interpreter)
is the only hard dependency of portage.
Hope this helps, and good luck with your update!
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2020-12-16 0:08 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 19:38 [gentoo-user] Upgrade an old system thelma
2020-12-14 19:52 ` Arve Barsnes
2020-12-14 21:20 ` thelma
2020-12-14 21:57 ` thelma
2020-12-16 0:08 ` François-Xavier Carton
2020-12-14 21:58 ` Arve Barsnes
2020-12-14 22:18 ` thelma
2020-12-14 22:35 ` Neil Bothwick
2020-12-14 23:52 ` antlists
2020-12-14 21:55 ` [gentoo-user] " Grant Edwards
2020-12-14 22:20 ` thelma
2020-12-15 1:05 ` [gentoo-user] " bobwxc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox