我在尝试执行apt-get update
时遇到以下错误' DEB'在/etc/apt/sources.list中不知道
我的sources.list
deb http://deb.debian.org/debian/ stable main contrib
deb-src http://deb.debian.org/debian/ stable main contrib
deb http://deb.debian.org/debian/ stable-updates main contrib
deb-src http://deb.debian.org/debian/ stable-updates main contrib
deb http://deb.debian.org/debian-security stable/updates main
deb-src http://deb.debian.org/debian-security stable/updates main
deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main
我查看了各种论坛,但无法找到解决方案。这不是一个错字。
的输出
hex -C /etc/apt/sources.list
没有表现出任何可疑之处。我错过了apt的一些配置吗?
答案 0 :(得分:0)
我的sources.list已取消注释以下源条目。也许你应该将它们与你的进行比较。
deb http://security.ubuntu.com/ubuntu/ xenial-security universe restricted multiverse main
deb http://ke.archive.ubuntu.com/ubuntu/ xenial-updates universe restricted multiverse main
deb http://ke.archive.ubuntu.com/ubuntu/ xenial-backports universe restricted multiverse main
将来我认为通过向unix and linux stack或dedicated to ubuntu发布与ubuntu相关的问题,您将获得更好的帮助