1

I am using below command to install ftp but its showing error message:

sudo apt-get install vsftpd

Error

Building dependency tree
Reading state information... Done
E: Unable to locate package vsftpd
UMAIR ALI
  • 111
  • I just looked on my 17.10 box; it's located in 'main' and it was instantly located on my ubuntu mirror. I'd check your sources.list to see where it's pointing; maybe switch-to or add another mirror. – guiverc Nov 16 '17 at 07:12
  • I am configuring new digitalocean droplet facing this error can you suggest me any thing – UMAIR ALI Nov 16 '17 at 07:16
  • maybe switch-to or add another mirror is a suggestion. –  Nov 16 '17 at 07:18
  • which other mirror is good – UMAIR ALI Nov 16 '17 at 07:20
  • the best mirror for you depends upon your location. for example I list my isp's mirror; then my countries ubuntu [au.*.ubuntu.com because i'm in au], then finally *.ubuntu.com or the default ubuntu.com site – guiverc Nov 16 '17 at 07:37
  • ok, now I try to login with FTP without vsftpd installation and its working. – UMAIR ALI Nov 16 '17 at 07:47

3 Answers3

1

Have you tried to resynchronize the package index files from their sources before installing the package?

sudo apt-get update && sudo apt-get install vsftpd
sys0dm1n
  • 333
0

You can download the .deb archive for amd64 and/or i386 from these links. Go to the directory that you downloaded the .deb archive to, and install the package manually by:

sudo dpkg -i "packageName.deb" #replace the text in quotes with the name of the package you downloaded
sudo apt-get install -f  # to fix any dependencies that might be broken.
endrias
  • 597
0

I removed my Singapore droplet mirror and changed mirror from Singapore to Newyork and now it's working.

Melebius
  • 11,431
  • 9
  • 52
  • 78
UMAIR ALI
  • 111