[Devel] install openvz kernel on wheezy first fails then pass with --fix-missing

Daniel Caillibaud daniel.caillibaud at sesamath.net
Sun Feb 23 22:49:04 PST 2014


Hi,

I've the same issue as describe on
http://lists.openvz.org/pipermail/users/2014-February/005464.html

--fix-missing seems to fix it but there is still something strange in package

This is run from a fresh wheezy install, for your information


# apt-get install linux-image-openvz-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-image-2.6.32-openvz-amd64
Suggested packages:
  fdutils linux-doc-2.6.32-openvz-amd64 linux-source-2.6.32-openvz-amd64 ksymoops
linux-image-2.6.32-openvz-amd64-dbg The following NEW packages will be installed:
  linux-image-2.6.32-openvz-amd64 linux-image-openvz-amd64
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.0 MB of archives.
After this operation, 132 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://download.openvz.org/debian/ wheezy/main linux-image-2.6.32-openvz-amd64 amd64
042stab084.26 [44.0 MB] Get:2 http://download.openvz.org/debian/ wheezy/main
linux-image-openvz-amd64 amd64 042+1 [3,834 B] Fetched 44.0 MB in 17s (2,502
kB/s) Failed to fetch
http://download.openvz.org/debian/dists/wheezy/main/binary-amd64/kernel/linux-image-openvz-amd64_042+1_amd64.deb
Size mismatch E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?


# apt-get --fix-missing install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-2.6.32-openvz-amd64 (042stab084.26) ...

 Hmm. There is a symbolic link /lib/modules/2.6.32-openvz-amd64/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.32-openvz-amd64/build


 Hmm. The package shipped with a symbolic link /lib/modules/2.6.32-openvz-amd64/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.32-openvz-amd64/source

Running depmod.
WARNING: could not open /lib/modules/2.6.32-openvz-amd64/modules.builtin: No such file or
directory Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
2.6.32-openvz-amd64 /boot/vmlinuz-2.6.32-openvz-amd64 update-initramfs:
Generating /boot/initrd.img-2.6.32-openvz-amd64 WARNING: could not
open /var/tmp/mkinitramfs_mAsQdE/lib/modules/2.6.32-openvz-amd64/modules.builtin: No such file
or directory run-parts: executing /etc/kernel/postinst.d/zz-update-grub
2.6.32-openvz-amd64 /boot/vmlinuz-2.6.32-openvz-amd64 Generating grub.cfg ... Found linux
image: /boot/bzImage-3.10.23-xxxx-std-ipv6-64 Found linux
image: /boot/vmlinuz-2.6.32-openvz-amd64 Found initrd
image: /boot/initrd.img-2.6.32-openvz-amd64 done


Thanks for packaging openvz kernels

-- 
Daniel



More information about the Devel mailing list