[opensuse-packaging] changes in virtualbox package
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 Also I want to announce few (I think major) changes in our virtualbox package(sr#56739,56738): 1, dropped OSE postfix for vbox's main package and all subpackages - since 4.0.0 Oracle team doesn't build PUEL version so ose postfix is not needed - this means : virtualbox-ose will be deleted from Factory and new virtualbox package will appear - devel repo will change from Virtualization:virtualbox-ose to Virtualization:virtualbox 2, renamed xorg-x11-driver-virtualbox-ose subpackage to virtualbox-guest-x11 - this package doesn't contain only x11 drivers but also tools for propper x11 guest integration (same name for this stuff use also debian) 3, update to first 4.0.0 stable release 4,added "Provides: virtualbox-gui" line for virtualbox-qt subpackage and "Recommends: virtualbox-gui" line for virtualbox package (this is related to vboxgtk package - I will also create sr for this package soon ) Also I want to apologize to people who wants to have VBoxGuestAdditions.iso in our virtualbox package, I decide to NOT include it to our package for now (again), I think linux and windows binaries grabbed from outside of buildservice is not standard way how we do packaging in bs - also as I said many times user could still download iso using the gui menu. suggestions, comments, tips are welcome ! bye -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, Am 26.12.2010 21:35, schrieb Michal Šebeň:
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
Conflicts: virtualbox-ose-qt Obsoletes: virtualbox-ose-qt did this not work? This is how I do that in my local environment. How do you make the new virtualbox packages kick out the old -ose packages? Regards, Schlomo -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Conflicts: virtualbox-ose-qt Obsoletes: virtualbox-ose-qt
did this not work? This is how I do that in my local environment. How do
no it doesn't work in my case, I push your suggested lines into spec file and start zypper dup -r home_mseben but it didn't trigger update of virtualbox-qt again ....
you make the new virtualbox packages kick out the old -ose packages? I am using Provides Obsoletes keywords see : http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Renaming_a_... but as I wrote it didn't work for virtualbox-qt subpackage, I am not sure but I think it's caused by "Recommends:" relation
here is the spec file : https://build.opensuse.org/package/view_file?file=virtualbox.spec&package=virtualbox&project=Virtualization bye
Regards, Schlomo -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am 27.12.2010 23:17, schrieb Michal Šebeň:
Conflicts: virtualbox-ose-qt Obsoletes: virtualbox-ose-qt
did this not work? This is how I do that in my local environment. How do
no it doesn't work in my case, I push your suggested lines into spec file and start zypper dup -r home_mseben but it didn't trigger update of virtualbox-qt again ....
Isn't the "normal" way: Provides: virtualbox-ose-qt = %{version} Obsoletes: virtualbox-ose-qt < %{version} ? http://old-en.opensuse.org/Upgrade_Dependencies#Renaming_a_package Wolfgang -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am 27.12.2010 23:17, schrieb Michal Šebeň:
I am using Provides Obsoletes keywords see : http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Renaming_a_... but as I wrote it didn't work for virtualbox-qt subpackage, I am not sure but I think it's caused by "Recommends:" relation
here is the spec file : https://build.opensuse.org/package/view_file?file=virtualbox.spec&package=virtualbox&project=Virtualization
I missed that before, but: Provides: %{name}-ose <= %version is wrong. %{name}-ose = %version is the correct syntax. Wolfgang -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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
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@suse.de
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 29 December 2010, Michal Šebeň wrote:
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
it seems you obsolete virtualbox-ose somewhere but do not provide it. add the same provides: virtualbox-ose = %{version} to the place where you obsolete it. provides/obsoletes is the way to simulate a rename, which is what has happened here. (kind of ironic that we changed the package name from virtualbox to virtualbox-ose just to change it now back again.. ). Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
it seems you obsolete virtualbox-ose somewhere but do not provide it. add the same provides: virtualbox-ose = %{version} to the place where you obsolete it.
hm ... only virtualbox main package obsoletes virtualbox-ose and this package (virtualbox) also provides: virtualbox-ose = %{version} see lines 93,94 : https://build.opensuse.org/package/view_file?file=virtualbox.spec&package=virtualbox&project=Virtualization this looks fine for me ...
provides/obsoletes is the way to simulate a rename, which is what has happened here.
(kind of ironic that we changed the package name from virtualbox to virtualbox-ose just to change it now back again.. ).
Greetings, Dirk
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Dirk Müller
-
Michal Šebeň
-
Schlomo Schapiro
-
Wolfgang Rosenauer