View previous topic :: View next topic |
Author |
Message |
ayoubneo n00b
Joined: 06 Sep 2022 Posts: 1
|
Posted: Tue Sep 06, 2022 8:40 am Post subject: Updating portage with errors |
|
|
Hello,
I trying to update the OpenSSH server, but I receive many error regarding updating the portage:
With
I receive this :
Code: | !!! Invalid news item: /usr/portage/metadata/news/2020-02-19-openssh-8_2-service-breakage/2020-02-19-openssh-8_2-service-breakage.en.txt
!!! line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2022-03-30-qt-5_15_3-bump/2022-03-30-qt-5_15_3-bump.en.txt
!!! line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-01-23-stable-alpha-keywords-removed/2020-01-23-stable-alpha-keywords-removed.en.txt
!!! line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-01-23-systemd-blocker/2018-01-23-systemd-blocker.en.txt
!!! line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2021-08-01-tcpd-disabled/2021-08-01-tcpd-disabled.en.txt
!!! line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2021-10-24-netifrc-dhcp-client/2021-10-24-netifrc-dhcp-client.en.txt |
Also I trying to update portage
Code: | emerge --ask --oneshot sys-apps/portage |
Another error
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! All ebuilds that could satisfy "sys-apps/portage" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/portage-9999::gentoo (masked by: EAPI 7)
- sys-apps/portage-3.0.35::gentoo (masked by: EAPI 7)
- sys-apps/portage-3.0.34::gentoo (masked by: EAPI 7)
- sys-apps/portage-3.0.30-r5::gentoo (masked by: EAPI 7)
- sys-apps/portage-3.0.30-r3::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.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
Anyone can help me please.
Regards, |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Sep 06, 2022 9:09 am Post subject: |
|
|
Hi
Please try
Code: |
PYTHON_TARGETS="python3_8" USE="-rsync-verify" emerge --ask -v1 sys-apps/portage
|
taken from
https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Upgrading_Portage
Is python:3.8 part of your python targets?If not replace accordingly.
Updating portage should fix your "invalid news" error also. _________________
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1684
|
Posted: Tue Sep 06, 2022 12:36 pm Post subject: Re: Updating portage with errors |
|
|
ayoubneo wrote: | Hello,
I trying to update the OpenSSH server, but I receive many error regarding updating the portage:
Code: | The current version of portage supports EAPI '6'. |
|
This shows the install was last updated between 2016 and 2018. This old install may be a challenge to update directly.
There are guides like https://wiki.gentoo.org/wiki/User:NeddySeagoon/HOWTO_Update_Old_Gentoo to help update.
Though it might be faster to backup data, wipe and reinstall with a new stage3. |
|
Back to top |
|
|
|