Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Python 3.7

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

Python 3.7

  • Quote

Post by pdr » Thu Jun 16, 2022 11:51 am

I've run into this before but I think you used eselect to fix it back then...

Latest "emerge -uavDN world" has an existing preserved lib: dev-libs/libffi -3.4.2-r1. Wants me to run "emerge @preserved-rebuild" to fix it. So I run:

Code: Select all

emerge -av @preserved-rebuild
and get back:

Code: Select all

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-lang/python:3.7".
(dependency required by "@preserved-rebuild" [argument])
For (I assume) upcoming purposes, /etc/python-exec/python-exec.conf has "python3.9" in it. There is nothing in /etc/portage/package.use/ for python, nor in /etc/portage/make.conf (no PYTHON_TARGETS, etc). If I DO run "eselect python list", I get 3.9, 3.10 (fallback), and 3.8 (fallback). If I run "emerge -s dev-lang/python" the only installed are dev-lang/python (3.10.4), dev-lang/python-exec (2.4.9), and dev-lang/python-exec-conf (2.4.6).

Any help appreciated. I thought the other day when I first looked into this I found a python3.7 listed somewhere, but the output from "eselect python list" is a little concerning..
Top
alamahant
Advocate
Advocate
Posts: 4034
Joined: Sat Mar 23, 2019 12:12 pm

  • Quote

Post by alamahant » Thu Jun 16, 2022 12:31 pm

Plz run

Code: Select all

emerge -cav python:3.7
to find which package needs python37 and then unmerge them all.
Also you can run

Code: Select all

grep -ir python_*3_7 /etc/portage/package.use

to double check.
But it may not be a use flag but a hard dependency.
So the first command is better.
Last edited by alamahant on Thu Jun 16, 2022 12:43 pm, edited 1 time in total.
:)
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Thu Jun 16, 2022 12:40 pm

You should do world, depclean, then preserved-rebuild, as otherwise preserved will try to rebuild stuff which would otherwise get removed.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic