[Bug 520134] New: zypper and yast2 sw_single need an update package and all dependencies function
http://bugzilla.novell.com/show_bug.cgi?id=520134 Summary: zypper and yast2 sw_single need an update package and all dependencies function Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dave.plater@yahoo.co.uk QAContact: qa@suse.de Found By: --- When updating a single package it sometimes happens that a dependency needs to be updated but isn't because it's requires field lists major versions that are sometimes not quite up to date. For example if I right click on a package in yast2 sw_single I will have a menu item stating "Update with all dependencies" and clicking it will select the package for update and also update all the other packages that are required. If this function is used for MozillaFirefox for instance then the following packages will be marked for update if a newer version is available :- coreutils, bash, gconf2, shared-mime-info, desktop-file-utils, mozilla-xulrunner191, MozillaFirefox-branding-openSUSE, glibc, libasound2, libatk-1_0-0, cairo, fontconfig, etc. and all of their dependencies as well. I'm proposing something similar to a zypper dup which only updates a package with its dependencies and sets the same vendor for all packages. This removes the the problem of zypper dup replacing packman packages with opensuse ones. This feature would also be indispensable for finding out if bugs are due to a package dependency that wasn't pulled in at the right time. An example where this function would have solved a problem is bug 428394 where an updated cairo would have been pulled in. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520134
User monkey9@iae.nl added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c1
Robby Verberne
http://bugzilla.novell.com/show_bug.cgi?id=520134
User dave.plater@yahoo.co.uk added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c2
--- Comment #2 from Dave Plater
http://bugzilla.novell.com/show_bug.cgi?id=520134
User monkey9@iae.nl added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c3
--- Comment #3 from Robby Verberne
http://bugzilla.novell.com/show_bug.cgi?id=520134
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c4
--- Comment #4 from Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=520134
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c5
Ján Kupec
My proposal is:- if you select, for instance, packman kaffiene you will automatically pull in all the dependencies from packman and by doing so will not pull in opensuse packages with limited functionality.
Well, not all can be always satisfied from packman, you often need some from factory. You probably meant 'pull in all the deps available in both packman and factory from packman, not factory'. Well, this is something the repository priorities are for - increase the priority of the packman repo (give it lower number) and do 'zypper dup' (without -r). See also below.
At the moment if you perform a zypper dup -r packman you pull in unwanted packages like cairo and if you do dup -r factory all of the packman and vlc packages are replaced with opensuse ones.
What about a dup without the -r (or both -r packman -r factory)? Doesn't that work like this? It should not change vendor, so packman packages and their packman deps should stay packman.
In answer to "might take more unnnessesary/needless pkgs" I propose that no packages should change vendor but yes it will pull in more packages than a normal package update but it shouldn't pull in unnecessary ones. So if you select packman amarok and it wants to replace an opensuse factory package with it's packman version you will be warned.
That's how it should work now. But it if does not need to fulfill the dependency from packman (if it's OK with the factory's package), it won't do it. You'll need to manually select the packman package if you want the packman version. Please try and let us know about the outcome. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520134
User mls@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c6
--- Comment #6 from Michael Schröder
http://bugzilla.novell.com/show_bug.cgi?id=520134
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c7
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=520134
User dave.plater@yahoo.co.uk added comment
http://bugzilla.novell.com/show_bug.cgi?id=520134#c8
Dave Plater
OK, bad try.
To sum it up, we want:
1) install new packages while preferring the deps from the same repo as the new package 2) avoid changing the vendor when updating ('zypper up/in' does this) plus ensure new deps are pulled in from the same repo as the package requiring it? (this is not guaranteed).
I prefer to use zypper up --force-resolution package* to update kernels and yast for instance for that reason.
Does this make sense? Any ideas how to do this? Maybe something like temporary increasing the priority of the desired repo?
I think the vendor locking issue is something that needs to be addressed but it has confused this issue. I am proposing something that overrides the "requires => version" in the rpm and unconditionally updates all rpm's dependents and the dependents of the dependents and so on, if the updates are available, unconditionally which shouldn't be too difficult to implement. Read the "requires" packages from the rpm and update if newer versions are available. The ability to vendor lock when required via an option is also desirable. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=520134
Dave Plater
participants (1)
-
bugzilla_noreply@novell.com