Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I´m using yaourt in ArchLinux.

  • Is it possible to do a yaourt -Syu but only including packages from core/extra or what I want?
  • How to update single packages? yaourt -U <package> does not work (could not find or read package). Do I have to use yaourt -S <package>?

EDIT

  • There is a problem with using yaourt -S <package>: If there is no update available, the package will be reinstalled anyway
share|improve this question
add comment

1 Answer 1

For the first point:

Is it possible to do a yaourt -Syu but only including packages from core/extra or what I want?

According to the documentation, pacman (or yaourt in this case) will attempt to read pacman.conf each time it is invoked. So, did you try to comment the sections you don't want to be upgraded?

For the second point:

How to update single packages? yaourt -U <package> does not work (could not find or read package). Do I have to use yaourt -S <package>?

Pacman's install command -S it's, in fact, a synchronization. Installing or upgrading are done in the same way:

$ pacman -S <package>

Or:

$ yaourt -S <package>
share|improve this answer
    
Ok, but with selective update I meant giving the selection in the command line when doing the update. –  user905686 May 23 '12 at 13:00
add comment

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.