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

Kevin Wilson wkevils at gmail.com
Tue Nov 19 15:28:48 UTC 2013


Hello,
I am running Ubuntu 13.04
When I try
apt-get install lxc

It installs  lxc 0.9.0.
I veirfied this by checking, after "apt-get install lxc", thus:

dpkg -l lxc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  lxc            0.9.0-0ubunt amd64        Linux Containers userspace tools


However, if I try to run:
 apt-get source lxc
I see the following files downloaded to the current directory:
lxc-1.0.0~alpha1
lxc_1.0.0~alpha1-0ubuntu13~ubuntu13.04.1.debian.tar.gz
lxc_1.0.0~alpha1-0ubuntu13~ubuntu13.04.1.dsc
lxc_1.0.0~alpha1.orig.tar.gz

So it downloads a newer source package, of lxc_1.0.0~alpha.

My question is: what should I do so that it will download the version
of lxc which I have installed,   lxc-0.9.0, and not the newer one ?

Regards,
Kevin




More information about the ubuntu-users mailing list