没有找到jessie debian的规范来源

时间:2017-07-01 13:32:17

标签: linux debian canonical-link

我总是得到这个错误:

name@debian-name:~$ sudo apt-get update
[sudo] password for name: 
Ign http://archive.canonical.com jessie InRelease
Ign http://archive.canonical.com jessie Release.gpg
Ign http://archive.canonical.com jessie Release
Err http://archive.canonical.com jessie/partner amd64 Packages
  404  Not Found [IP: 91.189.92.191 80]
Err http://archive.canonical.com jessie/partner i386 Packages
  404  Not Found [IP: 91.189.92.191 80]
Ign http://archive.canonical.com jessie/partner Translation-en_US
Ign http://archive.canonical.com jessie/partner Translation-en
Ign http://repo.vivaldi.com stable InRelease
Hit http://repo.vivaldi.com stable Release.gpg
Hit http://repo.vivaldi.com stable Release
Get:1 http://repo.vivaldi.com stable/main amd64 Packages [8,859 B]
Get:2 http://repo.vivaldi.com stable/main i386 Packages [6,766 B]
Ign http://repo.vivaldi.com stable/main Translation-en_US
Ign http://repo.vivaldi.com stable/main Translation-en
Fetched 15.6 kB in 2s (6,035 B/s)
W: Failed to fetch 
http://archive.canonical.com/ubuntu/dists/jessie/partner/binary-amd64/Packages  404  Not Found [IP: 91.189.92.191 80]

W: Failed to fetch 
http://archive.canonical.com/ubuntu/dists/jessie/partner/binary-i386/Packages  404  Not Found [IP: 91.189.92.191 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

除了规范之外,我删除了所有sources.list文件的来源,但仍然会收到此错误。 所以sources.list只有以下来源:

deb http://archive.canonical.com/ubuntu/ jessie partner  

为什么不能找到它?

1 个答案:

答案 0 :(得分:-1)

既然你确定你有Debian Jessie,你应该使用Debian列表,而不是Ubuntu。例如,以下是德语位置的默认源列表:

deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie main contrib non-free

deb http://ftp.de.debian.org/debian jessie-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free