[Bug 302615] [NEW] strange behavior of the "module-assistant --prepare" command

lucatrv lucatrv at hotmail.com
Wed Nov 26 21:12:05 UTC 2008


Public bug reported:

Binary package hint: module-assistant

On Ubuntu Intrepid, I use module-assistant to build and install the open-vm-source modules.
I noticed a strange behavior of the "module-assistant --prepare" command.

Starting from the point where no /usr/src/linux symlink is present in my system, the first time I issue the command "sudo module-assistant prepare open-vm" everything goes well, so that a /usr/src/linux symlink is created pointing to the correct linux headers folder and no error messages are issued.
This is the output of the command:
----------------------------------------------
Getting source for kernel version: 2.6.27-7-generic
Kernel headers available in /usr/src/linux-headers-2.6.27-7-generic
Creating symlink...
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
----------------------------------------------

If I issue the command "sudo module-assistant prepare open-vm" a second time, so that the /usr/src/linux symlink is already present on my system, it seams that module-assistant doesn't recognize it. In fact it issues the following error message:
----------------------------------------------
Getting source for kernel version: 2.6.27-7-generic
Kernel headers available in /usr/src/linux
Creating symlink...
Couldn't create the /usr/src/linux symlink!
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
----------------------------------------------
The result is that module-assistant has renamed my old good /usr/src/linux symlink into linux-OLDVERSION.xxxxxxxxxx and I don't have a /usr/src/linux symlink on my system anymore.

Now, of course if I issue again "sudo module-assistant prepare open-vm"
I get no error messages and a new /usr/src/linux symlink, and everything
repeats always this way indefinitely...

** Affects: module-assistant (Ubuntu)
     Importance: Undecided
         Status: New

-- 
strange behavior of the "module-assistant --prepare" command
https://bugs.launchpad.net/bugs/302615
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list