Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.
share|improve this question
I'm confused, is what your asking for the same things as this, stating that partial upgrades are unsupported? – sr_ Oct 19 '11 at 8:27
@sr_ I want to upgrade a package and everything it depends on. I would like to avoid the full upgrade with pacman -Syu – eugene y Oct 19 '11 at 8:57
up vote 4 down vote accepted

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.

share|improve this answer
Does pacman -S some_package automaticaly syncs the packages wich some_package depends on? – eugene y Oct 19 '11 at 9:05
Yes. It will pull in the required dependencies. – jasonwryan Oct 19 '11 at 9:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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