Hi, continuing an old thread... Andreas Jaeger schrieb:
As discussed last week, I wanted to continue the discussion about the package management changes - but not concentrating on the real bugs we're fixing now but on general issues:
Some thoughts: 1. libzypp does not offer the full functionality of the old yast2-packagemanager. A simple look at the file list of the old yast2-packagemanager RPM shows this: /usr/bin/genIS_PLAINcache /usr/bin/installation_sources /usr/bin/online_update online_update is gone and that's OK for me. rug replaces its functionality, and there are alternatives available. But the other ones are missing while needed: Their absense breaks the "Install package with YaST" and "Add directory as a YaST source" features of kdebase3-SuSE. genIS_PLAINcache is probably obsoleted by createrepo. But installation_sources is not: It would be very nice to have a replacement, a commandline tool for adding YaST sources that works independently of rug. kdebase3-SuSE could be changed to use createrepo instead of genIS_PLAINcache and the installation_sources replacement. Ideally, the installation_sources replacement would be called installation_sources and support the same commandline syntax as the old installation_sources. In the case that this is not possible for whatever reason, wouldn't it be better to remove the two buttons "Install package with YaST" and "Add directory as a YaST source" from kdebase3-SuSE ASAP? Presenting this currently broken feature pisses a lot of users because they think they are doing something wrong, and telling them in forums "It doesn't work, don't use it" is boring. Clearly indicating that it doesn't work by not showing it would be the better option IMHO. 2. rug/zmd and YaST/zypp communicate by executing each other. When adding a source to YaST, it executes rug to make sure that rug/zmd know about it. And when using rug/zmd to add a source, zmd executes various helper binaries from libzypp-zmd-backend. Isn't that very complex and fragile per se? Sure it's possible to fix bugs in this area until it works for most people, but will it ever be as integrated as the old solution without rug/zmd was? Why does zmd access zypp by executing helper binaries instead of linking it directly, maybe through zypp-sharp bindings? Why does YaST execute rug instead of having rug/zmd read the sources directly from zypp? Currently rug/zmd feel more like "added to the system and installed by default" rather than "integrated into the system". 3. In GNOME, RPMs are associated with zen-installer, which is fine. But zen-installer installs only one RPM at a time. Selecting multiple RPMs and installing them at once is not possible, but often needed to avoid having endless install -> check dependencies -> install loops. Knowing that the answer will be "People should not download individual RPMs and install them from nautilus, but add the installation source to YaST or switch to smart or apt", I still think that usability improvements should be considered in this area because more people have the habit of downloading individual RPMs than you might think. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org