![E: 无法获取某些档案,也许可以运行 apt-get update 或尝试使用 --fix-missing](https://linux22.com/image/1087345/E%3A%20%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96%E6%9F%90%E4%BA%9B%E6%A1%A3%E6%A1%88%EF%BC%8C%E4%B9%9F%E8%AE%B8%E5%8F%AF%E4%BB%A5%E8%BF%90%E8%A1%8C%20apt-get%20update%20%E6%88%96%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20--fix-missing.png)
错误:
autoroot@autoroot:/etc/apt/sources.list.d$ sudo apt-get install python-xlib
[sudo] password for autoroot:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-support
The following NEW packages will be installed:
python-support python-xlib
0 upgraded, 2 newly installed, 0 to remove and 50 not upgraded.
Need to get 191 kB of archives.
After this operation, 1,080 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
python-support python-xlib
Install these packages without verification [y/N]? y
Err http://repo.iitd.ernet.in/ubuntu/ precise/universe python-support all 1.0.14ubuntu2
501 Not Implemented
Err http://repo.iitd.ernet.in/ubuntu/ precise/universe python-xlib all 0.14+20091101-1
501 Not Implemented
Failed to fetch http://repo.iitd.ernet.in/ubuntu/pool/universe/p/python-support/python-support_1.0.14ubuntu2_all.deb 501 Not Implemented
Failed to fetch http://repo.iitd.ernet.in/ubuntu/pool/universe/p/python-xlib/python-xlib_0.14+20091101-1_all.deb 501 Not Implemented
N: Ignoring 'build' in directory '/etc/apt/sources.list.d/' as it is not a regular file
N: Ignoring 'build' in directory '/etc/apt/sources.list.d/' as it is not a regular file
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
autoroot@autoroot:/etc/apt/sources.list.d$
以下是我的资料来源
$cat /etc/apt/sources.list
deb http://repo.iitd.ernet.in/ubuntu precise main restricted universe multiverse
deb-src http://repo.iitd.ernet.in/ubuntu precise main restricted universe multiverse
deb http://repo.iitd.ernet.in/ubuntu precise-proposed main restricted universe multiverse
deb-src http://repo.iitd.ernet.in/ubuntu precise-proposed main restricted universe multiverse
deb http://repo.iitd.ernet.in/ubuntu precise-updates main restricted universe multiverse
deb-src http://repo.iitd.ernet.in/ubuntu precise-updates main restricted universe multiverse
deb http://repo.iitd.ernet.in/ubuntu precise-security main restricted universe multiverse
deb-src http://repo.iitd.ernet.in/ubuntu precise-security main restricted universe multiverse
deb http://repo.iitd.ernet.in/ubuntu precise-backports main restricted universe multiverse
deb-src http://repo.iitd.ernet.in/ubuntu precise-backports main restricted universe multiverse
deb http://repo.iitd.ernet.in/ubuntupartner precise partner
deb-src http://repo.iitd.ernet.in/ubuntupartner precise partner
autoroot@autoroot:~/Desktop$ tree /etc/apt/sources.list.d/
/etc/apt/sources.list.d/
|-- dropbox.list
|-- dropbox.list.save
|-- fkrull-deadsnakes-python2_7-precise.list
|-- fkrull-deadsnakes-python2_7-precise.list.save
|-- ia32-libs-raring.list
|-- ia32-libs-raring.list.save
|-- kivy-team-kivy-precise.list
|-- kivy-team-kivy-precise.list.save
`-- webupd8team-sublime-text-3-precise.list
0 directories, 9 files
sudo apt-get update 的输出 http://paste.ubuntu.com/16275264/
还请注意,我支持机构代理。