Mailinglist Archive: opensuse-packaging (242 mails)

< Previous Next >
Re: [opensuse-packaging] changes in virtualbox package
  • From: Michal Šebeň <mseben@xxxxxxxxx>
  • Date: Wed, 29 Dec 2010 23:10:22 +0100
  • Message-id: <AANLkTikeUmiVTiJUihUR09WR9f=3xdt2oymQ=nCrzjb_@xxxxxxxxxxxxxx>
Hi,

I used provides/requires, but wrongly :
Provides: virtualbox-ose-qt <= %{version}
Obsoletes: virtualbox-ose-qt <= %{version}

I rewrite these rules to
Provides: virtualbox-ose-qt = %{version}
Obsoletes: virtualbox-ose-qt < %{version}

now it looks better (but it's still not perfect) if I had installed
virtualbox-ose-qt package (+all deps) from Virtualization repo and
then I try to do update from home:mseben repo
https://build.opensuse.org/package/show?package=virtualbox&project=home%3Amseben
I have to chose "do not keep virtualbox-ose-qt..." option, offered by
zypper and then update of virtualbox-qt is triggered :

zypper dup -r home_mseben
Problem: virtualbox-ose-qt-3.9.80-134.1.x86_64 requires virtualbox-ose =
3.9.80, but this requirement cannot be provided
deleted providers: virtualbox-ose-3.9.80-134.1.x86_64
Solution 1: Following actions will be done:
keep obsolete virtualbox-ose-3.9.80-134.1.x86_64
keep obsolete
virtualbox-ose-host-kmp-desktop-3.9.80_k2.6.34.7_0.5-134.1.x86_64
Solution 2: do not keep virtualbox-ose-qt-3.9.80-134.1.x86_64 installed
Solution 3: break virtualbox-ose-qt by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 2
Resolving dependencies...
Computing distribution upgrade...

The following NEW packages are going to be installed:
virtualbox virtualbox-host-kmp-desktop virtualbox-qt

The following packages are going to be REMOVED:
virtualbox-ose virtualbox-ose-host-kmp-desktop virtualbox-ose-qt


thanks for sugestions and tips

On Tue, Dec 28, 2010 at 9:38 AM, Adrian Schröter <adrian@xxxxxxx> wrote:
On Sunday 26 December 2010 21:35:26 Michal Šebeň wrote:
Hi all,

stable virtualbox 4.0.0 will be soon in Factory (I hope:) so here are
few announces:
if you will do update from Milestone2,3,4, 5 or from Factory you have
to remove virtualbox-ose-qt package and install virtualbox-qt by hand
(sorry I really don't know how to trigger update in this case for
virtualbox-ose-qt without adding auxiliar subpackage) - update from
11.3 to 11.4 will work fine

Adding

 Obsoletes: virtualbox-ose-qt
 Provides:  virtualbox-ose-qt

to virtualbox-qt package should be the solution, no ?

bye
adrian

--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups