On 09/29/2009 11:16 AM, Michal Marek wrote:
Dave Plater napsal(a):
When I used zypper up kernel-desktop* as I usually do to update the three kernel packages it offered me a choice of either kernel-desktop or kernel-desktop-base as did yast when I selected update all in this list if a newer version is available. I suppose I should file a bug that the installation system should check for needed drivers that aren't in the base package. On the other hand, if somebody updates from 11.1 will zypper dup handle it properly?
When I added the Obsoletes:, I tested that a 'zypper dup' gets it right (i.e. upgrades kernel-$flavor and deletes kernel-$flavor-base, I think it also got it right if there was only kernel-$flavor-base originally). This has to work and I hope it hasn't changed since then. Having 'zypper up kernel-desktop*' do the same right thing would be also nice, but it's not what users upgrading from 11.1 to 11.2 will be doing. I think the difference is that is that zypper expands 'up kernel-desktop*' to 'up kernel-desktop kernel-desktop-base', which can't be resolved (you want to update kernel-desktop, which obsoletes kernel-desktop-base, which you want to update at the same time). Of course, if you come up with a Obsoletes: line that does the right thing in all possible scenarios, then I'm all for it, but currently I'm happy that it at least works with 'zypper dup'.
Michal
If dup handles it properly then there's not a problem. Now I've updated (good thing I was sensible enough to pick the right package) things will be back to normal. Interesting thing is, I keep multiple kernels and when I used zypper rm kernel-default-base"<=2.6.30" it automatically installed the new kernel-default, normally it just removes the kernel packages. Regards Dave P -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org