Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
More Slot Conflicts : Python
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 5:04 pm    Post subject: More Slot Conflicts : Python Reply with quote

Aloha !


Is it just me or is everyone plagued by freakin' slot conflicts ???
Just a month ago I had a HUGE slot conflict when updating Python, after I resolved it, you guessed it... MORE SLOT CONFLICTS !
This time from Perl. I ended up uninstalling everything from Perl and reinstalling again.

.


Then, when I finally had this giving me nothing new anymore :

Code:
emerge --update --newuse --deep @world


I was "stupid" enough to do an emerge --sync and look at this :


Code:
postsbox ~ # emerge --pretend portage

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/chardet-4.0.0  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/idna-3.2 [3.1] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/PySocks-1.7.1-r1  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/urllib3-1.26.6 [1.26.5] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/requests-2.25.1-r2  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] app-portage/gemato-16.2  PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"
[ebuild     U  ] sys-apps/portage-3.0.20-r6 [3.0.19] PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"

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

sys-apps/portage:0

  (sys-apps/portage-3.0.20-r6:0/0::gentoo, ebuild scheduled for merge) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    sys-apps/portage (Argument)

  (sys-apps/portage-3.0.19:0/0::gentoo, installed) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9" pulled in by
    sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?] required by (app-admin/webapp-config-1.55-r2:0/0::gentoo, installed) USE="portage" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                   
    sys-apps/portage[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?] required by (app-portage/gentoolkit-0.5.1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                   
    sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?] required by (dev-java/java-config-2.3.1:2/2::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                   

app-portage/gemato:0

  (app-portage/gemato-16.2:0/0::gentoo, ebuild scheduled for merge) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    >=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (sys-apps/portage-3.0.20-r6:0/0::gentoo, ebuild scheduled for merge) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  (app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9" pulled in by
    >=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (sys-apps/portage-3.0.19:0/0::gentoo, installed) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

dev-python/requests:0

  (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    dev-python/requests[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (app-portage/gemato-16.2:0/0::gentoo, ebuild scheduled for merge) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9" pulled in by
    dev-python/requests[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                   

dev-python/urllib3:0

  (dev-python/urllib3-1.26.6:0/0::gentoo, ebuild scheduled for merge) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    <dev-python/urllib3-1.27[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/urllib3-1.26.5:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9" pulled in by
    <dev-python/urllib3-1.27[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

dev-python/PySocks:0

  (dev-python/PySocks-1.7.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    >=dev-python/PySocks-1.5.8[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/urllib3-1.26.6:0/0::gentoo, ebuild scheduled for merge) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
    <dev-python/PySocks-2.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/urllib3-1.26.6:0/0::gentoo, ebuild scheduled for merge) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/PySocks-1.7.1-r1:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9" pulled in by
    <dev-python/PySocks-2.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/urllib3-1.26.5:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
    >=dev-python/PySocks-1.5.8[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/urllib3-1.26.5:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

dev-python/idna:0

  (dev-python/idna-3.2:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    <dev-python/idna-4[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                   
    >=dev-python/idna-2.5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/idna-3.1:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9" pulled in by
    <dev-python/idna-4[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
    >=dev-python/idna-2.5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

dev-python/chardet:0

  (dev-python/chardet-4.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" pulled in by
    >=dev-python/chardet-3.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
    <dev-python/chardet-5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/chardet-4.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9" pulled in by
    >=dev-python/chardet-3.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
    <dev-python/chardet-5[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             


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. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

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

postbox  ~



-

First of ; What the hell !!!!
I literally had the whole system in order and four days later it is a mess again.

This is really becoming a structural problem and I was wondering if other users have the same.

Also I hope there is a solution to this other than never ever emerge-syncing again.
I am really beginning to doubt Gentoo as a whole, perhaps it is time to find another distro... that would actually suck :'(




Cheeeeeeeeeeeeeeeeers


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede


Last edited by jecepede on Fri Jul 02, 2021 3:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 30, 2021 5:14 pm    Post subject: Reply with quote

Something you are doing wrong.
I ve never had a major slot conflict in a long time.
Just update often and always depclean.
Furthermore it is NOT Gentoo's fault if you misconfigure
for example
Code:

[ebuild   R    ] dev-python/chardet-4.0.0  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/idna-3.2 [3.1] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/PySocks-1.7.1-r1  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/urllib3-1.26.6 [1.26.5] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/requests-2.25.1-r2  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] app-portage/gemato-16.2  PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"
[ebuild     U  ] sys-apps/portage-3.0.20-r6 [3.0.19] PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"


There should be NO ASTERISK after python3_9 and python3_8
We need maybe your
Code:

emerge --info | grep PYTHON
grep -r python /etc/portage

Your PYTHON_TARGETS variable seems improperly set.
:)
_________________
:)


Last edited by alamahant on Wed Jun 30, 2021 5:35 pm; edited 6 times in total
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 569
Location: Ásgarðr

PostPosted: Wed Jun 30, 2021 5:16 pm    Post subject: Reply with quote

How often do you update your system ? From my experience, I sync at least one time a week to avoid problem.
By the way, it might be a good idea to add --with-bdeps=y to your emerge command :

Code:
emerge --update --newuse --deep --with-bdeps=y @world
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 5:42 pm    Post subject: Reply with quote

Aloha !


Oh wow what a fast reply, I did not expect that. Thank you all for that :-)


.


Ok, here some of the requested output :


Code:
postbox / # emerge --info | grep PYTHON_TARGETS

USE="acl amd64 apache2 authdaemond berkdb bzip2 clamdtop cli crypt curl gd gdbm geoip hardened iconv imap ipv6 libglvnd libtirpc maildir multilib mysql mysqli ncurses nls nptl openmp pam pcre pdo php pie readline sasl seccomp spamassassin spell split-usr sqlite ssl ssp unicode urandom vda vhosts xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"

postbox  / #


Code:
postbox / # grep -r python /etc/portage
postbox / #




Code:
postbox  / # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8
postbox  / #



.


I update my system once every two/three weeks. Usually the updates are not that exiting.
Eg. : some-package/somethingsomethingdarkside 1.2.6 [1.2.5]


Uhmmm ASTERISK ???
I have not typed an * as far as I can remember. The system did this on it's own.


Oh "--with-bdeps=y" I will implement this in my automated script, seems like a good option.
Not sure what it does so I will have some reading to do :D




Cheeeeeeeeeeeeers,


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 30, 2021 5:47 pm    Post subject: Reply with quote

Mine
Code:

emerge -1av dev-python/idna

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/idna-3.2::gentoo  PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" 239 KiB

Total: 1 package (1 reinstall), Size of downloads: 239 KiB

Would you like to merge these packages? [Yes/No]

NO ASTERISK
If
Code:

postbox / # grep -r python /etc/portage
postbox / #

and
Code:

PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9"

It is impossible to have
Code:

[ebuild   R    ] dev-python/chardet-4.0.0  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/idna-3.2 [3.1] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/PySocks-1.7.1-r1  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild     U  ] dev-python/urllib3-1.26.6 [1.26.5] PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] dev-python/requests-2.25.1-r2  PYTHON_TARGETS="python3_9* -python3_8*"
[ebuild   R    ] app-portage/gemato-16.2  PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"
[ebuild     U  ] sys-apps/portage-3.0.20-r6 [3.0.19] PYTHON_TARGETS="python3_9* -python3_10% -python3_8*"

Something really strange is going on with your install.
_________________
:)


Last edited by alamahant on Wed Jun 30, 2021 6:08 pm; edited 2 times in total
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2718

PostPosted: Wed Jun 30, 2021 5:53 pm    Post subject: Re: Another reason to switch to a different distro... Reply with quote

jecepede wrote:
Code:
emerge --pretend portage
You can't emerge portage on its own when there's a python migration in progress (as announced in news item, py3.9 migration was ~30 days ago).

Do a normal world update instead, e.g. emerge -uUDav @world, if you don't have other conflicts (usually due to packages from overlays, handful of packages still 3.8-only, or outdated entries you put in package.use), then this should just work. If not, please give the new output, will take a look (I know it's hard to decipher).
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 6:06 pm    Post subject: Re: Another reason to switch to a different distro... Reply with quote

Aloha !


alamahant wrote:

Code:

[ebuild   R    ] dev-python/idna-3.2::gentoo  PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" 239 KiB

NO ASTERISK


I have asterisks :cry: (Well better asterisks than hemorrhoids :D :D )
Anyway, I thought it was like a wildcard for different Python 3.8/3.9 versions.
Can't figure out where it gets those or better, how te get rid of mine ?


.


Ionen wrote:
You can't emerge portage on its own when there's a python migration in progress (as announced in news item, py3.9 migration was ~30 days ago).
Do a normal world update instead, e.g. emerge -uUDav @world


I am on Python 3.9 and the portage thing was only a quick example of the conflicts.
Those conflicts are the essence of the problem, I cant update (AGAIN) due to the constantly appearing conflicts...



Cheeeeeeeeeeeeeeeers


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2718

PostPosted: Wed Jun 30, 2021 6:08 pm    Post subject: Reply with quote

I need to see the conflicts with `emerge -uUDvp @world` to know what's wrong, portage on its own isn't saying anything because this wasn't going to work either way and not what needs to be done.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Wed Jun 30, 2021 6:30 pm    Post subject: Re: Another reason to switch to a different distro... Reply with quote

jecepede wrote:
Aloha !

I have asterisks :cry: (Well better asterisks than hemorrhoids :D :D )
Anyway, I thought it was like a wildcard for different Python 3.8/3.9 versions.
Can't figure out where it gets those or better, how te get rid of mine ?


In te obvious way, of course
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 6:51 pm    Post subject: Reply with quote

Aloha !


Ionen wrote:
I need to see the conflicts with `emerge -uUDvp @world` to know what's wrong,
portage on its own isn't saying anything because this wasn't going to work either way and not what needs to be done.



Annnnnnnnnnnnnnnnnd here we have one of those 'magic' behaviours again.
Even though I synced just two days ago, I wanted to be absolutely sure I have the last portage tree so I did :

Code:
emerge --sync



and now........ no slot conflicts ?!?!?!?!?!

So I think "Let's try one package"... for example "dev-lang/python-3.9.6" and this works like a charm....
Ok, so far so good, let's try an other one : "sys-apps/file"



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

Calculating dependencies... done!
[ebuild     U  ] sys-apps/file-5.40-r3::gentoo [5.40-r2::gentoo] USE="bzip2 seccomp zlib -lzma -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-apps/portage:0

  (sys-apps/portage-3.0.20-r6:0/0::gentoo, ebuild scheduled for merge) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    sys-apps/portage[python_targets_python3_8(-)] required by (app-portage/gentoolkit-0.5.1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"

    sys-apps/portage[python_targets_python3_8(-)] required by (app-admin/webapp-config-1.55-r2:0/0::gentoo, installed) USE="portage" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"

    sys-apps/portage[python_targets_python3_8(-)] required by (dev-java/java-config-2.3.1:2/2::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"


app-portage/gemato:0

  (app-portage/gemato-16.2:0/0::gentoo, ebuild scheduled for merge) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    >=app-portage/gemato-14.5[python_targets_python3_8(-)] required by (sys-apps/portage-3.0.19:0/0::gentoo, installed) USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"


dev-python/requests:0

  (dev-python/requests-2.25.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    dev-python/requests[python_targets_python3_8(-)] required by (app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_7 -python3_9"


dev-python/urllib3:0

  (dev-python/urllib3-1.26.6:0/0::gentoo, ebuild scheduled for merge) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/urllib3-1.27[python_targets_python3_8(-)] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"


dev-python/PySocks:0

  (dev-python/PySocks-1.7.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    >=dev-python/PySocks-1.5.8[python_targets_python3_8(-)] required by (dev-python/urllib3-1.26.5:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"

    <dev-python/PySocks-2.0[python_targets_python3_8(-)] required by (dev-python/urllib3-1.26.5:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"


dev-python/idna:0

  (dev-python/idna-3.2:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/idna-4[python_targets_python3_8(-)] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"

    >=dev-python/idna-2.5[python_targets_python3_8(-)] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"


dev-python/chardet:0

  (dev-python/chardet-4.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/chardet-5[python_targets_python3_8(-)] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"

    >=dev-python/chardet-3.0.2[python_targets_python3_8(-)] required by (dev-python/requests-2.25.1-r2:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pypy3 -python3_10 -python3_7 -python3_9"



*SIGH*


Well let's look at the positive side : At least after a re-emerge of Python 3.9, the ASTERISKS are gone :lol:




Cheeeeeeeeeeeeeeers,


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 6:53 pm    Post subject: Re: Another reason to switch to a different distro... Reply with quote

mrbassie wrote:
jecepede wrote:
Aloha !

I have asterisks :cry: (Well better asterisks than hemorrhoids :D :D )
Anyway, I thought it was like a wildcard for different Python 3.8/3.9 versions.
Can't figure out where it gets those or better, how te get rid of mine ?


In te obvious way, of course



LOL !!! :lol: :lol: :lol: :lol: :lol: :lol:
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 30, 2021 7:02 pm    Post subject: Reply with quote

Ionen asked you to run
Code:

emerge -uUDvp @world

You mention
Code:

So I think "Let's try one package"... for example "dev-lang/python-3.9.6" and this works like a charm....
Ok, so far so good, let's try an other one : "sys-apps/file"

Plz dont emerge anything until your system settles in a stable state.
Also i hope you used emerge -1 when emerging the above two packages.
If not you recorded them in world file inviting HUGE conflicts in the future.
Plz do as Ionen advised you.
Followed by a
Code:

emerge -a --depclean

As a general rule of thumb avoid emerging packages explicitly
Let the selected profile USE, the make.conf USE and variables, and the package.use USE PULL naturally the packages for you.
If still you need something that was not naturally emerged THEN ONLY use
Code:

emerge -av <atom>

When reinstalling already installed packages
ALWAYS plz use
Code:

emerge -1av ........

Also plz keep your world file bloat free.
[url]
https://wiki.gentoo.org/wiki/User:Feng/World_file_(Portage)
[/url]
Also plz always depclean after updates.
Use something like
Code:

eix-sync
### or emerge --sync
emerge -uDNav --keep-going --with-bdeps=y @world
####OR
###emerge -uDUav --keep-going --with-bdeps=y @world
emerge  -a  --depclean
dispatch-conf

:)
_________________
:)
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 8:00 pm    Post subject: Reply with quote

Aloha !


okie, here goes..
Btw, the ASTERISKS are back :cry:

Code:
postbox  / # emerge -uUDvp @world

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

Calculating dependencies... done!
[ebuild     U  ] sys-apps/file-5.40-r3::gentoo [5.40-r2::gentoo] USE="bzip2 seccomp zlib -lzma -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8" 0 KiB
[ebuild     U  ] sys-process/lsof-4.94.0-r1::gentoo [4.94.0::gentoo] USE="ipv6 -examples -rpc (-selinux)" 0 KiB
[ebuild     U  ] dev-db/mysql-connector-c-8.0.25-r1:0/21::gentoo [8.0.25:0/21::gentoo] USE="-ldap -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS    ] sys-kernel/gentoo-sources-5.13.0:5.13.0::gentoo [5.12.0:5.12.0::gentoo, 5.12.4:5.12.4::gentoo, 5.12.9:5.12.9::gentoo, 5.12.12:5.12.12::gentoo, 5.12.13:5.12.13::gentoo] USE="-build -experimental -symlink" 116,509 KiB
[ebuild  N     ] dev-perl/common-sense-3.750.0::gentoo  14 KiB
[ebuild  N     ] dev-perl/Canary-Stability-2013.0.0::gentoo  5 KiB
[ebuild  N     ] dev-perl/Types-Serialiser-1.0.0-r1::gentoo  7 KiB
[ebuild  N     ] dev-perl/JSON-XS-4.30.0::gentoo  USE="-examples -test" 85 KiB
[ebuild  N     ] dev-perl/JSON-4.30.0::gentoo  USE="xs -examples -test" 90 KiB
[ebuild     U  ] dev-db/mysql-5.7.34-r1:5.7/18::gentoo [5.7.34:5.7/18::gentoo] USE="perl server -cjk (-client-libs) -cracklib -debug -experimental -jemalloc -latin1 -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -test (-libressl%)" ABI_X86="(64) -32 (-x32)" 7 KiB
[ebuild     U  ] dev-lang/python-3.8.11:3.8::gentoo [3.8.10_p1:3.8::gentoo] USE="gdbm hardened ipv6 ncurses readline sqlite ssl xml -bluetooth -build -examples -test -tk -verify-sig -wininst" 18,023 KiB
[ebuild     U  ] www-servers/apache-2.4.48-r1:2::gentoo [2.4.48:2::gentoo] USE="gdbm (split-usr) ssl suexec-caps -debug -doc -ldap (-selinux) -static -suexec -suexec-syslog -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_uwsgi% -proxy_wstunnel -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3 -lua5-4" 0 KiB
[ebuild     U  ] net-mail/courier-imap-5.1.3::gentoo [5.1.2::gentoo] USE="berkdb gdbm ipv6 -debug -fam -gnutls (-selinux) -trashquota (-libressl%)" 3,283 KiB
[ebuild  N     ] dev-perl/Mail-AuthenticationResults-2.202.101.120::gentoo  USE="-test" 31 KiB
[ebuild     U  ] app-antivirus/clamav-0.103.3-r1::gentoo [0.103.2::gentoo] USE="bzip2 clamdtop iconv ipv6 -clamonacc -clamsubmit -doc -libclamav-only -metadata-analysis-api -milter (-selinux) -systemd -test (-uclibc) -xml" 13,076 KiB
[ebuild   R    ] x11-base/xcb-proto-1.14.1::gentoo  ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9* -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] virtual/mta-1-r2::gentoo [1-r1::gentoo] 0 KiB
[ebuild     U  ] dev-lang/php-7.4.20:7.4::gentoo [7.4.19:7.4::gentoo] USE="acl apache2 berkdb bzip2 cli ctype curl fileinfo filter flatfile gd gdbm iconv imap ipv6 json mysql mysqli nls opcache pdo phar posix readline session simplexml spell sqlite ssl tokenizer unicode xml zlib -argon2 -bcmath -calendar -cdb -cgi -cjk -coverage -debug -embed -enchant -exif -ffi -firebird -fpm -ftp -gmp -inifile -intl -iodbc -jit -kerberos -ldap -ldap-sasl -libedit -lmdb -mhash -mssql -oci8-instant-client -odbc -pcntl -phpdbg -postgres -qdbm (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -systemd -sysvipc -test -threads -tidy -tokyocabinet -truetype -webp -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip" 10,104 KiB
[ebuild  NS    ] dev-lang/php-7.3.28:7.3::gentoo [7.4.19:7.4::gentoo, 8.0.7:8.0::gentoo] USE="acl apache2 berkdb bzip2 cli ctype curl fileinfo filter flatfile gd gdbm hash%* iconv imap ipv6 json%* mysql mysqli nls opcache pdo phar posix readline session simplexml spell sqlite ssl tokenizer unicode xml zlib -argon2 -bcmath -calendar -cdb -cgi -cjk -coverage -debug -embed -enchant -exif -firebird -fpm -ftp -gmp -inifile -intl -iodbc -jit -kerberos -ldap -ldap-sasl -libedit -lmdb -mhash -mssql -oci8-instant-client -odbc -pcntl -phpdbg -postgres -qdbm -recode% (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -systemd -sysvipc -test -threads -tidy -tokyocabinet -truetype -wddx% -webp -xmlreader -xmlrpc% -xmlwriter -xpm -xslt -zip -zip-encryption% (-ffi%)" 11,855 KiB
[ebuild   R    ] dev-python/PySocks-1.7.1-r1::gentoo  PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-python/chardet-4.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] dev-python/idna-3.2::gentoo [3.1::gentoo] PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 239 KiB
[ebuild   R    ] dev-python/ply-3.11-r1:0/3.11::gentoo  USE="-examples" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] dev-python/six-1.16.0::gentoo [1.15.0-r1::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10% -python3_8* (-python3_7%)" 34 KiB
[ebuild   R    ] dev-python/cython-0.29.23::gentoo  USE="-doc -emacs -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-python/pyinotify-0.9.6::gentoo  USE="-examples" PYTHON_TARGETS="python3_9* -pypy3 -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] mail-filter/pyzor-1.0.0_p20200523::gentoo  USE="gdbm mysql -doc -gevent -pyzord -redis -test" PYTHON_TARGETS="python3_9* -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-python/pycparser-2.20-r1::gentoo  PYTHON_TARGETS="python3_9* -pypy3 -python3_10% -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] dev-python/urllib3-1.26.6::gentoo [1.26.5::gentoo] USE="-brotli -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 284 KiB
[ebuild   R    ] dev-python/cffi-1.14.5:0/1.14.5::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_9* -python3_10% -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-python/requests-2.25.1-r2::gentoo  USE="-socks5 -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] app-portage/gemato-16.2::gentoo  USE="gpg -test -tools" PYTHON_TARGETS="python3_9* -pypy3 -python3_10% -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-python/cryptography-3.4.7-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10 -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] sys-apps/portage-3.0.20-r6::gentoo [3.0.19::gentoo] USE="(ipc) native-extensions rsync-verify (xattr) -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10% -python3_8* (-python3_7%)" 1,337 KiB
[ebuild   R    ] dev-python/pyopenssl-20.0.1::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_9* -pypy3 -python3_10% -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] app-admin/webapp-config-1.55-r2::gentoo  USE="portage" PYTHON_TARGETS="python3_9* -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] app-portage/gentoolkit-0.5.1::gentoo  USE="-test" PYTHON_TARGETS="python3_9* -pypy3 -python3_8* (-python3_7%)" 0 KiB
[ebuild   R    ] dev-java/java-config-2.3.1:2::gentoo  USE="-test" PYTHON_TARGETS="python3_9* -python3_8* (-python3_7%)" 0 KiB
[ebuild  NS    ] dev-db/phpmyadmin-5.1.1:5.1.1::gentoo [5.0.3:5.0.3::gentoo] USE="vhosts -setup" 7,571 KiB
[ebuild  NS    ] mail-client/roundcube-1.4.11:1.4.11::gentoo [1.4.10:1.4.10::gentoo] USE="mysql spell sqlite ssl vhosts -change-password -enigma -ldap -postgres" 6,884 KiB
[ebuild     U  ] dev-perl/Mail-DKIM-1.202.9.070::gentoo [0.440.0::gentoo] USE="-examples -test" 174 KiB
[ebuild  NS    ] www-apps/postfixadmin-3.3.9:3.3.9::gentoo [3.3.8:3.3.8::gentoo] USE="mysql vacation vhosts -postgres" 1,823 KiB
[ebuild   R    ] net-analyzer/fail2ban-0.11.2::gentoo  USE="(-selinux) -systemd" PYTHON_SINGLE_TARGET="python3_9* -python3_8* (-python3_7%)" 0 KiB

Total: 43 packages (15 upgrades, 6 new, 5 in new slots, 17 reinstalls), Size of downloads: 191,423 KiB



.


alamahant wrote:

Plz dont emerge anything until your system settles in a stable state.
Also i hope you used emerge -1 when emerging the above two packages.
If not you recorded them in world file inviting HUGE conflicts in the future.


Uhmmmmm Then how am I supposed to do a system upgrade and get it stable again
if I can't install separate packages ?

I ask this for the following reason :

Suppose I have three updates. (I actually have these updates)
- MySQL
- Apache
- Roundcube

I want to do this in steps. First update MySQL and see if I can still access my webmail,
then update Apache and see if I can still access my webmail
and last : Update my webmail and see if I can.. well you get the idea.

So I don't just want to run 15 upgrades, 6 new package installations and 17 reinstalls
just to pull my hair out later why my webmail suddenly stopped working....

Btw, in the last decade or so, I hardly ever used --oneshot.
All the packages I have are selected by the system itself and belong in the world file... I think... questionmark...


.


alamahant wrote:
Also plz always depclean after updates.
Use something like
Code:

eix-sync
### or emerge --sync
emerge -uDNav --keep-going --with-bdeps=y @world
####OR
###emerge -uDUav --keep-going --with-bdeps=y @world
emerge  -a  --depclean
dispatch-conf

:)


I usually do this to upgrade the system (well the --with-bdeps=y is new :lol: ) :

Code:
emerge --update --newuse --deep --with-bdeps=y @system
emerge --update --newuse --deep --with-bdeps=y @world
emerge --depclean
revdep-rebuild
eclean-dist --deep --verbose


And after each emerge I manually check the ._cfgxxxxx files if there are any.


.



Cheeeeeeeeeeeeeeeeeers,



Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Wed Jun 30, 2021 8:10 pm    Post subject: I like to move-it-move-it . . . Reply with quote

Aloha !

Here is one for the moderators :
This post is getting technical, maybe it should be renamed and moved to "Portage & Programming".



Cheeeeeeeeeeers,


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 30, 2021 8:20 pm    Post subject: Reply with quote

Of ciurse you can update packages individually.
But first get rid of slot conflict mess.
If you want to later update individually
just do
Code:

emerge --sync
emerge -1av mariadb
emerge -1av apache2

as i suggested above.
If updates are available the packages will be updated,pulling any needed dependency updates.
:)
_________________
:)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Wed Jun 30, 2021 8:26 pm    Post subject: Reply with quote

jecepede,

If you wan to rename the topic, edit the title in your first post.

The * indicate USE changes from the currently installed settings.

Updating to python as you did did not involve any slot changes. You already had python in slot 3.9. You changed it for a newer one.

If your world file is polluted from not using --oneshot when you should, that makes for future problems.
You may be seeing those now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Thu Jul 01, 2021 2:32 am    Post subject: Re: I like to move-it-move-it . . . Reply with quote

jecepede wrote:
...

Do you read the news?
Code:
eselect news read new

Read and heed.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Fri Jul 02, 2021 3:51 pm    Post subject: Reply with quote

Aloha !


alamahant wrote:
But first get rid of slot conflict mess.

On it like suggested in some previous posts.


NeddySeagoon wrote:
If you wan to rename the topic, edit the title in your first post.

Done :-D


NeddySeagoon wrote:
The * indicate USE changes from the currently installed settings.

Owwwww I did not know that. It now make sense why it wants to re-emerge those packages...


figueroa wrote:
Do you read the news?
Code:
eselect news read new

Why naturally I did. (Understanding is a whole different cup-a-tea)
Could you please be more specific ? What news item do you mean ?


NeddySeagoon wrote:
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

SOOOOO recognisable ! And yes, I test my backups on a virtual machine :D


Anyway, I will be slaving away trying to get rid of all the conflicts (again)
Even though my problem has not been resolved yet, I do like to thank all you guys'n'girls for the help.
Always feel a bit bad I can hardly help other people on this forum. My knowledge is not that extensive...




Cheeeeeeeeeeeeeers,


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Fri Jul 02, 2021 4:07 pm    Post subject: Reply with quote

jecepede,

You need to understand the difference between -N and -U as the meaning of the * was new to you.

-N rebuilds a package regardless of any effect it may have on installed code.
-U rebuilds a package only if the installed code changes.

Most of the time -U is enough. Now and again, -N can help.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Fri Jul 02, 2021 4:32 pm    Post subject: Reply with quote

Code:
eselect news read 2021-05-05-python3-9

Follow the rule that less is bettter. 1. Never put python targets in make.conf. 2. If necessary, put python targets in package.use. I have NO python targets in either file.

During the python transition, I updated my several systems to the new default by doing nothing except:
Code:
emerge -uDU @world -p

then
Code:
emerge -cp

I like using the -p switch because it gives me time without rush to study the output before pulling the trigger. Pulling the trigger means remove the -p.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Mon Jul 05, 2021 12:12 pm    Post subject: Reply with quote

Aloha !


NeddySeagoon wrote:
-N rebuilds a package regardless of any effect it may have on installed code.
-U rebuilds a package only if the installed code changes.


Went trhough all the options of emerge and learned something again :-)

On a sidenote, I try to use the extended way of writing when I issue commands.
For example --changed-use in stead of -U.
It is very easy to make a typo like -u which means --update and not --change-use.

Also-also... It will help me understanding a bit better what it is going to do.


.


figueroa wrote:
Code:
eselect news read 2021-05-05-python3-9

Follow the rule that less is bettter. 1. Never put python targets in make.conf. 2. If necessary, put python targets in package.use. I have NO python targets in either file.


1 - Agree, I think I actually read on the Gentoo Wiki this is a HIGHLY discouraged practice. Only do this if you actually know what you are doing.
2 - Same here... I have got nothing there either. The system should be smart enough to figure out what it wants.


.


figueroa wrote:
Code:
emerge -uDU @world -p

then
Code:
emerge -cp


It's running as we speak :-)
Almost finished and as far as I can teel, no slot conflicts anymore :-)

Hopefully slot conflicts will stay away now. That was my initial reason for posting here in the first place.
These conflicts stay away for one or two week and then they reappear again for no apparent reason.... #HopeForTheBest




Cheeeeeeeeeeeers,


Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Mon Jul 05, 2021 3:46 pm    Post subject: Reply with quote

With the shorter emerge switches, muscle memory kicks in quickly. I thought changing from -N to -U would be impossible to do reliably, but within a few uses, emerge -uDU -P was flying off my figertips.

Maybe you have dependencies in your /var/lib/portage/world. Best practices can prevent a lot of grief. Slot conflicts should be exraordinaily rare for a stable arch.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 239

PostPosted: Mon Jul 05, 2021 5:01 pm    Post subject: Reply with quote

Aloha !

figueroa wrote:
With the shorter emerge switches, muscle memory kicks in quickly


At my age, muscle memory isn't what it used to be.
I mean, I still worked with IBM mainframes that had 9-track-tapes and punchcards :wink:



Cheeeeeeeeeeers

Jecepede
_________________
I've got that retro-feeling :
http://instagram.com/jecepede

Check out my YouTube channel
https://www.youtube.com/jecepede
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Mon Jul 05, 2021 7:40 pm    Post subject: Reply with quote

jecepede,

That old? :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Jul 06, 2021 12:25 am    Post subject: Reply with quote

NeddySeagoon wrote:
jecepede,

That old? :)

"out past the cornfields where the woods got heavy, in the back seat of my '60 Chevy" Actually it was a '59

and "Lordy I remember!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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