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

Kevin Wilson wkevils at gmail.com
Tue Nov 19 20:43:55 UTC 2013


Hi,
Here:
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


On Tue, Nov 19, 2013 at 5:41 PM, Colin Law <clanlaw at googlemail.com> wrote:
> On 19 November 2013 15:28, Kevin Wilson <wkevils at gmail.com> wrote:
>> 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:
>
> What does
> apt-cache policy lxc
> show?
>
> Colin
>
>>
>> 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
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list