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

Johannes Kastl mail at ojkastl.de
Fri Jan 23 08:38:26 UTC 2015


-----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.

Regards,
Johannes
- -- 
Coming back to where you started is not the same as never leaving.
(Terry Pratchett)
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/

iEQEARECAAYFAlTCCH0ACgkQzi3gQ/xETbIRzgCXYQXyRw9PblpB3adbb8VzzYeI
SgCTBAWrm0S4pKnFYgyS5jsMP0RUAw==
=YDY7
-----END PGP SIGNATURE-----



More information about the lxc-devel mailing list