Debian安裝tree填坑記錄

Debian安裝過程當中遇到一個小問題。 使用命令安裝軟件app

#切換到root帳戶
su root
#安裝軟件tree
apt install tree

提示ide

更換介質 :請把標有 " Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25"的盤片插入驅動器"/media/cdrom/"再按回車鍵

解決該問題,須要修改code

#修改文件
vi /etc/apt/sources.list
#修改結果如圖
#

# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib

使用命令ci

apt update 
apt upgrade
相關文章
相關標籤/搜索