Ubuntu 13.04 install amd64 kernel from x86 OS
I have Ubuntu 13.04 32-bit OS installed on Intel Core 2 system and want to start 64-bit virtual machine from it.
I suppose CPU can run 64-bit code, but I need 64-bit kernel for this. I've added foreign architecture:
$ sudo dpkg --add-architecture amd64
Now I'm trying to install linux-image and linux-headers from amd64. Binary package linux-image can'be installed and runs ok, but I cannot install linux-headers package because of dependency issues.
$ sudo env LANG=C apt-get --dry-run install linux-headers-
The following packages have unmet dependencies:
linux-
E: Unable to correct problems, you have held broken packages
Looks like some linux-headers related packages are marked as architecture dependent, while others not:
$ env LANG=C aptitude search headers-3.8.0-32
p linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-lowlatenc
Is there a possibility to override dependencies and install headers needed for building kernel modules or it requires fixing kernel sources? Why headers are marked architecture dependent? Are they different in different arches?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Andrey Bondarenko for more information if necessary.