[lxc-devel] Dependency on correct lxc-libs missing in the spec?

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jan 23 17:06:51 UTC 2015


Quoting Johannes Kastl (mail at ojkastl.de):
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi everyone,
> 
> as I have multiple repositories enabled on my openSUSE machine, each
> of with contains a different version of lxc and lxc-libs, I found that
> it is possible mix versions of lxc and lxc-libs. That means, that lxc
> does not depend on a matching version of lxc-libs.
> 
> > $ zypper search --details --match-exact lxc-libs Loading repository
> > data... Reading installed packages...
> > 
> > S | Name     | Type    | Version                 | Arch   |
> > Repository
> >  
> > --+----------+---------+-------------------------+--------+-----------------------------------------------------------------------------
> >
> > 
> v | lxc-libs | package | 1.99.ce72f6b.HEAD-8.1   | x86_64 |
> openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_HEAD_git_snapshot
> > v | lxc-libs | package | 1.1.99.ce72f6b.rc1-11.1 | x86_64 |
> > openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.1_git_snapshot
> >
> > 
> i | lxc-libs | package | 1.1.0~rc1-2.1           | x86_64 |
> openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.1
> > v | lxc-libs | package | 1.0.99.a4aed37-7.1      | x86_64 |
> > openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.0_git_snapshot
> >
> > 
> v | lxc-libs | package | 1.0.7-3.1               | x86_64 |
> openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.0
> > v | lxc-libs | package | 1.99.ce72f6b.HEAD-8.1   | i586   |
> > openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_HEAD_git_snapshot
> >  v | lxc-libs | package | 1.1.99.ce72f6b.rc1-11.1 | i586   |
> > openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.1_git_snapshot
> >
> > 
> v | lxc-libs | package | 1.1.0~rc1-2.1           | i586   |
> openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.1
> > v | lxc-libs | package | 1.0.99.a4aed37-7.1      | i586   |
> > openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.0_git_snapshot
> >
> > 
> v | lxc-libs | package | 1.0.7-3.1               | i586   |
> openSUSE_Tumbleweed_ojkastl_buildservice_LXC_Vanilla_stable-1.0
> 
> Basically, if I just tell zypper to install lxc-1.0.7, the lxc-libs
> package would remain at whatever is installed at the moment. Probably
> not what the user wants.
> 
> Adding a Requires to the libs-section in the spec should help, I
> guess. I'll try it locally and report back.

Cool, sounds reasonable, patch appreciated :)

thanks

-serge


More information about the lxc-devel mailing list