• 安装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了

  • 相关阅读:
    【转】有关Managed code和Native code的区别
    【转】wince6.0 vs2005 编译选项详解
    【转】Wince Device Emulator使用介绍Device Emulator 2.0
    Dapper基础增删查改、事务和存储过程
    SharpCompress的压缩文件解压和文件夹压缩
    MVC WebAPI 的基本使用
    prepare for travel 旅行准备
    gossip
    JS笔记(3) 词汇结构(待续。。。)
    Good Points Bad Points
  • 原文地址:https://www.cnblogs.com/cecwxf/p/2394228.html
Copyright © 2020-2023  润新知