在安装vsftpd,出现"E: Some index files failed to download, they have been ignored, or old ones used instead."
执行命令:apt-get update 再执行sudo apt-get install vsftpd.同样无法解决问题
下面是解决的方法:
1、首先进入/etc/apt 先备份sources.list
2、输入命令:vim sources.list,替换sources.list内的源
更换上国内阿里云源(可以更换其他源)
deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
3、再次执行apt-get update
4、重新安装vsftpd
查看是否安装成功
没问题安装成功,本文仅供学习参考,如有问题请指正。