Unable to locate package vsftpd Ubuntu 17.10

6,507

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
Share:
6,507
UMAIR ALI
Author by

UMAIR ALI

Updated on September 18, 2022

Comments

  • UMAIR ALI
    UMAIR ALI almost 2 years

    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
    
    • guiverc
      guiverc over 6 years
      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.
    • UMAIR ALI
      UMAIR ALI over 6 years
      I am configuring new digitalocean droplet facing this error can you suggest me any thing
    • Admin
      Admin over 6 years
      maybe switch-to or add another mirror is a suggestion.
    • UMAIR ALI
      UMAIR ALI over 6 years
      which other mirror is good
    • guiverc
      guiverc over 6 years
      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
    • UMAIR ALI
      UMAIR ALI over 6 years
      ok, now I try to login with FTP without vsftpd installation and its working.
  • UMAIR ALI
    UMAIR ALI over 6 years
    i tried your command but its showing same error message
  • sys0dm1n
    sys0dm1n over 6 years
    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 ?