Am Sun, 11 May 2025 12:54:48 +0100 schrieb Wol <antli...@youngman.org.uk>:
> On 02/05/2025 18:07, Alan Mackenzie wrote: > > Hello, Gentoo. > > > > I've just been trying the update for python 3.13. It went well on my > > new machine (well, after unmerging app-portage/unsymlink-lib, which was > > debris from some 2019 update). > > I'm now trying to update my system. And it's not even fragile or wedged, > it just won't. > > I followed the instructions at the end - depclean, -1uVD, and it just > fails completely with "requires just one of 3_11 or 3_12". Including > important stuff like most of kde, systemd-dbus, and so on. > > I thought I'd try increasing backtrack like I usually do - to 100 - but > that made no difference. > > I missed out the stuff at the start of the news item, sorry, but see > below ... > > Giveb that I don't "do" Python, I've got nothing in make.conf that > mentions python. I guess I have nothing in package.use etc unless the > system set it for me ... > > So I guess I need to do the "safer" upgrade, but it gives me two lines > that look like comments, and says "use these to blah blah", How do I use > them? Where do I put them? I don't "do" python - this is double dutch to me. Hello. The "Safer upgrade procedure" in https://www.gentoo.org/support/news-items/2025-03-24-python3-13.html works for me like a charm. yes, looks funny for some people, if in /etc/portage/package.use/python there is something like */* PYTHON_TARGETS: -* python3_12 python3_13 */* PYTHON_SINGLE_TARGET: -* python3_12 But that is right. My old file consist of: */* PYTHON_TARGETS: -* python3_11 python3_12 */* PYTHON_SINGLE_TARGET: -* python3_12 so I start as mentioned in the news with emerge -1vUD @world emerge -a --depclean (I always take care and in doubt don't delete) Then change to */* PYTHON_TARGETS: -* python3_12 python3_13 */* PYTHON_SINGLE_TARGET: -* python3_12 and repeat with emerge. Finally change to */* PYTHON_TARGETS: -* python3_13 */* PYTHON_SINGLE_TARGET: -* python3_13 and repeat. It works for me and looks very straight forward. I got a non-systemd system and not that much packages. Hope you got a clean emerge @world at the beginning. Frank