when updating cauldron on a vbox setup, it fails, because of no kernel source installed... ? this is the output; see at the very end: ... http://10.238.9.1/mageia/distrib/cauldron/x86_64/media/core/release/kernel-desktop-3.1.6-2.mga2-1-1.mga2.x86_64.rpm http://10.238.9.1/mageia/distrib/cauldron/x86_64/media/core/release/kernel-desktop-latest-3.1.6-2.mga2.x86_64.rpm http://10.238.9.1/mageia/distrib/cauldron/x86_64/media/core/release/lib64gmime2.6_0-2.6.3-1.mga2.x86_64.rpm installing kernel-desktop-3.1.6-2.mga2-1-1.mga2.x86_64.rpm lib64gmime2.6_0-2.6.3-1.mga2.x86_64.rpm kernel-desktop-latest-3.1.6-2.mga2.x86_64.rpm from /var/cache/urpmi/rpms Preparing... ########################################################################################################################## 347/349: kernel-desktop-3.1.6-2.mga2 ########################################################################################################################## WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. I: *** Including module: dash *** I: *** Including module: i18n *** I: *** Including module: rpmversion *** I: *** Including module: plymouth *** E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. I: *** Including module: kernel-modules *** E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. I: *** Including module: resume *** I: *** Including module: rootfs-block *** I: *** Including module: terminfo *** I: *** Including module: udev-rules *** I: Skipping udev rule: 50-udev.rules I: Skipping udev rule: 95-late.rules I: *** Including module: usrmount *** I: *** Including module: base *** I: *** Including module: fs-lib *** I: *** Including module: shutdown *** I: Skipping program kexec as it cannot be found and is flagged to be optional I: *** Including modules done *** I: Wrote /boot/initrd-3.1.6-desktop-2.mga2.img: I: -rw-r--r-- 1 root root 5759173 Dec 24 13:37 /boot/initrd-3.1.6-desktop-2.mga2.img defaulting background resolution to 1024x768 348/349: kernel-desktop-latest ########################################################################################################################## 349/349: lib64gmime2.6_0 ########################################################################################################################## vboxadditions (4.1.6-2.mga2): Installing module. Kernel source for 3.1.6-desktop-2.mga2 not installed. Cannot install this module. You should restart your computer for kernel-desktop-3.1.6-2.mga2
I'm not sure how to solve this problem. dkms-vboxadditions requires dkms. dkms itself requires kernel-devel and *suggests* kernel-devel-latest. What you are probably missing at the moment is kernel-devel-latest which should pull latest source for latest kernel. How did you install your system? You should have kernel-devel-latest as well if you didn't uninstall it yourself (or didn't use urpmi --no-suggests).
CC: (none) => sander.lepik
[root@localhost ~]# rpm -q -a | grep kernel kernel-desktop-devel-3.1.4-2.mga2-1-1.mga2 kernel-desktop-3.1.6-2.mga2-1-1.mga2 kernel-desktop-3.1.4-2.mga2-1-1.mga2 kernel-desktop-3.1.6-0.rc1.1.mga2-1-1.mga2 kernel-firmware-20110703-2.mga2 kernel-desktop-latest-3.1.6-2.mga2 i just installed and updated, from mga2a2 to cauldron and further. i never used --no-suggests
i installed the kernel-desktop-devel-latest and did the following: [root@localhost ~]# urpmi vboxadditions --replacepkgs To satisfy dependencies, the following package is going to be installed: Package Version Release Arch (medium "Core Release") dkms-vboxadditions 4.1.6 2.mga2 x86_64 4.3MB of additional disk space will be used. 445KB of packages will be retrieved. Proceed with the installation of one package? (Y/n) http://10.238.9.1/mageia/distrib/cauldron/x86_64/media/core/release/dkms-vboxadditions-4.1.6-2.mga2.x86_64.rpm installing dkms-vboxadditions-4.1.6-2.mga2.x86_64.rpm from /var/cache/urpmi/rpms Preparing... ########################################################################################################################## 1/1: dkms-vboxadditions ########################################################################################################################## + /usr/sbin/dkms --rpm_safe_upgrade add -m vboxadditions -v 4.1.6-2.mga2 Error! DKMS tree already contains: vboxadditions-4.1.6-2.mga2 You cannot add the same module/version combo more than once. + /usr/sbin/dkms --rpm_safe_upgrade build -m vboxadditions -v 4.1.6-2.mga2 Error! This module/version has already been built on: 3.1.4-desktop-2.mga2 Directory: /var/lib/dkms/vboxadditions/4.1.6-2.mga2/3.1.4-desktop-2.mga2/x86_64 already exists. Use the dkms remove function before trying to build again. + : what now?
I think reboot should fix your problem, on next reboot dkms should compile vboxadditions for your latest kernel. But the problem seems to be quite simple. *-devel-latest packages are not included in DVD so this will break suggests and in later stage new devel is not installed and so it will break dkms packages. On mga1 *-devel-latest packages are included. They should also be included in mga2. I'm not sure if Thierry is the right person to fix this but if not he can reassign to more accurate person :)
Assignee: bugsquad => thierry.vignaud
Summary: vboxadditions fails to install => vboxadditions fails to install (kernel-*-devel-latest packages not included with DVD)
CC: (none) => ennael1, sysadmin-bugsComponent: RPM Packages => Release (media or process)Source RPM: kernel => meta-task
I've altered core kernel (beginning with 3.2-0.rc7.1.mga2) and all other kernels to not trigger dkms build on install if the mathing -devel rpm is not installed. (of course the warning will still show up on boot, if no matching -devel rpm is installed) But missing *-devel-latest on dvds is something for ennael (or any other dvd iso builder) to fix ...
CC: (none) => tmbAssignee: thierry.vignaud => ennael1Source RPM: meta-task => (none)
no idea, but i installed using mga2a2, then upgraded to cauldron, then updated for these bunch of updates. so, if mga2a2 didn't install -devel-latest, i donno, maybe it shouldn't even get installed on normal install. perhaps i'm more asking if vboxadditions needs -devel-latest or it doesn't proceed... then perhaps it should require -devel-latest? so it would get installed if needed by it?
(In reply to comment #6) > so, if mga2a2 didn't install -devel-latest, i donno, maybe it shouldn't even > get installed on normal install. > > perhaps i'm more asking if vboxadditions needs -devel-latest or it doesn't > proceed... then perhaps it should require -devel-latest? so it would get > installed if needed by it? -deve-latest didn't get installed as it's not on DVD. urpmi installed dkms from DVD but as suggested -devel-latest was not there, urpmi didn't see a problem. vboxadditions doesn't need to require it, not all people want it. We just need *-devel-latest packages on DVD and the problem will be solved.
i'm not sure you're right, here: vboxadditions should require -devel-latest, because it doesn't work without it. not all people need vboxadditions, true, but then the requirement to -devel-latest isn't problematic, is it? if you can tell me a usage for vboxadditions without the need for -devel-latest, then i'll agree with you.
Well, vboxadditions doesn't need -devel-latest, it only needs -devel. Which is installed for first kernel. Actually vboxadditions requires dkms and doesn't need to know anything about -devel*. vboxadditions works OK until you don't update your kernel. Now if -devel-latest package would be on DVD, dkms would suggest it and problem gets solved. Everyone will be happy like it was with mga1.
ic wouldn't it be better if vboxadditions can be rebuild for 2 kernels? we could possibly have it detect your running kernel and try to suggest installing -devel for the current kernel? i mean, in urpmi-post, when rebuilding vboxadditions, to say, hmm, let's just invoke another urpmi command to install the new -devel one? technically, it looks like valid requirements, but it isn't really. so dkms-* depends on the kernel it want's it to be installed for so, if we would have conditional suggests, we could have kernel-* suggest kernel-devel-* if dkms-* is installed...
You can't invoque urpmi recursively because of urpmi/rpm locks. And you don't know if people are installing using urpmi, rpm, rpmdrake, packagekit or something else, or if they used some options to enable only some repositories, so calling urpmi with default options is probably not a good idea. What would be needed is rpm dependencies evaluated at runtime, but I don't think it's supported at the moment by either rpm, urpmi or genhdlists. Until then, what we have now is : - people that want to use the latest kernel install suggested kernel-devel-latest package and everything should be working - people that don't want the latest kernel, usually advanced users, don't install the suggested kernel-devel-latest package but install the kernel-devel package for the version of the kernel they want to use
CC: (none) => boklm
ok, so if we want to fix this for the less advanced users, we need to have kernel-latest-devel (suggested by dkms) on the DVD, so that this problem doesn't happen? btw: what if you have installed a kernel X, kernel-devel X, dkms and you have an updated dkms to be installed, when installing the updated dkms or-module, install the suggested kernel-latest-devel ? or, since it's an upgrade not install all the suggested extra packages, but only upgrade those installed?
kernel-(kernel/server/..)-devel-latest still missing in the pre alpha3 it was in the idx of mdv 2010.2 or mga 1
Priority: Normal => release_blocker
Added in next set of isos
ping ?
hmm, i'll try and reproduce with alpha3 soon-ish
I guess we can close without a lot of (no ? :D) test
ah shit, i forgot /o\, i'll try tonight
in DVD installer alpha3 x86_64, not updated, there is no *-devel-latest: [root@localhost ~]# urpmq --list-url core media cdrom://x86_64/media/core [root@localhost ~]# urpmq -Y kernel kernel-desktop-3.2.0-1.mga2 kernel-desktop-devel-3.2.0-1.mga2 kernel-desktop-latest kernel-doc kernel-firmware kernel-server-3.2.0-1.mga2 kernel-server-devel-3.2.0-1.mga2 kernel-server-latest kernel-source-3.2.0-1.mga2 kernel-source-latest kernel-userspace-headers lib64kplatokernel9 virtualbox-kernel-desktop-3.2.0-1.mga2 virtualbox-kernel-desktop-latest virtualbox-kernel-netbook-3.2.0-1.mga2 virtualbox-kernel-server-3.2.0-1.mga2 virtualbox-kernel-server-latest virtualbox-kernel-xen-pvops-3.2.0-1.mga2 [root@localhost ~]# rpm -q -a | grep kernel kernel-desktop-3.2.0-1.mga2-1-1.mga2 kernel-userspace-headers-3.2.0-2.mga2 kernel-firmware-20111229-1.mga2 kernel-desktop-devel-3.2.0-1.mga2-1-1.mga2 kernel-desktop-latest-3.2.0-1.mga2 so... no, i guess not fixed (at least not in x86_64), i mounted the image and doublechecked, it's not there...
indeed iirc it was the case in a pre alpha but for the release seems not http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/cauldron/Mageia-2-alpha3-x86_64/Mageia-2-alpha3-x86_64-DVD.idx :/
kernel-desktop-devel-latest is installed now
Status: NEW => RESOLVEDResolution: (none) => FIXED
CC: boklm => (none)