最近我将 Ubuntu 18.04 升级到了 Ubuntu 19.04,升级完成后打开终端出现以下错误
Warning: unknown OS type Linux.5.0.0-15-generic
虽然这不会影响我使用终端进行工作,但我想知道为什么会出现这个警告。
一些命令的输出:
cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
hostnamectl
Static hostname: envy
Icon name: computer-laptop
Chassis: laptop
Machine ID: 404b7c62fbba444287a5256a4604788c
Boot ID: 9a3d75b8a927419d87c4957335ab2a1e
Operating System: Ubuntu 19.04
Kernel: Linux 5.0.0-15-generic
Architecture: x86-64
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
uname -r
5.0.0-15-generic