Installing source package of a speicified version (the one installed) in Ubuntu

Tom H tomh0665 at gmail.com
Tue Nov 19 21:50:06 UTC 2013


On Tue, Nov 19, 2013 at 9:02 PM, Colin Law <clanlaw at googlemail.com> wrote:
> On 19 November 2013 20:43, Kevin Wilson <wkevils at gmail.com> wrote:
>>
>> running
>> apt-cache policy lxc
>> shows:
>>
>> lxc:
>>   Installed: 0.9.0-0ubuntu3.7
>>   Candidate: 0.9.0-0ubuntu3.7
>>   Version table:
>>      1.0.0~alpha1-0ubuntu13~ubuntu13.04.1 0
>>         100 http://us.archive.ubuntu.com/ubuntu/
>> raring-backports/universe amd64 Packages
>>  *** 0.9.0-0ubuntu3.7 0
>>         500 http://us.archive.ubuntu.com/ubuntu/
>> raring-updates/universe amd64 Packages
>>         100 /var/lib/dpkg/status
>>      0.9.0-0ubuntu3 0
>>         500 http://us.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
>
> Please don't top post, it makes it difficult to follow the thread.  Thanks.
> That is odd, I would have expected it to install the later version
> from universe.

-backports has a priority of 100 and -updates has a priority of 500,
so it's normal that the candidate is 0.9.

Given that there aren't separate release files for binary and source
packages, it's difficult to understand why apt-source wants to pull in
the -backports version.

A WAG: maybe NotAutomatic and ButAutomaticUpgrades don't apply to apt-source!

The OP hasn't answered whether specifying "= 0.9.0-0ubuntu3.7" pulls
this version in.




More information about the ubuntu-users mailing list