Latest Kernel won't update

I have the RockPi4 I am running Debian. So I was trying to connect OpenVPN and got this error:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
I searched the forum and found this
I then followed Jack’s link to update the kernel.
When I run
Get the pub key

   wget -O -  apt.radxa.com/$DISTRO/public.key | sudo apt-key add -

I get:
root@DietPi:~# wget -O - apt.radxa.com/$DISTRO/public.key | sudo apt-key add -
–2019-06-06 17:01:50-- http://apt.radxa.com//public.key
Resolving apt.radxa.com (apt.radxa.com)… 185.199.110.153, 185.199.111.153, 185.199.108.153, …
Connecting to apt.radxa.com (apt.radxa.com)|185.199.110.153|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2019-06-06 17:01:50 ERROR 404: Not Found.

gpg: no valid OpenPGP data found.

I am not able to update the kernel.
What can I do?

Hi,

From

https://wiki.radxa.com/Rockpi4/radxa-apt

You should run:

export DISTRO=stretch
echo "deb http://apt.radxa.com/$DISTRO/ stretch main" | sudo tee /etc/apt/sources.list.d/apt-radxa-com.list
1 Like

Sounds like missing “Export”

1 Like

@jack I followed the steps again and started with:
export DISTRO=stretch

It is working perfectly now. :grin:Thanks a lot.