我在 Ubuntu 14.04 上。每次我更新我的比赛时,我都得到了
N: Ignoring file 'libdvdcss.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'libdvdcss.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
我从 sources.list.d 给出 ls 输出
getdeb.list libdvdcss.list videolan-stable-daily-trusty.list.save
getdeb.list.save otto-kesselgulasch-gimp-trusty.list webupd8team-java-trusty.list
gnome3-team-gnome3-trusty.list otto-kesselgulasch-gimp-trusty.list.save webupd8team-java-trusty.list.save
gnome3-team-gnome3-trusty.list.save playdeb.list webupd8team-y-ppa-manager-trusty.list
google-chrome.list playdeb.list.save
libdvdcss.lis videolan-stable-daily-trusty.list
当我尝试这个
milenko@milenko-HP-Compaq-6830s:/etc/apt/sources.list.d$ rm libdvdcss.lis
rm: remove write-protected regular file ‘libdvdcss.lis’? yes
rm: cannot remove ‘libdvdcss.lis’: Permission denied
编辑我也做了同样的事情,只是我首先以 root 身份输入。
sources.list.d 目录中的 apt-sources 需要以
.list
.如有疑问...查看
man sources.list
,您会发现以下内容: