View previous topic :: View next topic |
Author |
Message |
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 199
|
Posted: Sun Aug 18, 2024 2:50 am Post subject: What o do when portage gives no reason for a package mask? |
|
|
app-misc/mime-types-2.1.54::gentoo (masked by: )
Help please |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Sun Aug 18, 2024 6:40 am Post subject: |
|
|
Can you post the whole output? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 199
|
Posted: Sun Aug 18, 2024 10:27 pm Post subject: |
|
|
This box is quite out of date and I'm trying to update it using a binhost.
Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 6.04 s (backtrack: 11/20).
!!! Problems have been detected with your world file
!!! Please run emaint --check world
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
app-portage/layman dev-lang/python:2.7
!!! All ebuilds that could satisfy "app-misc/mime-types" for /mnt/host/ have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/mime-types-2.1.54::gentoo (masked by: )
(dependency required by "www-servers/apache-2.4.62::gentoo" [binary])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Mon Aug 19, 2024 8:18 am Post subject: |
|
|
python 2.7 is deprecated and was removed long time ago.
So you'll probably need to update in steps.
Let's see if you have any python 3 versions installed. Please run Code: | qlist -Iv 'dev-lang/python' |
_________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2400
|
Posted: Mon Aug 19, 2024 8:46 am Post subject: |
|
|
@Zucca it's not about python or layman, it's app-misc/mime-types.
Of course layman must be deselected. Python 2.7 is still available and at least for me emerge would happily try to instal it without conflicts:
Code: | emerge -av python:2.7
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 5.78 s (backtrack: 0/20).
[ebuild NS ] dev-lang/python-2.7.18_p16-r2:2.7::gentoo [3.12.3-r1:3.12::gentoo] USE="gdbm ncurses readline sqlite ssl xml%* (-berkdb) -bluetooth -build -examples -tk -valgrind -verify-sig -wininst% (-debug%) (-ensurepip%*) (-libedit%) (-pgo%) (-test%)" 0 KiB
Total: 1 package (1 in new slot), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] n
Quitting.
|
@zBrain
Emerge --info please. Also include the complete command you're running. Use wgetpaste or at least code tags. It's ugly to read unformatted output in a post.
p.s. are you using --getbinkg or --getbinpkgonly? Because there isn't a binary package on the binhost for python 2.7
p.s.2 there isn't 17.1 binhost anymore as I see, so if you're trying to use binary packages while still on 17.1 you won't get any. And if you haven't switched to 23.0 you should not use the binhost.
Best Regards,
Georgi
Last edited by logrusx on Mon Aug 19, 2024 9:25 am; edited 1 time in total |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Mon Aug 19, 2024 9:12 am Post subject: |
|
|
logrusx wrote: | @Zucca it's not about python or layman, it's app-misc/mime-types. |
zBrain wrote: | This box is quite out of date and I'm trying to update it using a binhost. | I wanted to know what python version there are. Because next steps would involve upgrading portage and then start emerging binary packages. Finally switch to a new profile.
python 2.7 being available and unmasked was a surprise to me as upstream has abandoned it last time I heard anything from it. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2400
|
Posted: Mon Aug 19, 2024 9:22 am Post subject: |
|
|
Zucca wrote: | python 2.7 being available and unmasked was a surprise to me as upstream has abandoned it last time I heard anything from it. |
It was never the intention to be dropped because upstream abandoned it. I've read multiple times Gentoo is not going to drop it for as long as there are patches and fixes, not necessarily from upstream. It'll eventually be dropped when it becomes unmaintanable, but currently it isn't and in the same time many people still need it.
p.s. I hate python for its frequent incompatible changes, issues and its wide adoption by people who have no clue of programming but solving somewhat significant problems and this making it necessary.
Best Regards,
Georgi |
|
Back to top |
|
|
|