Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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
$ apt-cache policy pal
  Installed: 0.4.3-8
  Candidate: 0.4.3-8
  Version table:
 *** 0.4.3-8 0
        500 quantal/universe i386 Packages
        100 /var/lib/dpkg/status

In the above output what is the meaning of 500 & 100.

share|improve this question
up vote 2 down vote accepted

Guiding me through the information obtained in this Debian HOWTO article I can say that it represents the priority of the repository package. In the previous link you can see an example.

While the number representing the priority is bigger, the priority for this repo is bigger.

After the "Version table:" line you have this format:

*** <some-version> <minimum-priority-to-consider>
   <priority-of-this-instance> <repository1>
   <priority-of-this-instance> <repository2>
*** <some-other-version> <minimum-priority-to-consider>
   <priority-of-this-instance> <repository3>
   <priority-of-this-instance> <repository4>

So in your output, for the version 0.4.3-8, the minimum priority to consider is 0 (zero). And the first mentioned repository has a big priority (500 is the greatest number there)

A version pin does NOT set a priority; it kicks in when any version exists anywhere that matches the version initializing the version that is going to be installed or upgraded, and then replacing that version with any version anywhere that has a larger priority than the requested version Pin-Priority, if any.

share|improve this answer
ok thank you and may I know how it will be utilized. – Raja Apr 18 '13 at 1:32
I added that information, it is mentioned in the link. – Lucio Apr 18 '13 at 16:26
the link is dead – Ciro Santilli 巴拿馬文件 六四事件 法轮功 Jul 26 '15 at 8:52
updated. thanks dude! – Lucio Aug 20 '15 at 0:30

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.