[Bug 707731] New: debuginfo packages do not depend on %name = %version-%release
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c0 Summary: debuginfo packages do not depend on %name = %version-%release Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: AutoYaST AssignedTo: ug@novell.com ReportedBy: johannesobermayr@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE) AppleWebKit/533.3 (KHTML, like Gecko) rekonq Safari/533.3 With this patch openSUSE creates debuginfo packages for each subpackage: https://build.opensuse.org/package/view_file?file=debugsubpkg.diff&package=rpm&project=Base%3Abuild&srcmd5=d9a81ac873e5fd53b12235650573b52c Lines 220 to 231 should be adapted to depend on %name = %version-%release: Note: Debug informations are only useful when %name = %version-%release fits. This should do following: 1. When updating/downgrading the (sub-)package also the associated -debuginfo package must be updated/downgraded. 2. On deinstallation of a package then also the associated -debuginfo package will be deinstalled. 3. Should also fix bug 573868. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|AutoYaST |Basesystem AssignedTo|ug@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |rguenther@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c1 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Richard Guenther <rguenther@novell.com> 2011-07-25 08:26:17 UTC --- Well, it all depends on how we can handle package upgrades. My original idea was that there would be a "weak" dependency, allowing the main package to be upgraded when no newer debuginfo is available, deinstalling the debuginfo in that case. A hard dependency will break updates. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c2 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #2 from Johannes Obermayr <johannesobermayr@gmx.de> 2011-07-26 14:41:07 UTC --- I do not understand your worries: 'rpm -Uhv --force (--oldpackage --replacepkgs)' will do the update and 'zypper {d}up' will ask you how to solve the dependency issue(s) - ignore - rm package - other solution and 'yast2 --install' will ask that, too ... Yes. It is bad that there isn't sth. like: Recommendsrm: %name-debuginfo <> %version With current solution you do not handle package renames: 1. situation (base): packages 'foo' and 'foo-debuginfo' are installed 2. situation (renamed 'foo' to 'bar' - with Obsoletes: foo) zypper up / rpm -Uhv / yast2 --install package 'foo' will be removed, package 'bar' installed package 'foo-debuginfo' won't be touched (and maybe a non-active member for years) With the change package 'foo-debuginfo' will be removed, too ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c3 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #3 from Richard Guenther <rguenther@novell.com> 2011-08-26 07:15:00 UTC --- There needs to be a way to specify that the %name-debuginfo package is less important than %name. Dependent on system-wide setting an update should 1) remove %name-debuginfo on update. Usually you have debugged a problem and the debuginfo is now stale, no need to update it. 2) update both packages, if %name-debuginfo is not available, remove it without asking Also when removing %name, %name-debuginfo should be automatically removed as well, this isn't achieved either. I don't think the above can be achieved using rpm dependencies in any way. Thus the only reasonable thing is to provide a link from %name-debuginfo to %name to relate them and have the solver and/or the package install frontend do the above magic manually. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707731 https://bugzilla.novell.com/show_bug.cgi?id=707731#c4 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |DUPLICATE --- Comment #4 from Richard Guenther <rguenther@novell.com> 2011-08-26 07:17:20 UTC --- Let's make it a dup of the bug collecting this issues. *** This bug has been marked as a duplicate of bug 658212 *** http://bugzilla.novell.com/show_bug.cgi?id=658212 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com