Hi, this could be me being stupid or it could be a zypper dup bug. I built blender-2.49a-71.1 for the purpose of submission to factory to update blender from 2.48a to 2.49a and at the same time renamed subpackage blender-devel to blender-plugins-devel to avoid confusion as the package is for plugin development. I tried to follow the wiki "renaming a package" conventions. If I "zypper in blender" I get offered the latest factory 2.48a build, if I zypper if blender it states that -2.49a-71.1 is the latest version When I perform a zypper dup -r plagraf (which is the alias for home:plater:branches:graphics ) I get this output :- Problem: problem with installed package blender-devel-2.48a-2.106.x86_64 Solution 1: Following actions will be done: keep blender-devel-2.48a-2.106.x86_64 keep blender-2.48a-2.106.x86_64 Choose the above solution using '1' or cancel using 'c' [1/c] (c): c This is what is in the spec file :- %package plugins-devel Summary: Include files for blender plugin development Group: Development/Libraries/C and C++ Requires:<----->%{name} = %{version}-%{release} # blender-devel renamed to blender-plugins-devel on update to v2.49a Provides:<----->blender-devel = %{version}-%{release} Obsoletes: blender-devel < %{version} Recommends:<--->blender-doc Version 2.48a spec has this in it :- %package devel License: GPL v2 or later Summary: 3D Animation and Rendering Software Group: Productivity/Graphics/Visualization/Raytracers Requires: %name = %version The problem is zypper refuses to install the updated package. Can someone shed light whether this is me misunderstanding what to write in the spec file or a zypper bug, yast simply gives a vedor change option. Thanks Dave P -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 08/19/2009 08:16 AM, Dave Plater wrote:
Hi, this could be me being stupid or it could be a zypper dup bug. I built blender-2.49a-71.1 for the purpose of submission to factory to update blender from 2.48a to 2.49a and at the same time renamed subpackage blender-devel to blender-plugins-devel to avoid confusion as the package is for plugin development. I tried to follow the wiki "renaming a package" conventions. If I "zypper in blender" I get offered the latest factory 2.48a build, if I zypper if blender it states that -2.49a-71.1 is the latest version When I perform a zypper dup -r plagraf (which is the alias for home:plater:branches:graphics ) I get this output :-
Problem: problem with installed package blender-devel-2.48a-2.106.x86_64 Solution 1: Following actions will be done: keep blender-devel-2.48a-2.106.x86_64 keep blender-2.48a-2.106.x86_64
Choose the above solution using '1' or cancel using 'c' [1/c] (c): c
This is what is in the spec file :-
%package plugins-devel Summary: Include files for blender plugin development Group: Development/Libraries/C and C++ Requires:<----->%{name} = %{version}-%{release} # blender-devel renamed to blender-plugins-devel on update to v2.49a Provides:<----->blender-devel = %{version}-%{release} Obsoletes: blender-devel < %{version} Recommends:<--->blender-doc
Version 2.48a spec has this in it :-
%package devel License: GPL v2 or later Summary: 3D Animation and Rendering Software Group: Productivity/Graphics/Visualization/Raytracers Requires: %name = %version
The problem is zypper refuses to install the updated package. Can someone shed light whether this is me misunderstanding what to write in the spec file or a zypper bug, yast simply gives a vedor change option. Thanks Dave P
Just to add, I performed ":zypper -vv in -d http://download.opensuse.org/repositories/home:/plater:/branches:/graphics/s..." and this is what happened, which is what I would have expected from zypper dup :- The following package is going to be REMOVED: blender-devel 2.48a-2.106 x86_64 openSUSE The following package is going to be upgraded: blender 2.48a-2.106 -> 2.49a-78.1 x86_64 Plain RPM files cache openSUSE -> openSUSE Build Service The following package is going to change vendor: blender 2.48a-2.106 -> 2.49a-78.1 x86_64 Plain RPM files cache openSUSE -> openSUSE Build Service The following package is not supported by its vendor: blender 2.49a-78.1 x86_64 Plain RPM files cache openSUSE Build Service Regards Dave P -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 8/19/2009 at 8:16, Dave Plater <dave.plater@yahoo.co.uk> wrote: Hi, this could be me being stupid or it could be a zypper dup bug. I built blender-2.49a-71.1 for the purpose of submission to factory to update blender from 2.48a to 2.49a and at the same time renamed subpackage blender-devel to blender-plugins-devel to avoid confusion as the package is for plugin development. I tried to follow the wiki "renaming a package" conventions. If I "zypper in blender" I get offered the latest factory 2.48a build, if I zypper if blender it states that -2.49a-71.1 is the latest version When I perform a zypper dup -r plagraf (which is the alias for home:plater:branches:graphics ) I get this output :-
Problem: problem with installed package blender-devel-2.48a-2.106.x86_64 Solution 1: Following actions will be done: keep blender-devel-2.48a-2.106.x86_64 keep blender-2.48a-2.106.x86_64
I'm not sure if zypper dup limited to a repository is going to be a good idea. Dup normally goes the way that 'all the packages available' are valid, everything else would be obsoleted... so a dup against a small project would render the entire system obsoleted (but this might also not be true anymore.. that's just what I remember). So, why does zypper up blender not suggest to update? This could have to do with repo priorities in my opinion. You should be able to either change your repo to a higher prio than the repo you currently get blender from? Dominique -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 08/19/2009 08:54 AM, Dominique Leuenberger wrote:
On 8/19/2009 at 8:16, Dave Plater <dave.plater@yahoo.co.uk> wrote:
Hi, this could be me being stupid or it could be a zypper dup bug. I built blender-2.49a-71.1 for the purpose of submission to factory to update blender from 2.48a to 2.49a and at the same time renamed subpackage blender-devel to blender-plugins-devel to avoid confusion as the package is for plugin development. I tried to follow the wiki "renaming a package" conventions. If I "zypper in blender" I get offered the latest factory 2.48a build, if I zypper if blender it states that -2.49a-71.1 is the latest version When I perform a zypper dup -r plagraf (which is the alias for home:plater:branches:graphics ) I get this output :-
Problem: problem with installed package blender-devel-2.48a-2.106.x86_64 Solution 1: Following actions will be done: keep blender-devel-2.48a-2.106.x86_64 keep blender-2.48a-2.106.x86_64
I'm not sure if zypper dup limited to a repository is going to be a good idea. Dup normally goes the way that 'all the packages available' are valid, everything else would be obsoleted... so a dup against a small project would render the entire system obsoleted (but this might also not be true anymore.. that's just what I remember).
So, why does zypper up blender not suggest to update? This could have to do with repo priorities in my opinion. You should be able to either change your repo to a higher prio than the repo you currently get blender from?
Dominique
See https://bugzilla.novell.com/show_bug.cgi?id=526467#c7 for the reason why "up" and "in" won't work. Either I've misunderstood the wiki, the wiki is wrong or "zypper dup" has a bug. Regards Dave P -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 08/19/2009 08:16 AM, Dave Plater wrote:
Hi, this could be me being stupid or it could be a zypper dup bug. I built blender-2.49a-71.1 for the purpose of submission to factory to update blender from 2.48a to 2.49a and at the same time renamed subpackage blender-devel to blender-plugins-devel to avoid confusion as the package is for plugin development. I tried to follow the wiki "renaming a package" conventions. If I "zypper in blender" I get offered the latest factory 2.48a build, if I zypper if blender it states that -2.49a-71.1 is the latest version When I perform a zypper dup -r plagraf (which is the alias for home:plater:branches:graphics ) I get this output :-
Problem: problem with installed package blender-devel-2.48a-2.106.x86_64 Solution 1: Following actions will be done: keep blender-devel-2.48a-2.106.x86_64 keep blender-2.48a-2.106.x86_64
Choose the above solution using '1' or cancel using 'c' [1/c] (c): c
This is what is in the spec file :-
%package plugins-devel Summary: Include files for blender plugin development Group: Development/Libraries/C and C++ Requires:<----->%{name} = %{version}-%{release} # blender-devel renamed to blender-plugins-devel on update to v2.49a Provides:<----->blender-devel = %{version}-%{release} Obsoletes: blender-devel < %{version} Recommends:<--->blender-doc
Version 2.48a spec has this in it :-
%package devel License: GPL v2 or later Summary: 3D Animation and Rendering Software Group: Productivity/Graphics/Visualization/Raytracers Requires: %name = %version
The problem is zypper refuses to install the updated package. Can someone shed light whether this is me misunderstanding what to write in the spec file or a zypper bug, yast simply gives a vedor change option. Thanks Dave P
Strange but true or maybe due to build service lag, zypper dup did what it was expected to do and deleted blender-devel and installed blender-plugins-devel. Anyway I renamed plugins-devel to devel and the summary explains it all. Back to the peaceful life. Regards Dave P -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Dave Plater
-
Dominique Leuenberger