[Bug 219390] New: How to handle parallel installation of opensuse-updater and zen-updater
https://bugzilla.novell.com/show_bug.cgi?id=219390 Summary: How to handle parallel installation of opensuse-updater and zen-updater Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: michl@novell.com ReportedBy: aj@novell.com QAContact: qa@suse.de CC: kkaempf@novell.com, visnov@novell.com, stbinner@novell.com We currently have both opensuse-updater and zen-updater installed by default due to an oversight in the Beta2 patterns in KDE (but only zen-updater in GNOME). This means that both are started once you log into the KDE desktop. What should happen here? We have the following options: * Make the two conflict, so that only one of them can be installed (note that zen-updater includes zen-installer and zen-remover). * Only start one of them if both are installed. The question is which one - and whether this is possible at all since I do not know whether autostart can handle this case. * Default to zen-updater for KDE (meaning: do not install opensuse-updater by default). * Default to opensuse-updater for KDE (meaning: install it instead of zen-updater). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #1 from aj@novell.com 2006-11-09 06:58 MST ------- *** Bug 217303 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #2 from aj@novell.com 2006-11-09 06:58 MST ------- Note: Bug #215649 handles some aspects of this as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #3 from visnov@novell.com 2006-11-09 07:03 MST ------- We might be able to use a script to choose the right one. How is this situation handled for powermanagement applet, for example? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hmacht@novell.com, dkukawka@novell.com ------- Comment #4 from aj@novell.com 2006-11-09 07:35 MST ------- Holger, Danny can one of you comment on #3? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #7 from hmacht@novell.com 2006-11-09 08:15 MST ------- Due to the previous comments I conclude that both KDE and GNOME are using the same autostart mechanism, right?. If so, I didn't know that and I'll have to test what happens to a clean useraccount if both packages, kpowersave and g-p-m are installed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #8 from dkukawka@novell.com 2006-11-09 08:20 MST ------- I hope they don't use the same autostart. KPowersave install his desktop file for autostart to /opt/kde3/share/autostart/kpowersave-autostart.desktop and g-p-m should install to /opt/gnome/share/autostart/. That is what I would expect or was here something changed? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #9 from andreas.hanke@gmx-topmail.de 2006-11-09 08:37 MST ------- What kpowersave and g-p-m are doing is basically: OnlyShowIn=KDE resp. OnlyShowIn=GNOME;XFCE This can also be reversed. NotShowIn=KDE That way you can prevent an application from being autostarted in a certain environment even if it is installed. Warning: When e.g. adding NotShowIn=KDE to zen-updater, it would not be started even if it is installed and opensuse-updater is not. These autostart.desktop files are not smart enough to say something like "Autostart me, but not if a certain other application is installed". This effect can only be achieved by doing dirty things like replacing both autostart files with a single one that launches a script which tries to find the best match. Using the mechanism which is used by kpowersave and g-p-m is definite, i.e. you would have to make a definite decision that KDE users get opensuse-updater if it is installed and nothing if it is not, and other users get zen-updater if that is installed and nothing if it is not. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #10 from llunak@novell.com 2006-11-13 13:01 MST ------- Created an attachment (id=105013) --> (https://bugzilla.novell.com/attachment.cgi?id=105013&action=view) runupdater Unless this is solved in some other way, like not installing zen-updater with KDE: This small utility can replace both updaters in the autostart and launch one of them depending on which one is enabled and installed, prefering opensuseupdater if both are available and enabled. It should probably become part of kdebase3 package. Additionally it needs its own .desktop file for the autostart folder and changes to both /etc/xdg/autostart/zen-updater-auto.desktop and /opt/kde3/share/autostart/opensuseupdater.desktop to add line "NotShowIn=KDE". (And, while I'm at it, opensuseupdater.desktop has incorrect config file specified in X-KDE-autostart-condition: "opensuse-updaterrc" should be "opensuseupdaterrc".) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #11 from llunak@novell.com 2006-11-13 13:03 MST ------- Created an attachment (id=105014) --> (https://bugzilla.novell.com/attachment.cgi?id=105014&action=view) autostart .desktop file -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com ------- Comment #12 from visnov@novell.com 2006-11-14 01:49 MST ------- Duncan, could you, please,fix the opensuseupdater.desktop file? See comment #10. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|michl@novell.com |dmacvicar@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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #13 from dmacvicar@novell.com 2006-11-16 05:01 MST ------- Done, who should assign this bug to? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |llunak@novell.com ------- Comment #14 from visnov@novell.com 2006-11-16 05:31 MST ------- Lubos, what needs to be done? Updat opensuse-updater and zen-updater desktop files? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|llunak@novell.com | ------- Comment #15 from llunak@novell.com 2006-11-16 05:43 MST ------- See comment #10. The runupdater utility and its .desktop file need to be added to kdebase3 package - I can do that. Moveover opensuseupdater and zen-updater desktop files need to be modified (the line added should be actually "NotShownIn=KDE;", with the trailing semicolon). Does that mean it's ok to do these changes? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #16 from visnov@novell.com 2006-11-16 05:50 MST ------- Yes, please, go for it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 dmacvicar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |llunak@novell.com ------- Comment #17 from dmacvicar@novell.com 2006-11-16 07:03 MST ------- is it sufficient to add it to the zen updater or do I need to add NotShowIn=GNOME to KDE updater? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maw@novell.com ------- Comment #18 from llunak@novell.com 2006-11-16 07:11 MST ------- opensuse-updater: Add line "NotShownIn=KDE;" to /opt/kde3/share/autostart/opensuseupdater.desktop . zen-updater: Add line "NotShownIn=KDE;" to /opt/kde3/share/autostart/opensuseupdater.desktop . This solution is KDE-only. I would expect GNOME users would use zen-updater anyway (with all that Tomboy Mono stuff and so on) and they probably wouldn't be happy about having to launch a utility using KDE libraries. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|llunak@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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #19 from llunak@novell.com 2006-11-16 07:34 MST ------- Oops, the second one is supposed to be: zen-updater: Add line "NotShownIn=KDE;" to /etc/xdg/autostart/zen-updater-auto.desktop . -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #20 from aj@novell.com 2006-11-16 07:38 MST ------- It's not about GNOME vs. KDE, this is about systems with ZMD and systems without ZMD. GNOME will not work without ZMD - or will it? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #21 from dmacvicar@novell.com 2006-11-16 07:43 MST ------- No, actually even if you install NetworkManager-gnome zmd is pulled as a dependency by other dekstop components -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 dmacvicar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |maw@novell.com Status|ASSIGNED |NEW ------- Comment #22 from dmacvicar@novell.com 2006-11-16 07:44 MST ------- Ok, I reassigned to maw, please reassign to me when this is done: zen-updater: Add line "NotShownIn=KDE;" to /etc/xdg/autostart/zen-updater-auto.desktop . -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 dmacvicar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #23 from dmacvicar@novell.com 2006-11-16 07:45 MST ------- Andreas, should I add NotShownIn=Gnome to the opensuse applet? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpr@novell.com ------- Comment #24 from visnov@novell.com 2006-11-16 07:56 MST ------- We should provide an updating applet in GNOME as well even if ZMD is not installed on the system. Right now, this means we have to use opensuse-updater in this particular case. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #25 from dmacvicar@novell.com 2006-11-16 08:27 MST ------- You can't. Gnome desktop depends on ZMD. See my blog about dependencies. http://duncan.mac-vicar.com/blog/archives/145 We need the desktop team to either create an applet using the light method for updates (I documented it and sent the wiki page to various mailing lists) or either add it as a backend to the zen-updater. the KDE updater supports both methods. It is quite easy, only need to parse a xml file. I bet gnome hackers can do a mini applet in 1 hour. But that would be 10.3 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #26 from kkaempf@novell.com 2006-11-16 08:33 MST ------- Can we please start by fixing gome packages to require virtual packages like 'updater-applet' (to be provided by zen-updater and opensuse-updater) instead of packages by name ? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #27 from visnov@novell.com 2006-11-16 08:39 MST ------- Ad #25: that's a different bug. Is KDE case solved now? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #28 from llunak@novell.com 2006-11-16 10:17 MST ------- Gee, I mistyped the name of the key and copy&pasted it for other cases. The added line is supposed to be "NotShowIn=KDE;" (no "n" in "Show"). Sorry :(. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #29 from llunak@novell.com 2006-11-16 10:31 MST ------- Kdebase3 package submitted. Opensuseupdater and zen-updater need the .desktop file change (apologies for the mistake). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #30 from aj@novell.com 2006-11-17 08:28 MST ------- what do you need from me? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |llunak@novell.com ------- Comment #31 from visnov@novell.com 2006-11-20 11:17 MST ------- Lubos, could you, please, update your small helper so it acts using the following sysconfig if there are both applets installed? * sysconfig variable is part of aaa_base in file (proposal: /etc/sysconfig/sw_management ) and has name (Michl to define!, proposal "PREFERRED_SW_MANAGER_STACK") and values "zlm", "opensuse". -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 ------- Comment #32 from mvidner@novell.com 2006-11-20 13:33 MST ------- See also bug 222757, "what to call from gnome-main-menu if zen-updater is not present". -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|llunak@novell.com | ------- Comment #33 from llunak@novell.com 2006-11-20 14:19 MST ------- Updated package submitted. Note that neither opensuseupdater nor zen-updater package seem to have the needed change yet, which not only makes this useless but in fact breaks it. Also, this needs to be solved somehow differently for next release as this is a hack with a somewhat flawed logic in the case both updaters are available and the user is not happy with the default. Let's say PREFERRED_SW_MANAGER_STACK is "opensuse" and the user explicitly turns off starting of opensuseupdater - then either zen-updater can be run next time instead, which is wrong, because the user possibly simply wanted no updater, or zen-updater is not run next time, which is wrong, because the user possibly disabled opensuseupdater because they want zen-updater (and now they actually have no way to make it run other than uninstalling opensuseupdater or changing the sysconfig value). Bingo :-/. I've opted for the first solution. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com ------- Comment #34 from llunak@novell.com 2006-11-23 03:03 MST ------- *** Bug 223250 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 lmichnovic@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sguruprasad@novell.com |dmacvicar@novell.com ------- Comment #36 from lmichnovic@novell.com 2006-11-23 08:59 MST ------- Patched zen-updater submited for stable. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #38 from llunak@novell.com 2006-11-27 07:06 MST ------- Yes. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219390 raghugs@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |raghugs@gmail.com ------- Comment #41 from raghugs@gmail.com 2007-03-30 00:40 MST ------- Hello Everybody, I just read the whole thread, I propose a simple idea, It doesn't involve any script n'all, opensuse-updater prompts the user asking whether to start next time or not, Now just add zmd-updater to the list, Like the following, Start "Opensuse-updater in next startup", "Start ZMD-Updater in next startup", "Don't start any updater" Same for zmd-updater too , but it may involve creating new prompt dialog in zmd-updater, -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com