Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

dpkg install to upgrade kernel permission error with mkimage (3 replies)

$
0
0
Bohdi, and all the others

Again, thanks for the great effort and progress you have made here. It's been fun.

I tried to update my nsa320 using the test kernel and ran into a problem when running dpkg -i. I got some errors. I had tried this more than once so some of the messages were due to the existence of the test modules for this version. I said "no" to overwrite. But this same problem arose when I had tried to update kernel before with the generic version.

I had read the comment to remove flash_kernel but it wasn't on my system. ( edit: I had put "mkinitramfs initially by mistake)

I read through about 13 pages of earlier posts but have not yet encountered these messages (or a solution).

I am running your fs as well although I have added several unrelated packages for various things (faxing for example).

Running depmod.
Ok, continuing as directed
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.1.0-kirkwood-tld-3-test /boot/vmlinuz-4.1.0-kirkwood-tld-3-test
/etc/kernel/postinst.d/apt-auto-removal: 44: /etc/kernel/postinst.d/apt-auto-removal: awk: Permission denied
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.1.0-kirkwood-tld-3-test /boot/vmlinuz-4.1.0-kirkwood-tld-3-test
update-initramfs: Generating /boot/initrd.img-4.1.0-kirkwood-tld-3-test
/usr/sbin/mkinitramfs: 172: /usr/sbin/mkinitramfs: awk: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/sbin/mkinitramfs: 62: /usr/sbin/mkinitramfs: modprobe: Permission denied
/usr/share/initramfs-tools/hooks/dmsetup: 62: /usr/share/initramfs-tools/hooks/dmsetup: modprobe: Permission denied
/usr/sbin/mkinitramfs: 305: /usr/sbin/mkinitramfs: depmod: Permission denied
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.1.0-kirkwood-tld-3-test /boot/vmlinuz-4.1.0-kirkwood-tld-3-test

Viewing all articles
Browse latest Browse all 3247

Trending Articles