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

Tom H tomh0665 at gmail.com
Thu Nov 21 22:07:52 UTC 2013


On Wed, Nov 20, 2013 at 9:55 PM, sktsee <sktseer at gmail.com> wrote:
> On Wed, 20 Nov 2013 20:29:28 +0200, Kevin Wilson wrote:
>>
>> I no tried on a new machine, on which Ubunutu 13.04 was just installed
>> today.
>> Nothing else was done on this machine. The lxc package is not installed
>> yet.
>> When I  try "apt-get source lxc"
>> I have this result, which shows that it tries to download  lxc
>> 1.0.0~alpha1....
>> There is some networking error. But still , I think that if I will run
>> "apt-get install lxc" it will install lxc 0.9. So what should I do to
>> install lxc -0.9 from source (and not lxc -1.0.0 alpah)?
>
> You are running into this bug:
>
> apt-get source ignores default release when source package selected
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1179999

Thanks for tracking down the bug.

Unless I've misunderstood, the dpkg/apt developer says in the Debian
bug that if you have both the deb and deb-src entries, apt-source does
the right thing, which isn't the OP's experience.




More information about the ubuntu-users mailing list