What does "Package kmod-tun is already installed on root." mean?


:~# opkg update && opkg list-upgradable
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt76x8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt76x8/kmods/6.6.86-1-78926a92b8005e1b08d7e47b6d51efc0/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt76x8/kmods/6.6.86-1-78926a92b8005e1b08d7e47b6d51efc0/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
kmod-tun - 6.6.86-r1 - 2025.03-r1
:~# opkg upgrade kmod-tun
Package kmod-tun is already installed on root.

what does "Package kmod-tun is already installed on root." mean?

It means exactly what it says -- the package is already installed.

That said...

Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.

owut is designed to cover the gap

but there is a newer version of installed package. how can i upgrade to newer version?

On the other hand, does the root meaning here mean that it is in the kernel?

kmod- packages are built with kernel, you have to upgrade everything at once to upgrade those.

3 Likes

No, but "kmod" == "kernel module"...

so why I can't upgrade it?

  • Kernel modules need to be built against the same kernel version that is currently running on your OpenWrt device. If there is a mismatch, things break.
  • The kernel itself (on your OpenWrt device) cannot be upgraded in place with opkg upgrade -- sysupgrade is the only method to do this.
  • You're on the latest stable OpenWrt version.
  • Please read the link I provided earlier... upgrading your packages without a specific reason/need may eventually lead to major problems.

Meanwhile, why are you trying to upgrade this package? Is there a problem with the current version you've installed? Or a newly available feature that you want/need?

2 Likes

thank you...

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.