Skip to content

Instantly share code, notes, and snippets.

View vipzrx's full-sized avatar

左手 vipzrx

  • 电话/微信 185 5088 8388
  • 苏州
View GitHub Profile
➜ ~ sudo apt search nvidia
Sorting... Done
Full Text Search... Done
glx-alternative-nvidia/now 0.7.4 amd64 [installed,local]
allows the selection of NVIDIA as GLX provider
libvdpau1/now 1.1.1-6 amd64 [installed,local]
Video Decode and Presentation API for Unix (libraries)
libxnvctrl-dev/stretch-backports 384.111-1~bpo9+1 amd64
# ustc-debian-stable
# deb http://deb.debian.org/debian/ stretch-updates main
# deb-src http://deb.debian.org/debian/ stretch-updates main
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
#jenkins
deb https://pkg.jenkins.io/debian binary/
@vipzrx
vipzrx / gist:0648e739e0724160e6d30cb938ba896a
Created April 23, 2018 12:26
nvidia-driver 缺少依赖
➜ ~ sudo apt -t backports install nvidia-driver
Reading package lists... Done
E: The value 'backports' is invalid for APT::Default-Release as such a release is not available in the sources
➜ ~ sudo apt -t stretch-backports install nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
➜ ~ sudo apt install xserver-xorg-video-nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
@vipzrx
vipzrx / gist:7730f3d4a59893b836a02914b96221f9
Created April 23, 2018 11:15
卸载不再需要的软件,无法上网
➜ ~ sudo apt -t stretch-backports install nvidia-alternative
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-alternative is already the newest version (384.111-4~deb9u1).
The following packages were automatically installed and are no longer required:
acl crda dnsmasq-base evince-gtk exfalso fonts-font-awesome fonts-opensymbol gir1.2-gst-plugins-base-1.0
gir1.2-gstreamer-1.0 gir1.2-keybinder-3.0 gir1.2-soup-2.4 gstreamer1.0-plugins-ugly iputils-arping iw libbluetooth3
libboost-date-time1.62.0 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libeot0 libexttextcat-2.0-0
libexttextcat-data libglew2.0 libgltf-0.0-0v5 libgphoto2-6 libgphoto2-port12 libieee1284-3 libjansson4 libjs-modernizr
@vipzrx
vipzrx / gist:d3e89c6b2ac9337211423c7e60ffaf98
Last active April 23, 2018 10:52
stretch 无法安装backpots中的xserver-xorg-video-nvidia
``` bash
➜ ~ sudo apt -t stretch-backports install xserver-xorg-video-nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
kk@H2:~$ sudo umount /mnt/h21t
kk@H2:~$ sudo mount -t ntfs-3g -o uid=1000,gid=1000 /dev/sda1 /mnt/h21t
kk@H2:~$ sudo mount | grep sda1
/dev/sda1 on /mnt/h21t type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)