我在 Raspbian 上有一个树莓派,在 Kali linux 上有一个虚拟机。 我的问题很简单: Kali 基于 Debian。 Kali 最新内核是 4.19,但 Debian 最新内核约为 4.9。 那么,我可以将 debiansources.list 添加到我的 Kali 并将我的内核升级到 Debian 4.9 吗?
我尝试过,似乎有效。
是否只有具有相同数据包管理器(yum、apt...)的发行版才能升级内核?
谢谢!
过程
最佳答案
是的,正如您所指出的,两者都基于 Debian 发行版。坚持使用相同的发行版和包管理器是最安全的途径。虽然许多发行版提供互操作性选项(例如 Alien ),但传统智慧在这里得到了很好的总结:
Because different distribution families use different packaging systems (Debian: *.deb / CentOS: *.rpm / openSUSE: *.rpm built specially for openSUSE), a package intended for one distribution will not be compatible with another distribution. However, most distributions are likely to fall into one of the three distribution families covered by the LFCS certification.
来自https://www.tecmint.com/linux-package-management/
此外,还有一个关于发行版和打包的方便的 super 引用:Distrowatch
关于linux - 我可以使用其他发行版的内核升级我的内核吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55763147/