You seem to not really understand how gentoo works.

On 2020.12.04 17:19, n952162 wrote:
On 12/4/20 11:13 PM, n952162 wrote:
On 12/4/20 10:49 PM, Arve Barsnes wrote:
On Fri, 4 Dec 2020 at 21:24, n952162 <n952...@web.de> wrote:
I guess you mean, remove them all and then let emerge tell me which
ones
I need.  I'll try that.  But isn't '=' more restrictive than '>=',
promising me troubles earlier?
The earlier you encounter any conflicts, they're generally easier to
solve.


No, that didn't work.  After about 4 iterations of supplying newly
required USE flags, I ended up with this

(this after commenting out all the python dependencies in
/etc/portage/package.use/* and adding back in what emerge wanted):

Hard to say what the problem is when I don't know what you've added
back to USE, but I wonder what state your portage tree is in, because
it seems like many of the packages creating your conflicts, like the
two below, dev-python/ipaddress and dev-python/futures, don't exist at all in my tree. They were removed several weeks ago. When did you last
sync? If recently, when did you last --depclean?

dev-python/setuptools[python_targets_python2_7(-),-python_single_target_python2_7(-)]

required by (dev-python/ipaddress-1.0.23:0/0::gentoo, installed) USE=""
ABI_X86="(64)" PYTHON_TARGETS="python2_7"

dev-python/setuptools[python_targets_python2_7(-),-python_single_target_python2_7(-)]

required by (dev-python/futures-3.1.1:0/0::gentoo, installed)
USE="-doc"
ABI_X86="(64)" PYTHON_TARGETS="python2_7"

Regards,
Arve


Okay, I've never done a depclean.  Is that something I need to do?  I
mean, I'm always worried it'd remove something that I need, but given
all the problems I have, I guess that'd be the lesser of evils...
Most of the time, yes, you do need to do a depclean. It's pretty common to do it after every world update. In general, it gets rid of things emerged as a dependency of something else, and no longer needed, either because you explicitly removed what pulled them in, or that package was modified to no longer need it.

I'll give that a go and go to bed.


Oh that went fast.  But just as I expected ... it's going to remove
kernel/gentoo-sources?  gcc?  The llvm that took 5 hours to compile?
Do you understand why it shows separate lines for "selected" and "omitted"

>>> These are the packages that would be unmerged:

 sys-kernel/gentoo-sources
    selected: 4.19.72
   protected: none
     omitted: 5.4.72
It's going to remove an old version and leave a newer version. If you really want the old one kept, you should explicitly add it to your world file. (check "emerge -n", don't actually edit the world file)

 dev-lang/mujs
    selected: 1.0.5
   protected: none
     omitted: none

 sys-fs/btrfs-progs
    selected: 4.19
   protected: none
     omitted: none

 virtual/shadow
    selected: 0
   protected: none
     omitted: none

 media-libs/gegl
    selected: 0.3.34
   protected: none
     omitted: 0.4.22

 dev-python/sphinx_rtd_theme
    selected: 0.2.4
   protected: none
     omitted: none

 dev-go/blackfriday
    selected: 1.2_p20150720
   protected: none
     omitted: none

 media-gfx/mypaint-brushes
    selected: 1.3.0-r1
   protected: none
     omitted: 2.0.2

 dev-lang/vala
    selected: 0.42.7
   protected: none
     omitted: 0.48.9

 x11-drivers/xf86-video-nouveau
    selected: 1.0.16
   protected: none
     omitted: none

 media-gfx/potrace
    selected: 1.15
   protected: none
     omitted: none

 x11-drivers/xf86-video-dummy
    selected: 0.3.8
   protected: none
     omitted: none

 sys-apps/sdparm
    selected: 1.10
   protected: none
     omitted: none

 dev-python/sphinxcontrib-websupport
    selected: 1.1.0
   protected: none
     omitted: none

 dev-lang/vala
    selected: 0.46.7
   protected: none
     omitted: 0.48.9

 virtual/python-ipaddress
    selected: 1.0-r1
   protected: none
     omitted: none

 sys-kernel/gentoo-sources
    selected: 5.4.66
   protected: none
     omitted: 5.4.72
Same as above, and no, I don't know why it didn't combine these into a single entry with two selected and one omitted.

 dev-python/bz2file
    selected: 0.98
   protected: none
     omitted: none

 dev-python/asn1crypto
    selected: 0.22.0
   protected: none
     omitted: none

 app-text/docbook-dsssl-stylesheets
    selected: 1.79-r4
   protected: none
     omitted: none

 x11-drivers/xf86-video-vesa
    selected: 2.4.0
   protected: none
     omitted: none

 x11-libs/wxGTK
    selected: 3.0.4-r2
   protected: none
     omitted: 3.0.4-r302


!!! 'app-editors/nano' (virtual/editor) is part of your system profile.
!!! Unmerging it may be damaging to your system.


 app-editors/nano
    selected: 4.2
   protected: none
     omitted: none
This seems a bit odd, unless you have a different app-editor package installed. Virutal/editor is there so you always have at least one editor installed. If you do have another editor installed, then this is OK.

 sys-kernel/gentoo-sources
    selected: 5.4.60
   protected: none
     omitted: 5.4.72
Again, as above. How many versions do you have installed, and how many do you want to keep around?

 x11-drivers/xf86-video-intel
    selected: 2.99.917_p20190301
   protected: none
     omitted: none

 dev-python/pyxattr
    selected: 0.6.0-r1
   protected: none
     omitted: none

 sys-devel/clang-runtime
    selected: 10.0.0
   protected: none
     omitted: 10.0.1

 app-admin/metalog
    selected: 20181125
   protected: none
     omitted: none

 sys-libs/cracklib
    selected: 2.9.7
   protected: none
     omitted: none

 dev-libs/iniparser
    selected: 3.1-r1
   protected: none
     omitted: none

 dev-libs/libcroco
    selected: 0.6.13
   protected: none
     omitted: none

 x11-drivers/xf86-input-mouse
    selected: 1.9.3
   protected: none
     omitted: none

 virtual/python-enum34
    selected: 2
   protected: none
     omitted: none

 x11-drivers/xf86-video-fbdev
    selected: 0.5.0
   protected: none
     omitted: none

 media-libs/freeglut
    selected: 3.2.1
   protected: none
     omitted: none

 x11-drivers/xf86-input-keyboard
    selected: 1.9.0
   protected: none
     omitted: none

 app-text/openjade
    selected: 1.3.2-r9
   protected: none
     omitted: none

 media-libs/portmidi
    selected: 217-r3
   protected: none
     omitted: none

 virtual/cargo
    selected: 1.37.0
   protected: none
     omitted: none

 sys-kernel/gentoo-sources
    selected: 5.4.38
   protected: none
     omitted: 5.4.72

 dev-libs/libpthread-stubs
    selected: 0.4-r1
   protected: none
     omitted: none

 dev-python/pyblake2
    selected: 1.1.2
   protected: none
     omitted: none

 virtual/python-typing
    selected: 0-r1
   protected: none
     omitted: none

 dev-go/sanitized-anchor-name
    selected: 0_pre20151027
   protected: none
     omitted: none

 dev-python/sqlalchemy
    selected: 1.3.3
   protected: none
     omitted: none

 dev-python/whoosh
    selected: 2.7.4
   protected: none
     omitted: none

 sys-libs/compiler-rt
    selected: 10.0.0
   protected: none
     omitted: 10.0.1

 app-text/docbook-sgml-dtd
    selected: 3.0-r4
   protected: none
     omitted: none

 x11-libs/libXScrnSaver
    selected: 1.2.3
   protected: none
     omitted: none

 sys-libs/compiler-rt-sanitizers
    selected: 10.0.0
   protected: none
     omitted: 10.0.1

 dev-python/typing
    selected: 3.7.4.3
   protected: none
     omitted: none

 virtual/glu
    selected: 9.0-r2
   protected: none
     omitted: none

 media-libs/glu
    selected: 9.0.1
   protected: none
     omitted: none

 sys-devel/gcc
    selected: 8.3.0-r1
   protected: none
     omitted: 9.3.0-r1
Again, as with gentoo-sources, it's just removing an old version.

 sys-devel/gcc
    selected: 9.2.0-r2
   protected: none
     omitted: 9.3.0-r1
Two old versions.

 sys-devel/binutils
    selected: 2.32-r1
   protected: none
     omitted: 2.34-r2
Again - there are many slotted packages where you no longer have any reason to keep the older version(s) around, no matter how long it took to install them.

 sys-devel/binutils
    selected: 2.33.1-r1
   protected: none
     omitted: 2.34-r2

 sys-devel/clang
    selected: 8.0.1
   protected: none
     omitted: 10.0.1

 sys-devel/clang-runtime
    selected: 8.0.1
   protected: none
     omitted: 10.0.1

 sys-libs/compiler-rt
    selected: 8.0.1
   protected: none
     omitted: 10.0.1

 sys-libs/compiler-rt-sanitizers
    selected: 8.0.1
   protected: none
     omitted: 10.0.1

 sys-devel/clang
    selected: 9.0.1
   protected: none
     omitted: 10.0.1

 sys-devel/clang-runtime
    selected: 9.0.1
   protected: none
     omitted: 10.0.1

 sys-libs/compiler-rt
    selected: 9.0.1
   protected: none
     omitted: 10.0.1

 sys-libs/compiler-rt-sanitizers
    selected: 9.0.1
   protected: none
     omitted: 10.0.1

 sys-devel/llvm
    selected: 9.0.1
   protected: none
     omitted: 10.0.1

 sys-devel/llvm
    selected: 8.0.1
   protected: none
     omitted: 10.0.1

 virtual/libffi
    selected: 3.3_rc0
   protected: none
     omitted: none

 sys-apps/rescan-scsi-bus
    selected: 1.57-r1
   protected: none
     omitted: none

 virtual/modutils
    selected: 0
   protected: none
     omitted: none

 app-admin/killproc
    selected: 2.13-r1
   protected: none
     omitted: none

 sys-apps/sg3_utils
    selected: 1.42
   protected: none
     omitted: none
You need to check this list carefully. If it is going to remove anything you really want to keep, add it to the world file. In cases where it is removing old version(s), you should be fine, unless you know some reason the old one is still necessary for you, but this seems unlikely.

All selected packages: =sys-kernel/gentoo-sources-5.4.66
=media-libs/glu-9.0.1 =sys-devel/llvm-8.0.1 =app-text/openjade-1.3.2-r9
=media-libs/portmidi-217-r3 =virtual/cargo-1.37.0
=dev-python/sqlalchemy-1.3.3 =sys-devel/gcc-8.3.0-r1
=sys-devel/llvm-9.0.1 =dev-python/sphinxcontrib-websupport-1.1.0
=sys-devel/clang-runtime-8.0.1 =x11-libs/wxGTK-3.0.4-r2
=media-gfx/potrace-1.15 =x11-drivers/xf86-video-dummy-0.3.8
=sys-apps/rescan-scsi-bus-1.57-r1 =dev-libs/libcroco-0.6.13
=dev-go/blackfriday-1.2_p20150720 =sys-devel/gcc-9.2.0-r2
=app-admin/metalog-20181125 =sys-libs/cracklib-2.9.7
=sys-kernel/gentoo-sources-5.4.60 =sys-devel/clang-runtime-10.0.0
=sys-kernel/gentoo-sources-5.4.38 =dev-python/typing-3.7.4.3
=dev-lang/vala-0.42.7 =media-libs/gegl-0.3.34
=media-gfx/mypaint-brushes-1.3.0-r1 =virtual/shadow-0
=dev-python/bz2file-0.98 =sys-libs/compiler-rt-10.0.0
=dev-python/asn1crypto-0.22.0 =virtual/glu-9.0-r2
=sys-devel/binutils-2.32-r1 =sys-apps/sg3_utils-1.42
=sys-kernel/gentoo-sources-4.19.72 =virtual/python-enum34-2
=x11-drivers/xf86-video-intel-2.99.917_p20190301 =dev-lang/mujs-1.0.5
=app-editors/nano-4.2 =dev-python/pyblake2-1.1.2
=app-admin/killproc-2.13-r1 =sys-libs/compiler-rt-sanitizers-10.0.0
=dev-python/whoosh-2.7.4 =x11-drivers/xf86-video-vesa-2.4.0
=sys-libs/compiler-rt-8.0.1 =dev-python/sphinx_rtd_theme-0.2.4
=sys-fs/btrfs-progs-4.19 =sys-devel/clang-8.0.1 =virtual/libffi-3.3_rc0
=sys-devel/clang-runtime-9.0.1 =x11-libs/libXScrnSaver-1.2.3
=sys-devel/clang-9.0.1 =virtual/modutils-0 =sys-apps/sdparm-1.10
=media-libs/freeglut-3.2.1 =dev-lang/vala-0.46.7
=x11-drivers/xf86-input-keyboard-1.9.0
=x11-drivers/xf86-video-nouveau-1.0.16
=dev-go/sanitized-anchor-name-0_pre20151027
=x11-drivers/xf86-video-fbdev-0.5.0 =x11-drivers/xf86-input-mouse-1.9.3
=app-text/docbook-sgml-dtd-3.0-r4 =sys-libs/compiler-rt-9.0.1
=dev-libs/iniparser-3.1-r1 =sys-devel/binutils-2.33.1-r1
=virtual/python-typing-0-r1 =sys-libs/compiler-rt-sanitizers-8.0.1
=dev-python/pyxattr-0.6.0-r1 =app-text/docbook-dsssl-stylesheets-1.79-r4
=dev-libs/libpthread-stubs-0.4-r1 =virtual/python-ipaddress-1.0-r1
=sys-libs/compiler-rt-sanitizers-9.0.1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Explicitly stated, just so you know.

Packages installed:   969
Packages in world:    285
Packages in system:   43
Required packages:    897
Number to remove:     72

Jack

Reply via email to