Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stale system to update: where from here
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Drone1
Apprentice
Apprentice


Joined: 27 Sep 2005
Posts: 230
Location: United States of Texas

PostPosted: Thu Apr 05, 2018 1:00 am    Post subject: Stale system to update: where from here Reply with quote

The long short... Had to take system was down for several months.
Just prior to that, system was fully updated package wise.

Fast forward to now, after eix-sync, portage needs to be updated, and so on. But.....

Apparently I need to move to unstable portage to resolve? See here...

Code:

 ~ # emerge -1pv portage

 * IMPORTANT: config file '/etc/portage/package.keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

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

Calculating dependencies... done!
[ebuild  N     ] app-crypt/gentoo-keys-201607021514::gentoo  32 KiB
[ebuild     U  ] dev-libs/libassuan-2.5.1::gentoo [2.4.3-r1::gentoo] USE="-static-libs" 552 KiB
[ebuild  N     ] dev-python/bz2file-0.98::gentoo  PYTHON_TARGETS="python2_7 (-pypy)" 12 KiB
[ebuild  N     ] dev-python/pyblake2-1.1.0::gentoo  PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 123 KiB
[ebuild     U  ] dev-python/setuptools-36.7.2::gentoo [34.0.2-r1::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_5* (-pypy) (-pypy3) -python3_4* -python3_6" 710 KiB
[ebuild   R    ] dev-python/certifi-2017.4.17::gentoo  PYTHON_TARGETS="python2_7 python3_5* (-pypy) (-pypy3) -python3_4* -python3_6" 0 KiB
[ebuild     U  ] app-crypt/gnupg-2.2.4-r2::gentoo [2.1.20-r1::gentoo] USE="bzip2 ldap nls readline smartcard ssl%* usb -doc (-selinux) -tofu -tools -wks-server (-gnutls%*)" 6,418 KiB
[ebuild  N    ~] app-portage/gemato-12.2::gentoo  USE="blake2 bzip2 gpg -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6" 66 KiB
[ebuild     U ~] sys-apps/portage-2.3.28::gentoo [2.3.8::gentoo] USE="(ipc) native-extensions rsync-verify%* xattr -build -doc -epydoc -gentoo-dev% (-selinux) (-linguas_ru%)" PYTHON_TARGETS="python2_7 python3_5* -pypy -python3_4* -python3_6" 953 KiB

Total: 9 packages (4 upgrades, 4 new, 1 reinstall), Size of downloads: 8,863 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/setuptools:0

  (dev-python/setuptools-36.7.2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/certifi-2017.4.17:0/0::gentoo, ebuild scheduled for merge)

    dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/gemato-12.2:0/0::gentoo, ebuild scheduled for merge)


  (dev-python/setuptools-34.0.2-r1:0/0::gentoo, installed) pulled in by
    dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),
-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.0.2:0/0::gentoo, installed)

    dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/pygments-2.1.1:0/0::gentoo, installed)

    dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-)] required by (dev-python/pyxattr-0.5.5:0/0::gentoo, installed)

    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,
python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/numpy-1.10.4:0/0::gentoo, installed)

    dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/chardet-3.0.4:0/0::gentoo, installed)

    dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/certifi-2017.4.17:0/0::gentoo, installed)

dev-python/certifi:0

  (dev-python/certifi-2017.4.17:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-python/certifi-2016.9.26[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/setuptools-36.7.2:0/0::gentoo, ebuild scheduled for merge)


  (dev-python/certifi-2017.4.17:0/0::gentoo, installed) pulled in by
    >=dev-python/certifi-2017.4.17[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.2-r1:0/0::gentoo, installed)

    dev-python/certifi[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)

    >=dev-python/certifi-2016.9.26[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/setuptools-34.0.2-r1:0/0::gentoo, installed)


sys-apps/portage:0

  (sys-apps/portage-2.3.28:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/portage (Argument)

  (sys-apps/portage-2.3.8:0/0::gentoo, installed) pulled in by
    sys-apps/portage[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] required by (dev-java/java-config-2.2.0-r3:2/2::gentoo, installed)

    sys-apps/portage[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/layman-2.4.2:0/0::gentoo, installed)

    sys-apps/portage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/gentoolkit-0.4.0:0/0::gentoo, installed)



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by portage (argument)
=sys-apps/portage-2.3.28 ~amd64
# required by sys-apps/portage-2.3.28::gentoo[rsync-verify,-build]
# required by portage (argument)
=app-portage/gemato-12.2 ~amd64

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.


So can't upgrade due to stable portage, so put portage and gemato to unsable to resolve?
This system has never been set to unstable. Where is this coming from?

Caveat: I'm not wholly up, on backtracking, and have not modified anything wrt portage config, away from default for that.
Perhaps that would help, but I'll leave it to comments for advice.

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
_________________
The GUI has become stale to me.... Where can I find the next interface leap forward?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18579
Location: here

PostPosted: Thu Apr 05, 2018 5:54 am    Post subject: Reply with quote

Try to run first, it seems a python targets ugrade issue
Code:
# emerge -UD @world

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Thu Apr 05, 2018 10:25 am    Post subject: Reply with quote

Drone1, why does Portage want an unstable version of itself? The --tree option in combination with --unordered-display may be useful if (see remark) you update the system.

I noticed these messages:

Code:
* IMPORTANT: config file '/etc/portage/package.keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.


Note: I wonder if Portage is consistent.

man emerge wrote:
--tree (-t)
Shows the dependency tree for the given target by indenting dependencies. This is only really useful in combination with
--emptytree or --update and --deep.
Back to top
View user's profile Send private message
Drone1
Apprentice
Apprentice


Joined: 27 Sep 2005
Posts: 230
Location: United States of Texas

PostPosted: Sat Apr 07, 2018 4:39 pm    Post subject: Reply with quote

So this did go back to python...

Ended up installing python:3.6 , set that as 1st pref in eselect python, then went about my marry way... emerging...
- portage, and dep's first
then
- system
- revdep-rebuild

which then brings me to world.....

Despite adding these to package.use...
Code:

sys-app/portage PYTHON_TARGETS: *
*/* PYTHON_TARGETS: python3_6

emerge -uDpv world


comes back with a dozen or so
Code:
dev-python/*
packages, wanting...
.... python_targets_python3_4

Which I'm guessing, is then add python3_4 to the above ...
*/* PYTHON_TARGETS

line in package.use to resolve....?

Trying that 1st, but thoughts welcome.
_________________
The GUI has become stale to me.... Where can I find the next interface leap forward?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6576

PostPosted: Sat Apr 07, 2018 10:23 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Python#Version_upgrade
It's just there
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 4984

PostPosted: Sat Apr 07, 2018 11:37 pm    Post subject: Reply with quote

Setting PYTHON_TARGETS anywhere in /etc/portage/ is a really bad idea unless you understand what the consequences of doing so are.
_________________
*.ebuild // /etc/service/*
Back to top
View user's profile Send private message
kernel2000
n00b
n00b


Joined: 16 Apr 2018
Posts: 1

PostPosted: Mon Apr 16, 2018 2:41 pm    Post subject: Reply with quote

The solution was to install version 0.4.1 of gentoolkit with command:

Code:

emerge =gentoolkit-0.4.1


the version:

gentoolkit-0.4.0

has a bug:

https://bugs.gentoo.org/617498

that also caused failures in:

Code:

revdep-rebuild   
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/revdep-rebuild", line 37, in <module>
    from gentoolkit.revdep_rebuild import rebuild
  File "/usr/lib64/python3.6/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 29, in <module>
    from .analyse import analyse
  File "/usr/lib64/python3.6/site-packages/gentoolkit/revdep_rebuild/analyse.py", line 18, in <module>
    from .collect import (prepare_search_dirs, parse_revdep_config,
  File "/usr/lib64/python3.6/site-packages/gentoolkit/revdep_rebuild/collect.py", line 18, in <module>
    from .settings import parse_revdep_config
  File "/usr/lib64/python3.6/site-packages/gentoolkit/revdep_rebuild/settings.py", line 19, in <module>
    'DEFAULT_LD_FILE': os.path.join(portage.root, 'etc/ld.so.conf'),
  File "/usr/lib64/python3.6/posixpath.py", line 78, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not _LegacyGlobalProxy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum