[opensuse] Uninstalling kernel and "linux" link
Hi all, In my system I have enabled the multiversion for kernel-desktop so I have just uninstalled kernel 3.1.10-1.13.1 since I have seen it was removed from the Update repo. So I have uninstalled also the corresponding kernel-devel, kernel-desktop-devel and kernel-source. I have noted that in /usr/src the "linux" link still points to the missing linux-3.1.10-1.13 (thus the link is broken) instead of the correct linux-3.1.10-1.9. Is this a wanted behaviour? or is it a bug? Should I report it? Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/29/2012 07:25 AM, Andrea Turrini wrote:
Hi all,
In my system I have enabled the multiversion for kernel-desktop so I have just uninstalled kernel 3.1.10-1.13.1 since I have seen it was removed from the Update repo. So I have uninstalled also the corresponding kernel-devel, kernel-desktop-devel and kernel-source.
I have noted that in /usr/src the "linux" link still points to the missing linux-3.1.10-1.13 (thus the link is broken) instead of the correct linux-3.1.10-1.9.
Is this a wanted behaviour? or is it a bug? Should I report it?
i do not know the answer to your question, and this is not to say report it, or not...but, i add this info, in case it is important: yesterday i updated (using YaST Online Update) my (mult-iversion enabled) *11.4* system's kernel from 2.6.37.6-0.11.1 to 2.6.37.6-0.20.1 (including the corresponding kernel-devel, kernel-desktop-devel and kernel-source) and (having not removed any previous 11.4 kernels) i see that today /usr/src/~linux points to the new linux-2.6.37.6-0.20, as i would expect.. so, imo if it is a bug, it was somehow introduced in 12.1 or maybe you used YaST Software Management, zypper, rpm, a one-click button somewhere, or a software.opensuse.org "direct install" button to update (while i used YOU)?? lots of variables there! dd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
2012/6/29 DenverD <DenverD@mail.dk>:
On 06/29/2012 07:25 AM, Andrea Turrini wrote:
In my system I have enabled the multiversion for kernel-desktop so I have just uninstalled kernel 3.1.10-1.13.1 since I have seen it was removed from the Update repo.
yesterday i updated (using YaST Online Update) my (mult-iversion enabled) *11.4* system's kernel from 2.6.37.6-0.11.1 to 2.6.37.6-0.20.1 (including the corresponding kernel-devel, kernel-desktop-devel and kernel-source) and (having not removed any previous 11.4 kernels) i see that today /usr/src/~linux points to the new linux-2.6.37.6-0.20, as i would expect..
And this is something I expect to happen.
or maybe you used YaST Software Management, zypper, rpm, a one-click button somewhere, or a software.opensuse.org "direct install" button to update (while i used YOU)??
I used "zypper rm -u kernel-desktop-3.1.10-1.13.1 kernel-desktop-devel-3.1.10-1.13.1 kernel-devel-3.1.10-1.13.1 kernel-source-3.1.10-1.13.1" to remove the packages; I have not performed an update, just removed one of the two installed kernels. Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 29.06.2012 08:34, schrieb Andrea Turrini:
2012/6/29 DenverD <DenverD@mail.dk>:
On 06/29/2012 07:25 AM, Andrea Turrini wrote:
In my system I have enabled the multiversion for kernel-desktop so I have just uninstalled kernel 3.1.10-1.13.1 since I have seen it was removed from the Update repo.
yesterday i updated (using YaST Online Update) my (mult-iversion enabled) *11.4* system's kernel from 2.6.37.6-0.11.1 to 2.6.37.6-0.20.1 (including the corresponding kernel-devel, kernel-desktop-devel and kernel-source) and (having not removed any previous 11.4 kernels) i see that today /usr/src/~linux points to the new linux-2.6.37.6-0.20, as i would expect..
And this is something I expect to happen.
or maybe you used YaST Software Management, zypper, rpm, a one-click button somewhere, or a software.opensuse.org "direct install" button to update (while i used YOU)??
I used "zypper rm -u kernel-desktop-3.1.10-1.13.1 kernel-desktop-devel-3.1.10-1.13.1 kernel-devel-3.1.10-1.13.1 kernel-source-3.1.10-1.13.1" to remove the packages; I have not performed an update, just removed one of the two installed kernels.
Best, Andrea
With the multiversion kernel feature configured correctly in zypp.conf it isn't necessary to install/remove kernels manually. The system then does this automatically and will, of course, take care of all links. To activate this feature the following two lines must be present and uncommented in /etc/zypp.conf: multiversion = provides:multiversion(kernel) multiversion.kernels = latest,latest-1,latest-2,running The second line configures how many kernels the system will keep. If you want to keep three kernels you can use the line above unchanged. If you just want to keep two kernels change the second line as follows: multiversion.kernels = latest,latest-1,running For more information about how to configure multiversion kernels take a look at this: http://en.opensuse.org/SDB:Keep_multiple_kernel_versions best regards Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi all, it seems I am not able to explain the problem I faced... 2012/6/29 Freigeist <m4ng4n@gmx.de>:
With the multiversion kernel feature configured correctly in zypp.conf it isn't necessary to install/remove kernels manually. The system then does this automatically and will, of course, take care of all links.
It works for installing new versions (and removing automatically the too old versions that do not more satisfy conditions to be kept), but as explained (I hope sufficiently) in the initial mail, the problem is not when I install/update a kernel, but when I remove a kernel that is the last installed one, that is the one with the highest version number, and that has been removed from the Update repository since it was buggy (see https://bugzilla.novell.com/show_bug.cgi?id=764864). So, when removing manually (using zypper, not directly rpm), it does not take care correctly of all links, since the /usr/src/linux link is broken.
To activate this feature the following two lines must be present and uncommented in /etc/zypp.conf:
I already know how to activate multiversion, since I had *two* kernels installed. Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrea Turrini
-
DenverD
-
Freigeist