Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

 -R
 --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

1 Answer 1

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

 
discard

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.