代码和输出
sudo apt-get install xfsprogs
[sudo] password for masi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libreadline5
Suggested packages:
xfsdump attr quota
The following NEW packages will be installed:
libreadline5 xfsprogs
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/853 kB of archives.
After this operation, 3,963 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Media change: please insert the disc labeled
'Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-15:28'
in the drive '/media/cdrom/' and press enter
其中最后一行表示CD的请求。这是今天第二次了。我安装apt-file
到我的系统并放入sbin
我的 PATH 后就发生了这种情况。
我认为这可能是/etc/apt/sources.list
.我运行了sudo apt-get update
,但没有解决问题,如上所述这里。
Debian 不支持 XFS?
我正在关注这个回答我输入
mkfs.x[tab]
mkfs.bfs mkfs.ext3 mkfs.fat mkfs.minix mkfs.vfat
mkfs.cramfs mkfs.ext4 mkfs.hfs mkfs.msdos
mkfs.ext2 mkfs.ext4dev mkfs.hfsplus mkfs.ntfs
所以插入 CD 似乎是 Debian 说“不”的方式。
为什么 Debian 8.1 在 Debian apt-get 中要求安装介质请求?
答案1
删除或注释 ( #
) 中的 cdrom 行/etc/apt/sources.list
并查看其中的文件/etc/apt/sources.list.d
并运行
apt-get update