uname -a # 查看正在使用的内核,e.g. linux-image-4.15.0-88-generic sudo apt-mark hold linux-image-4.15.0-88-generic
若成功,可以看到显卡信息。
插曲
在安装dkms时出现了两个小问题:
1、当前源中找不到相应的安装包
1 2 3 4 5 6 7 8 9 10 11 12 13 14
1)使用 sudo vim /etc/apt/sources.list 修改镜像源 2)然后执行 sudo apt-get update 更新
## 阿里源 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
2、该死的samba服务报错信息。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
dpkg: error processing package samba (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: samba-common samba-common-bin samba E: Sub-process /usr/bin/dpkg returned an error code (1)