Mailinglist Archive: opensuse-kernel (79 mails)

< Previous Next >
Re: [opensuse-kernel] kernel-desktop-2.6.31-7.1.x86_64 obsoletes kernel-desktop-base
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Tue, 29 Sep 2009 11:16:49 +0200
  • Message-id: <4AC1D081.9090005@xxxxxxx>
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
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups