sudo apt-get update
Ubuntu 12.04에서 실행한 후의 출력은 다음과 같습니다.
Ign http://apt.typesafe.com unicorn/main Translation-en
35% [Working]W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
내 우분투 버전은 12.04입니다.
고쳐 쓰다:
이 명령을 사용하여 날짜를 계산했습니다.
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
출력은 다음과 같습니다.
/etc/apt/sources.list
1 #############################################################
2 ################### OFFICIAL UBUNTU REPOS ###################
3 #############################################################
4
5 ###### Ubuntu Main Repos
6 deb http://mirror.mirohost.net/ubuntu/ precise main restricted universe multiverse
7 deb-src http://mirror.mirohost.net/ubuntu/ precise main restricted universe multiverse
8
9 ###### Ubuntu Update Repos
10 deb http://mirror.mirohost.net/ubuntu/ precise-security main restricted universe multiverse
11 deb http://mirror.mirohost.net/ubuntu/ precise-updates main restricted universe multiverse
12 deb http://mirror.mirohost.net/ubuntu/ precise-backports main restricted universe multiverse
13 deb-src http://mirror.mirohost.net/ubuntu/ precise-security main restricted universe multiverse
14 deb-src http://mirror.mirohost.net/ubuntu/ precise-updates main restricted universe multiverse
15 deb-src http://mirror.mirohost.net/ubuntu/ precise-backports main restricted universe multiverse
16
17 ###### Ubuntu Partner Repo
18 # deb http://archive.canonical.com/ubuntu precise partner
19 # deb-src http://archive.canonical.com/ubuntu precise partner
20
21 ###### Ubuntu Extras Repo
22 # deb http://extras.ubuntu.com/ubuntu precise main
23 # deb-src http://extras.ubuntu.com/ubuntu precise main
24 # deb http://linux.dropbox.com/ubuntu precise main
25 # deb-src http://linux.dropbox.com/ubuntu precise main
/etc/apt/source.list
1 deb http://security.ubuntu.com/ubuntu precise-security main universe
/etc/apt/sources.list.d/webupd8team-y-ppa-manager-precise.list
1 # deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu precise main
2 # deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu precise main
/etc/apt/sources.list.d/google-talkplugin.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://dl.google.com/linux/talkplugin/deb/ stable main
/etc/apt/sources.list.d/playonlinux.list
1 # deb http://deb.playonlinux.com/ quantal main
/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_intellij-idea-ce_ubuntu.list
1 # deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf
2 deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf
/etc/apt/sources.list.d/webupd8team-sublime-text-3-precise.list
1 # deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu precise main
2 deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu precise main
/etc/apt/sources.list.d/typesafe-apt.list
1 # Typesafe repository.
2 deb http://apt.typesafe.com/ unicorn main # Typesafe "unicorn" releases.
/etc/apt/sources.list.d/eclipse-team-ppa-precise.list
1 deb http://ppa.launchpad.net/eclipse-team/ppa/ubuntu precise main
2 deb-src http://ppa.launchpad.net/eclipse-team/ppa/ubuntu precise main
/etc/apt/sources.list.d/medibuntu.list
1 ## Please report any bug on https://bugs.launchpad.net/medibuntu/
2 deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
3 # deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"
/etc/apt/sources.list.d/lezhoev-qstamina-precise.list
1 deb http://ppa.launchpad.net/lezhoev/qstamina/ubuntu precise main
2 deb-src http://ppa.launchpad.net/lezhoev/qstamina/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-java-precise.list
1 deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
2 deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
/etc/apt/sources.list.d/tualatrix-ppa-precise.list
1 deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
2 deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
/etc/apt/sources.list.d/kilian-f_lux-precise.list
1 deb http://ppa.launchpad.net/kilian/f.lux/ubuntu precise main
2 deb-src http://ppa.launchpad.net/kilian/f.lux/ubuntu precise main
/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list
1 deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
2 deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
/etc/apt/sources.list.d/fsqcds-goldenddict-precise.list
1 deb http://ppa.launchpad.net/fsqcds/goldendict/ubuntu precise main
2 deb-src http://ppa.launchpad.net/fsqcds/goldendict/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-rhythmbox-precise.list
1 deb http://ppa.launchpad.net/webupd8team/rhythmbox/ubuntu precise main
2 deb-src http://ppa.launchpad.net/webupd8team/rhythmbox/ubuntu precise main
/etc/apt/sources.list.d/upubuntu-com-devel-precise.list
1 deb http://ppa.launchpad.net/upubuntu-com/devel/ubuntu precise main
2 deb-src http://ppa.launchpad.net/upubuntu-com/devel/ubuntu precise main
다음에서 또 다른 문제가 발생했습니다 sudo apt-get update
.
Err http://ppa.launchpad.net precise/main Sources
404 Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
404 Not Found
- 이 문제를 해결하는 방법은 무엇입니까?
답변1
W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
서버에 경로가 없습니다. 분명히 eclipse-team
ppa는 Ubuntu 12.04에 대한 "정확한" 패키지를 제공하지 않습니다.
http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/
파일을 삭제하면 이 문제를 해결할 수 있습니다 /etc/apt/sources.list.d/eclipse-team-ppa-precise.list
.
sudo rm -f /etc/apt/sources.list.d/eclipse-team-ppa-precise.list