Debian

LinuxDebian8大號一世n在XD和b一世一種n8Linux Debian 8: 驅動程序安裝要求我插入光碟

  • February 26, 2018

所以我最近安裝了 Debian 8,目前正在嘗試使用我的 NVIDIA 顯卡配置軟體。官方 Debian 頁面指示我這樣做:

  1. 添加
deb http://http.debian.net/debian/ jessie main contrib non-free

/etc/apt/sources.list. 2. 跑

# aptitude update

然後執行

# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms

我不確定我做錯了什麼,因為當我執行第二個命令時,它會向我顯示以下消息:

0 packages upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/21.9 MB of archives. After unpacking 80.5 MB will be used. Do you want to continue? [Y/n/?] y Media change: Please insert the disc labeled 'Debian GNU/Linux 8.1.0 _Jessie _ - Official amd64 kde-CD Binary-1 20150606-14:19' into the drive '/media/cdrom/' and press [Enter].1

我沒有光碟機,所以這對我來說是個大問題。

我從這裡得到了指示。請參閱“安裝:Debian 8 ‘Jessie’”

/etc/apt/sources.list中(或其中的一個文件)中可能有一行/etc/apt/sources.lists.d/

deb cdrom ...

註釋掉這一行,Debian 不會嘗試從這張光碟安裝軟體包。

引用自:https://unix.stackexchange.com/questions/225720