Tinker Board Forum

Full Version: Errror of kernel update from apt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I am trying to update the kernel of the Debian distro (tinker board linaro stretch alip v2.0.7), but apt-get returns the following error:

# apt-get install linux-image-4.9.0-4-armmp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  linux-doc-4.9 debian-kernel-handbook
Recommended packages:
  firmware-linux-free irqbalance
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 151 not upgraded.
Need to get 30.4 MB of archives.
After this operation, 138 MB of additional disk space will be used.
Get:1 http://security.debian.org stretch/updates/main armhf linux-image-4.9.0-4-armmp armhf 4.9.65-3+deb9u1 [30.4 MB]
Fetched 30.4 MB in 10s (2789 kB/s)                                                                                                                   
Selecting previously unselected package linux-image-4.9.0-4-armmp.
(Reading database ... 72953 files and directories currently installed.)
Preparing to unpack .../linux-image-4.9.0-4-armmp_4.9.65-3+deb9u1_armhf.deb ...
Unpacking linux-image-4.9.0-4-armmp (4.9.65-3+deb9u1) ...
Setting up linux-image-4.9.0-4-armmp (4.9.65-3+deb9u1) ...
Failed to create symlink to vmlinuz-4.9.0-4-armmp: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error processing package linux-image-4.9.0-4-armmp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you know any solution other than recompiling the kernel manually ?
From https://wiki.debian.org/DebianKernel/ARMMP
that package do not support Tinker.

If you needs, you also can compile manually by following steps:
@ Tinker Board
It's not supposed to compile Wink
(12-20-2018, 05:10 PM)stickyfinger Wrote: [ -> ]any solution other than recompiling the kernel manually
Thank you.
Perhaps also try Armbian. Is more polished Debian or Ubuntu and come with a complete build tools: https://github.com/armbian/build