명령을 실행하면 sudo apt-get update
다음 오류가 발생합니다.
Fetched 988 kB in 16s (59,3 kB/s)
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/rebecca-getdeb/apps/binary-amd64/Packages 404 Not Found [IP: 104.28.24.125 80]
W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/rebecca-getdeb/apps/binary-i386/Packages 404 Not Found [IP: 104.28.24.125 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
이러한 오류를 수정하려면 수정해야 한다는 것을 알고 있지만 sudo gedit /etc/apt/sources.list
이 경우에는 다음만 발견했습니다.
#deb cdrom:[Linux Mint 17.1 _Rebecca_ - Release amd64 20141126]/ trusty contrib main non-free
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ trusty/
/etc/apt/source.list.d
비었다. sudo apt-cache policy
다음을 제공합니다:
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-ubuntuhandbook1-apps,a=trusty,n=trusty,l=Apps,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-ubuntuhandbook1-apps,a=trusty,n=trusty,l=Apps,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-ubuntu-wine,a=trusty,n=trusty,l=Wine Team PPA,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-ubuntu-wine,a=trusty,n=trusty,l=Wine Team PPA,c=main
origin ppa.launchpad.net
500 http://deb.playonlinux.com/ saucy/main i386 Packages
release v=13.10,o=PlayOnLinux,a=saucy,n=saucy,l=PoL,c=main
origin deb.playonlinux.com
500 http://deb.playonlinux.com/ saucy/main amd64 Packages
release v=13.10,o=PlayOnLinux,a=saucy,n=saucy,l=PoL,c=main
origin deb.playonlinux.com
500 http://archive.canonical.com/ubuntu/ trusty/partner Translation-en
500 http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages
release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
origin archive.canonical.com
500 http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages
release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
origin archive.canonical.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe Translation-en
500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted Translation-en
500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse Translation-en
500 http://security.ubuntu.com/ubuntu/ trusty-security/main Translation-en
500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
origin security.ubuntu.com
700 http://extra.linuxmint.com/ rebecca/main i386 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=main
origin extra.linuxmint.com
700 http://extra.linuxmint.com/ rebecca/main amd64 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=main
origin extra.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/import i386 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=import
origin packages.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/upstream i386 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=upstream
origin packages.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/main i386 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=main
origin packages.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/import amd64 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=import
origin packages.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/upstream amd64 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=upstream
origin packages.linuxmint.com
700 http://packages.linuxmint.com/ rebecca/main amd64 Packages
release v=17.1,o=linuxmint,a=rebecca,n=rebecca,l=linuxmint,c=main
origin packages.linuxmint.com
500 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-notepadqq-team-notepadqq,a=trusty,n=trusty,l=Notepadqq,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-notepadqq-team-notepadqq,a=trusty,n=trusty,l=Notepadqq,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/noobslab/themes/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/noobslab/themes/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-noobslab-themes,a=trusty,n=trusty,l=Themes Collection by NoobsLab,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/noobslab/themes/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-noobslab-themes,a=trusty,n=trusty,l=Themes Collection by NoobsLab,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/moka/stable/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/moka/stable/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-moka-stable,a=trusty,n=trusty,l=Moka Stable,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/moka/stable/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-moka-stable,a=trusty,n=trusty,l=Moka Stable,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/lyx-devel/release/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/lyx-devel/release/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-lyx-devel-release,a=trusty,n=trusty,l=LyX PPA (release),c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/lyx-devel/release/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-lyx-devel-release,a=trusty,n=trusty,l=LyX PPA (release),c=main
origin ppa.launchpad.net
500 http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
origin dl.google.com
500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
origin dl.google.com
500 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-gezakovacs,a=trusty,n=trusty,l=UNetbootin PPA,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-gezakovacs,a=trusty,n=trusty,l=UNetbootin PPA,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-fossfreedom-rhythmbox,a=trusty,n=trusty,l=Rhythmbox,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-fossfreedom-rhythmbox,a=trusty,n=trusty,l=Rhythmbox,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/costales/folder-color/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/costales/folder-color/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-costales-folder-color,a=trusty,n=trusty,l=Folder Color,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/costales/folder-color/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-costales-folder-color,a=trusty,n=trusty,l=Folder Color,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/atareao/telegram/ubuntu/ trusty/main Translation-en
500 http://ppa.launchpad.net/atareao/telegram/ubuntu/ trusty/main i386 Packages
release v=14.04,o=LP-PPA-atareao-telegram,a=trusty,n=trusty,l=Telegram,c=main
origin ppa.launchpad.net
500 http://ppa.launchpad.net/atareao/telegram/ubuntu/ trusty/main amd64 Packages
release v=14.04,o=LP-PPA-atareao-telegram,a=trusty,n=trusty,l=Telegram,c=main
origin ppa.launchpad.net
500 http://repository.spotify.com/ stable/non-free i386 Packages
origin repository.spotify.com
500 http://repository.spotify.com/ stable/non-free amd64 Packages
origin repository.spotify.com
500 http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ trusty/ Packages
release v=14.04,o=CRAN,a=trusty,n=trusty,l=CRAN,c=
origin cran.cnr.berkeley.edu
700 http://download.virtualbox.org/virtualbox/debian/ quantal/contrib i386 Packages
origin download.virtualbox.org
700 http://download.virtualbox.org/virtualbox/debian/ quantal/contrib amd64 Packages
origin download.virtualbox.org
Pinned packages:
inxi -r
내가 얻는 명령을 실행하면 다음과 같습니다 .
Active apt sources in file: /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ trusty/
Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb http://repository.spotify.com stable non-free
Active apt sources in file: /etc/apt/sources.list.d/atareao-telegram-trusty.list
deb http://ppa.launchpad.net/atareao/telegram/ubuntu trusty main
deb-src http://ppa.launchpad.net/atareao/telegram/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/costales-folder-color-trusty.list
deb http://ppa.launchpad.net/costales/folder-color/ubuntu trusty main
deb-src http://ppa.launchpad.net/costales/folder-color/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/fossfreedom-rhythmbox-trusty.list
deb http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu trusty main
deb-src http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/getdeb.list
deb http://archive.getdeb.net/ubuntu rebecca-getdeb apps
Active apt sources in file: /etc/apt/sources.list.d/gezakovacs-ppa-trusty.list
deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb http://dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/lyx-devel-release-trusty.list
deb http://ppa.launchpad.net/lyx-devel/release/ubuntu trusty main
deb-src http://ppa.launchpad.net/lyx-devel/release/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/moka-stable-trusty.list
deb http://ppa.launchpad.net/moka/stable/ubuntu trusty main
deb-src http://ppa.launchpad.net/moka/stable/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/noobslab-themes-trusty.list
deb http://ppa.launchpad.net/noobslab/themes/ubuntu trusty main
deb-src http://ppa.launchpad.net/noobslab/themes/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/notepadqq-team-notepadqq-trusty.list
deb http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu trusty main
deb-src http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com rebecca main upstream import
deb http://extra.linuxmint.com rebecca main
deb http://old-releases.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Active apt sources in file: /etc/apt/sources.list.d/playonlinux.list
deb http://deb.playonlinux.com/ saucy main
Active apt sources in file: /etc/apt/sources.list.d/ubuntu-wine-ppa-trusty.list
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/ubuntuhandbook1-apps-trusty.list
deb http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu trusty main
deb-src http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu trusty main
실행하면 cd /etc/apt/sources.list.d
다음 ls -la
을 얻습니다.
total 60
4 -rw-r--r-- 1 root root 50 Apr 5 21:26 additional-repositories.list
4 -rw-r--r-- 1 root root 134 Mar 21 19:59 atareao-telegram-trusty.list
4 -rw-r--r-- 1 root root 144 Apr 4 11:18 costales-folder-color-trusty.list
4 -rw-r--r-- 1 root root 144 Mar 27 14:10 fossfreedom-rhythmbox-trusty.list
4 -rw-r--r-- 1 root root 57 May 1 02:23 getdeb.list
4 -rw-r--r-- 1 root root 130 Apr 2 14:31 gezakovacs-ppa-trusty.list
4 -rw-r--r-- 1 root root 176 Apr 5 21:26 google-chrome.list
4 -rw-r--r-- 1 root root 136 Mar 25 23:04 lyx-devel-release-trusty.list
4 -rw-r--r-- 1 root root 124 Mar 23 02:27 moka-stable-trusty.list
4 -rw-r--r-- 1 root root 132 Mar 23 13:43 noobslab-themes-trusty.list
4 -rw-r--r-- 1 root root 150 Apr 6 21:43 notepadqq-team-notepadqq-trusty.list
4 -rw-r--r-- 1 root root 470 May 1 22:55 official-package-repositories.list
4 -rw-r--r-- 1 root root 43 Feb 27 22:06 playonlinux.list
4 -rw-r--r-- 1 root root 142 Mar 23 22:44 ubuntuhandbook1-apps-trusty.list
4 -rw-r--r-- 1 root root 132 Apr 14 00:34 ubuntu-wine-ppa-trusty.list
누구든지 해결책을 제안할 수 있나요?
답변1
질문의 오류 메시지에 언급된 각 URL을 검색하세요. 그런 다음 관련 파일에서 삭제하십시오 /etc/apt/sources.list.
.
예를 들어
cd /etc/apt/sources.list.d
grep -R http://old-releases.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages
/etc/apt/sources.list.d
그러면 파일로 이동하여 해당 줄을 삭제하거나 #
주석 문자를 사용하여 편집하십시오 . 내가 아는 한, 표시되는 모든 오류 메시지는 에서 발생합니다 /etc/apt/sources.list.d
.
답변2
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
문제를 해결할 것이다
그런 다음 입력
sudo apt-get update
이것이 귀하의 문제를 해결하기를 바랍니다.
답변3
내 Mint 17.1은 /etc/apt/sources.list를 사용하지 않지만 /etc/apt/sources.list.d/official-package-repositories.list를 사용하는 것 같습니다.
다음 명령을 시도해 보십시오:
# inxi -r
당신이 무엇을 얻는지 알려주세요.
답변4
저장소: 파일의 활성 apt 소스: /etc/apt/sources.list debhttp://packages.linuxmint.com/데비안 메인 업스트림 import deb ht tp://debian.linuxmint.com/latest test main contrib non-free deb ht tp://debian.linuxmint.com/latest/security Testing/updates main contrib non-free deb h ttp: // debian.linuxmint.com/latest/multimedia 테스트 파일의 주요 무료 활성 apt 소스: /etc/apt/sources.list.d/official-package-repositories.list deb ht tp://packages.linuxmint. com rebecca main upper import deb h tp://extra.linuxmint.com rebecca main deb ht tp://archive.ubuntu.com/ubuntu trusty main 제한된 우주 multiverse deb ht tp://archive.ubuntu.com/ ubuntu trusty - 업데이트된 주요 제한된 우주 다중 우주 deb ht tp://security.ubuntu.com/ubuntu/ trusty-security 주요 제한된 우주 다중 우주 deb ht tp://archive.canonical.com/ubuntu/ trusty 파트너 파일 활성 적절한 소스: / etc/apt/sources.list.d/pgdg.list deb ht tp:// apt.postgresql.org/pub/repos/apt/ trusty-pgdg main