從 Wheezy 升級到 Jessie,但 aptitude 仍然會出現 wheezy URL

從 Wheezy 升級到 Jessie,但 aptitude 仍然會出現 wheezy URL

我按照以下步驟將 Wheezy 升級為 Jessie發行說明 - 第 4 章,但現在當我這樣做時,aptitude update我得到的 URL 中包含 wheezy :

root@debian:/home/paullik# aptitude update
Hit http://ftp.ro.debian.org jessie InRelease
Hit http://ftp.ro.debian.org jessie-updates InRelease 
Hit http://ftp.ro.debian.org jessie-backports InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.ro.debian.org jessie/main Sources
Hit http://ftp.ro.debian.org jessie/main i386 Packages
Hit http://ftp.ro.debian.org jessie/contrib i386 Packages 
Hit http://ftp.ro.debian.org jessie/non-free i386 Packages
Hit http://ftp.ro.debian.org jessie/contrib Translation-en
Hit http://ftp.ro.debian.org jessie/main Translation-en   
Hit http://ftp.ro.debian.org jessie/non-free Translation-en
Hit http://ftp.ro.debian.org jessie-updates/main Sources  
Hit http://ftp.ro.debian.org jessie-updates/contrib Sources
Hit http://ftp.ro.debian.org jessie-updates/non-free Sources
Get: 1 http://ftp.ro.debian.org jessie-updates/main i386 Packages/DiffIndex [229 B]
Hit http://ftp.ro.debian.org jessie-updates/contrib i386 Packages
Hit http://ftp.ro.debian.org jessie-updates/non-free i386 Packages
Hit http://ftp.ro.debian.org jessie-updates/contrib Translation-en
Get: 2 http://ftp.ro.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Hit http://ftp.ro.debian.org jessie-updates/non-free Translation-en
Get: 3 http://ftp.ro.debian.org jessie-backports/main i386 Packages/DiffIndex [2,023 B]
Hit http://ftp.ro.debian.org jessie-backports/contrib i386 Packages
Hit http://ftp.ro.debian.org jessie-backports/non-free i386 Packages
Hit http://ftp.ro.debian.org jessie-backports/contrib Translation-en
Get: 4 http://ftp.ro.debian.org jessie-backports/main Translation-en/DiffIndex [781 B]
Hit http://ftp.ro.debian.org jessie-backports/non-free Translation-en
Hit http://ftp.ro.debian.org jessie-backports/main i386 Packages    
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit https://deb.nodesource.com wheezy InRelease
Hit https://deb.nodesource.com wheezy/main Sources
Hit https://deb.nodesource.com wheezy/main i386 Packages
Get: 5 https://deb.nodesource.com wheezy/main Translation-en_US [162 B]
Get: 6 https://deb.nodesource.com wheezy/main Translation-en [162 B]
Get: 7 https://deb.nodesource.com wheezy/main Translation-en_US [162 B]
Get: 8 https://deb.nodesource.com wheezy/main Translation-en [162 B]
Get: 9 https://deb.nodesource.com wheezy/main Translation-en_US [162 B]
Get: 10 https://deb.nodesource.com wheezy/main Translation-en [162 B]
Get: 11 https://deb.nodesource.com wheezy/main Translation-en_US [162 B]
Get: 12 https://deb.nodesource.com wheezy/main Translation-en [162 B]
Get: 13 https://deb.nodesource.com wheezy/main Translation-en_US [162 B]
Ign https://deb.nodesource.com wheezy/main Translation-en_US
Get: 14 https://deb.nodesource.com wheezy/main Translation-en [162 B]
Ign https://deb.nodesource.com wheezy/main Translation-en
Fetched 3,262 B in 8s (366 B/s)  

我的sources.list

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

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

# jessie-updates, previously known as 'volatile'
deb http://ftp.ro.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.ro.debian.org/debian/ jessie-updates main contrib non-free

#backports
deb http://ftp.ro.debian.org/debian/ jessie-backports main contrib non-free

這個可以嗎?如何刪除 Wheezy URL?

PS:apt-get update具有相同的輸出。升級過程很順利。

答案1

對於其他閱讀本文的人:

Hit https://deb.nodesource.com wheezy不是分發管理的儲存庫。您必須自行維護/更新外部儲存庫。正如您已經提到的,您已經修復了它。

答案2

/etc/apt/sources.list.d/我有另一個指向wheezy.我把它改成了jessie,問題就解決了!

相關內容