Only python311 will be uninstalled. This is what the command does.
These "optionally requires python" are false alarms, since this package declares "provides=("python=$pkgver")" incorrectly.
Git Clone URL: | https://aur.archlinux.org/python311.git (read-only, click to copy) |
---|---|
Package Base: | python311 |
Description: | Major release 3.11 of the Python high-level programming language |
Upstream URL: | https://www.python.org/ |
Licenses: | custom |
Provides: | python |
Submitter: | soh |
Maintainer: | soh |
Last Packager: | soh |
Votes: | 18 |
Popularity: | 3.57 |
First Submitted: | 2024-04-27 13:04 (UTC) |
Last Updated: | 2024-12-27 14:16 (UTC) |
Only python311 will be uninstalled. This is what the command does.
These "optionally requires python" are false alarms, since this package declares "provides=("python=$pkgver")" incorrectly.
@micwoj92 (thanks for quick reply!!) first command (pacman -Qoq) lists only python311 (I guess this is good)
second command lists me all packages dependant of python (the package in repo) and gives me only the option to uninstall all these packages.
.../... :: tdb optionally requires python: for python bindings :: tevent optionally requires python: for python bindings :: usbutils optionally requires python: for lsusb.py usage :: util-linux-libs optionally requires python: python bindings to libmount :: vim-runtime optionally requires python: demoserver example tool :: xfsprogs optionally requires python: for xfs_scrub_all script :: zbar optionally requires python: for zbar python bindings
Package (1) Old Version Net Change
python311 3.11.11-1 -72,84 MiB
Total Removed Size: 72,84 MiB
:: Do you want to remove these packages? [Y/n]
If I answer Y - will it be only python311 that is uninstalled?
The question indicates 'these packages' (multiple). Probably it's only linguistic, but I'm not at ease at all with this
Check if you have no packages which still are installed in python3.11 directory pacman -Qoq /usr/lib/python3.11
.
Rebuild (or remove if you don't need) packages if you see anything there.
Make sure you have python
installed, just use sudo pacman -R python311
.
No packages depend explicitly on it, so there shouldn't be any problem.
How can I - in a safe way - remove this package without breaking my system?
@soh I was wrong in asking for that provides
change. Providing python implies providing the version of python that is in the official repos. These packages are not that version, and therefore should not provide it.
Get rid of it, please.
@soh, some random person requesting something completely wrong doesn't mean you should do it. provides is for drop-in replacements, this is not.
Edit: Especially when an AUR moderator told you months ago you were wrong. Seriously. https://aur.archlinux.org/packages/python310#comment-969868
@wleivam @EndlessEden @NikolayHD Thanks for the advice, I will have a look at these issues and make some changes accordingly.
@Namarrgon Please adapt the PKGBUILD to your own need. As we see in a comment under python312, someone is asking for adding "provides=python".
Please remove that "provides=python". It's technically wrong, it is misleading and only causes confusion. This PKGBUILD never was and never will be a drop-in replacement for whatever "extra/python" is. There is absolutely no positive effect for it being there either, it contributes no value.
Pinned Comments
soh commented on 2024-04-28 12:49 (UTC)
AUR moderators, please see my comment in python310 for my response to the deletion request by @MarsSeed:
https://aur.archlinux.org/packages/python310#comment-969759