Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I tell aptitude to grab a package specifically from a PPA and ignore the one from official repository?

share|improve this question
Can you use Synaptic? I believe you can do this in aptitude's ncurses interface, but I don't think you can from the commandline. –  RolandiXor Jun 21 '11 at 14:29

2 Answers 2

up vote 1 down vote accepted

If you like to do it only once, just manual downloading and installing may be best way.

But if you'd like to update regulary, try to use APT pinning to force specific repo, you can find more on https://help.ubuntu.com/community/PinningHowto#line-153

I've never used it for repo only to specify package version, so i'm not sure how to make it work this way.

share|improve this answer

You can comment with # each official repo line, update aptitude, install, and uncomment these lines. Difficult, but works

share|improve this answer

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.