[lxc-users] Lower Version ??

Dwight Engen dwight.engen at oracle.com
Fri May 2 01:08:13 UTC 2014


On Thu, 1 May 2014 20:28:44 -0400
CDR <venefax at gmail.com> wrote:

> Dear Friends
> 
> I followed this instructions
> 
> git clone git://github.com/lxc/lxc
> cd lxc
> git am /path/to/0001-have-systemd-
> service-call-lxc-autostart-via-script.patch
> ./autogen.sh
> ./configure
> make rpm
> yum reinstall ~/rpmbuild/RPMS/x86_64/lxc*
> 
> but the RPMs genrated are of a lower version of what I had, compiled
> from code
> 
> I get now
> /root/rpmbuild/RPMS/x86_64/lxc-1.0.0-1.fc20.x86_64.rpm
> /root/rpmbuild/RPMS/x86_64/lxc-devel-1.0.0-1.fc20.x86_64.rpm
> /root/rpmbuild/RPMS/x86_64/lxc-debuginfo-1.0.0-1.fc20.x86_64.rpm
> /root/rpmbuild/RPMS/x86_64/lxc-libs-1.0.0-1.fc20.x86_64.rpm
> 
> but I have installed
> 
> rpm -qa | grep lxc
> lxc-devel-1.0.3-1.fc20.x86_64
> libvirt-daemon-driver-lxc-1.1.3.4-4.fc20.x86_64
> lxc-libs-1.0.3-1.fc20.x86_64
> lxc-debuginfo-1.0.3-1.fc20.x86_64
> lxc-1.0.3-1.fc20.x86_64
> 
> 
> Did I missed something?

This is because you are building against git master, 1.0.3 is the
stable branch. Stéphane, I wonder if we should set lxc_version_micro in
master's configure.ac to x or git or something to make it clear that it
isn't the tagged 1.0.0? Of course I don't know if .x is considered
"newer" than .3 for an rpm upgrade but it would be less confusing for
people building their own rpm.

> Thanks for your continued assistance.

Philip, you can uninstall your current packages with rpm -e lxc-devel
lxc-debuginfo lxc-libs lxc and then install the ones you built.

> Philip
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list