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

  • 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 7:12
  • I am configuring new digitalocean droplet facing this error can you suggest me any thing – UMAIR ALI Nov 16 '17 at 7:16
  • maybe switch-to or add another mirror is a suggestion. – user692175 Nov 16 '17 at 7:18
  • which other mirror is good – UMAIR ALI Nov 16 '17 at 7: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 7:37
0

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
| improve this answer | |
  • i tried your command but its showing same error message – UMAIR ALI Nov 16 '17 at 7:49
  • What is the content of your source.list ? are you able to install other packages such as vim or nano? did you try resetting your source.list ? – sys0dm1n Nov 16 '17 at 7:57
0

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

| improve this answer | |
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.
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.