zoukankan      html  css  js  c++  java
  • 安装VSFTPD时遇到的问题

    用VMware安装ubuntu以后。又按步骤安装了VMware-tools。又继续安装VSFTPD的时候出现了问题。

    输入:sudo apt-get install vsftpd

    返回错误 :E:找不到软件包 vsftpd.

    然后去更新源:输入 sudo apt-get update

    没有更新。。所有的源都是404 not found

    怎么办呢? 解决方法:

    重新编辑sources.list

    在终端中输入:sudo gedit /etc/apt/sources.list

    输入密码以后,弹出sources.list.然后去更新源。

    在网上找了一些源:

    网易(速度很快)

      代码:

      deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

      deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

      deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

      deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

      deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

      deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

      deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

      deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

      搜狐

      代码:

      deb http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse

      deb-src http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse

      deb http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted

      deb-src http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted

      deb http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted

      deb http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted

      deb-src http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted

      deb http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted

      SRT Sources

      代码:

      deb http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse

      deb http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse

      deb http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse

      deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse

      deb http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

      deb-src http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse

      deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse

      deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse

      deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse

      deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

      ubuntu官方上海源

      代码:

      deb http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

      deb-src http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

      deb http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

      deb-src http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

      deb http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted

      deb http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

      deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

      deb http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

      deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted


    替换以后,好了。

    终端输入 sudo apt-get update

    ........

    ..........


    再输入sudo apt-get upgrade

    -------------

    -------------


    更新完毕以后 就可以正常安装VSFTPD了

  • 相关阅读:
    无线鼠标和无线键盘能不能唤醒睡眠中的电脑的解决方案
    教你如何设置同时上内外网(单网卡或双网卡)
    Oracle_字符集问题(数据库与客户端字符集关联关系)
    关于破解移动宽带光猫 型号: GS3101 超级管理员密码
    Oracle 低版本客户端连接 18c 报ORA-28040 和 ORA-01017 错误的解决方法
    sql语句分组统计出年月日下数据记录数目
    Servlet文件上传
    ActiveMq+zookeeper+levelDB集群整合配置
    mongodb 级联操作查询时,关联条件
    maven插件地址博客园
  • 原文地址:https://www.cnblogs.com/cecwxf/p/2394228.html
Copyright © 2011-2022 走看看