Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Reverse dependencies rebuild packages. #1195

Open
fcolecumberri opened this issue May 9, 2024 · 1 comment
Open

[Feature Request] Reverse dependencies rebuild packages. #1195

fcolecumberri opened this issue May 9, 2024 · 1 comment

Comments

@fcolecumberri
Copy link

Have you checked the readme and man page for this feature?
yes and also pacman man page

Have you checked previous issues for this feature?
yes

The Request

There are some moments where some packages get upgraded, so the thing that are dependent on them should also get rebuild to target the new version (Some examples are Python as described https://wiki.archlinux.org/title/python#Module_not_found_after_Python_version_update and shared libraries like ffmpeg's suit as described https://wiki.archlinux.org/title/Frequently_asked_questions#What_if_I_run_a_full_system_upgrade_and_there_will_be_an_update_for_a_shared_library,_but_not_for_the_applications_that_depend_on_it? ).

The Arch wiki has a solution to this ( as described https://wiki.archlinux.org/title/Arch_User_Repository#Updating_packages ) which can be summarized in "that's your problem, rebuild the AUR packages yourself".

So I was wondering if there could be a way to do something like (I am using python as an example):

paru --rebuild-everything-that-depends-on=python

So the system can check the packages that depends on python, rebuild them and reinstalling them.

@Morganamilo
Copy link
Owner

There's --rebuildtree but it works on depends not reverse depends. I think some package reverse dep pipeline piped into paru is the way to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants