Is there any equivalent to FreeBSD's portupgrade -R in Arch Linux?
From man portupgrade:

 --upward-recursive     Act on all those packages required by the given
                        packages as well.

The Arch Linux package manager, pacman automatically manages dependencies.

If by ports you mean those third-party packages provided by Arch users in the unsupported repo (AUR), then some of the AUR helpers have an option to update dependencies. Yaourt, for example, will do this.

However, as the yaourt page on the wiki makes clear, it is neither wise nor advisable to completely automate this recursively.

Given the number of packages in Arch's official repos, this is not really an issue. There will be very few packages from AUR that have extensive dependencies, so upgrading them individually is neither difficult nor onerous.

  • Does pacman -S some_package automaticaly syncs the packages wich some_package depends on? – Eugene Yarmash Oct 19 '11 at 9:05
  • Yes. It will pull in the required dependencies. – jasonwryan Oct 19 '11 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.