How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

joost
Sagely Hen
Posts: 2805
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by joost » Thu Jun 04, 2020 21:57

Ok it seems you have NO profile selected at all. This is your problem.
Now since your local system is OLD I would advice to set it to the [5] default/linux/amd64/17.0/desktop profile.

Code: Select all

eselect profile set 5
Once done, again try:

Code: Select all

emerge -av =sys-apps/portage-2.3.89-r3
And post the result of that here.
My blog | Mastodon | Please support Sabayon: Become a Patron

ruthan
Young Hen
Posts: 20
Joined: Wed May 27, 2020 13:38

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by ruthan » Thu Jun 04, 2020 22:04

Code: Select all

[email protected] /etc/portage/repos.conf $ sudo emerge -av =sys-apps/portage-2.3.89-r3
setlocale: unsupported locale setting
setlocale: unsupported locale setting
WARNING: One or more repositories have been ignored due to duplicate
  profiles/repo_name entries:

  /, gentoo, /usr/portage overrides
    /var/db/repos/gentoo

  All profiles/repo_name entries must be unique in order to avoid having
  duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
  /etc/portage/make.conf if you would like to disable this warning.


!!! Invalid news item: /usr/portage/metadata/news/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-04-08-radicale-2-requires-pre-install-migration/2018-04-08-radicale-2-requires-pre-install-migration.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-03-30-stable-ia64-keywords-removed/2020-03-30-stable-ia64-keywords-removed.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-03-kubernetes-moving-to-single-package/2020-04-03-kubernetes-moving-to-single-package.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-14-gnucash/2018-01-14-gnucash.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-05-22-python3-6/2018-05-22-python3-6.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-12-30-genkernel-4-default-filenames/2019-12-30-genkernel-4-default-filenames.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-07-18-syncthing-update-incompatibility/2019-07-18-syncthing-update-incompatibility.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-07-16-systemd-rootprefix/2017-07-16-systemd-rootprefix.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-08-07-openssh-ldap-migration/2018-08-07-openssh-ldap-migration.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.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/2020-04-14-elogind-default/2020-04-14-elogind-default.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-22-python3-7/2020-04-22-python3-7.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-02-13-virtual-mysql-depenedency/2019-02-13-virtual-mysql-depenedency.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-10-29-cryfs-0_10-update/2019-10-29-cryfs-0_10-update.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-05-23-accept_license/2019-05-23-accept_license.en.txt
!!!   line 6: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-04-10-split-and-slotted-wine/2017-04-10-split-and-slotted-wine.en.txt
!!!   line 6: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-03-deprecation-of-legacy-x11-input-drivers/2020-04-03-deprecation-of-legacy-x11-input-drivers.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-02-07-python-2-7-eol/2020-02-07-python-2-7-eol.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-07-11-portage-sync-allow-hardlinks/2018-07-11-portage-sync-allow-hardlinks.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-08-30-php-5_6-deprecation/2019-08-30-php-5_6-deprecation.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-08-19-hardened-sources-removal/2017-08-19-hardened-sources-removal.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-11-21-old-wine-versions-moving-to-overlay/2017-11-21-old-wine-versions-moving-to-overlay.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-01-30-portage-rsync-verification/2018-01-30-portage-rsync-verification.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-04-new-ppc64le-profiles/2020-04-04-new-ppc64le-profiles.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! 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

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=sys-apps/portage-2.3.89-r3".

Stupot
Sagely Hen
Posts: 1793
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by Stupot » Thu Jun 04, 2020 22:32

Did you emerge --sync at any point?

ruthan
Young Hen
Posts: 20
Joined: Wed May 27, 2020 13:38

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by ruthan » Thu Jun 04, 2020 22:44

Sorry i dont understand.. what i have to do?

joost
Sagely Hen
Posts: 2805
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by joost » Thu Jun 04, 2020 23:22

If you are clueless at this point, you should really backup your data and reinstall using a daily image OR move to a different distro.
I really feel like locking this topic.
My blog | Mastodon | Please support Sabayon: Become a Patron

ruthan
Young Hen
Posts: 20
Joined: Wed May 27, 2020 13:38

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by ruthan » Fri Jun 05, 2020 0:10

D did only on what i was hinted to not broken anything by my own inventions. I thing that average user shouldnt be forced to know how to solve this things on terminal level.. There is wizzard for it, im able to use it.. but its not working for me now, so i need some hints. I suppose that emerge --sync is equivalent of apt-get update from Debian which im more familar, but why i would run it now.. i maybe fixed some profile.. but there should be other thing to fix..

Why you would lock this? I accept if someone will not willing to spare its time to help me.. but lock such topic.. is exactly why some people are saying that Linux community is toxic. I did nothing wrong.. i just want to upgrade old install.. what should be possible for all OSes from my point of view.

joost
Sagely Hen
Posts: 2805
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by joost » Fri Jun 05, 2020 12:09

Reason I thought about locking this is because I'm afraid people are going to break their systems.
But anyway, if you want to take the risk:
emerge: there are no ebuilds to satisfy "=sys-apps/portage-2.3.89-r3"
Correct. This version isn't in Portage anymore.

Code: Select all

emerge -av =sys-apps/portage-2.3.99-r2
My blog | Mastodon | Please support Sabayon: Become a Patron

ruthan
Young Hen
Posts: 20
Joined: Wed May 27, 2020 13:38

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by ruthan » Fri Jun 05, 2020 13:59

Here is output:

Code: Select all

 sudo emerge -av =sys-apps/portage-2.3.99-r2
Password: 
setlocale: unsupported locale setting
setlocale: unsupported locale setting
WARNING: One or more repositories have been ignored due to duplicate
  profiles/repo_name entries:

  /, gentoo, /usr/portage overrides
    /var/db/repos/gentoo

  All profiles/repo_name entries must be unique in order to avoid having
  duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
  /etc/portage/make.conf if you would like to disable this warning.


!!! Invalid news item: /usr/portage/metadata/news/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-04-08-radicale-2-requires-pre-install-migration/2018-04-08-radicale-2-requires-pre-install-migration.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-03-30-stable-ia64-keywords-removed/2020-03-30-stable-ia64-keywords-removed.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-03-kubernetes-moving-to-single-package/2020-04-03-kubernetes-moving-to-single-package.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-14-gnucash/2018-01-14-gnucash.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-05-22-python3-6/2018-05-22-python3-6.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-12-30-genkernel-4-default-filenames/2019-12-30-genkernel-4-default-filenames.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-07-18-syncthing-update-incompatibility/2019-07-18-syncthing-update-incompatibility.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-07-16-systemd-rootprefix/2017-07-16-systemd-rootprefix.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-08-07-openssh-ldap-migration/2018-08-07-openssh-ldap-migration.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.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/2020-04-14-elogind-default/2020-04-14-elogind-default.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-22-python3-7/2020-04-22-python3-7.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-02-13-virtual-mysql-depenedency/2019-02-13-virtual-mysql-depenedency.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-10-29-cryfs-0_10-update/2019-10-29-cryfs-0_10-update.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-05-23-accept_license/2019-05-23-accept_license.en.txt
!!!   line 6: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-04-10-split-and-slotted-wine/2017-04-10-split-and-slotted-wine.en.txt
!!!   line 6: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-03-deprecation-of-legacy-x11-input-drivers/2020-04-03-deprecation-of-legacy-x11-input-drivers.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-02-07-python-2-7-eol/2020-02-07-python-2-7-eol.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-07-11-portage-sync-allow-hardlinks/2018-07-11-portage-sync-allow-hardlinks.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2019-08-30-php-5_6-deprecation/2019-08-30-php-5_6-deprecation.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-08-19-hardened-sources-removal/2017-08-19-hardened-sources-removal.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-11-21-old-wine-versions-moving-to-overlay/2017-11-21-old-wine-versions-moving-to-overlay.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2018-01-30-portage-rsync-verification/2018-01-30-portage-rsync-verification.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2020-04-04-new-ppc64le-profiles/2020-04-04-new-ppc64le-profiles.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! 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

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for =sys-apps/portage-2.3.99-r2
... done!

!!! The ebuild selected to satisfy "=sys-apps/portage-2.3.99-r2" has unmet requirements.
- sys-apps/portage-2.3.99-r2::gentoo USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux)" ABI_X86="64" PYTHON_TARGETS="-pypy3 -python3_6 -python3_7 -python3_8"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_pypy3 python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 )


joost
Sagely Hen
Posts: 2805
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by joost » Fri Jun 05, 2020 14:13

Oh boy.

Code: Select all

USE="python_targets_python3_6" emerge -av =sys-apps/portage-2.3.99-r2
My blog | Mastodon | Please support Sabayon: Become a Patron

Stupot
Sagely Hen
Posts: 1793
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: How to upgrade few years old installation? Its redownloading lots of packages and after that fail..

Post by Stupot » Fri Jun 05, 2020 14:26

ruthan wrote:
Fri Jun 05, 2020 0:10
I thing that average user shouldnt be forced to know how to solve this things on terminal level..
The average user doesn't try to update years old installation either. So your point that this should be easy... well it would certainly be nice, but it's going to be really low on a priority list, always.

Post Reply