找不到 jessie debian 的规范来源

canonical source not found for jessie debian

我总是收到这个错误:

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  

为什么找不到?

既然你确定你有 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