E: Package 'php5' has no installation candidate 问题 分析 首先这个问题的最主要的原因就是因为当前Linux系统的下载源中找不到相应的文件,所以说我们需要更新下载源 步骤 找到记录着下载源地址的文件 vi /etc/apt/sources.list 在下载源中添加源 deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free # deb-src http://mirrors.…
问题描述: root@zhouls-virtual-machine:~# apt-get install vimReading package lists... DoneBuilding dependency tree Reading state information... DonePackage vim is not available, but is referred to by another package.This may mean that the package is missi…
linux 报错:E: Package 'libmemcached' has no installation candidate 网上查资料说是软件安装源没有这个软件,需要添加软件源. 1.备份源列表 sudo cp  /etc/apt/sources.list  /etc/apt/sources.list.bak 2.添加源列表 在这个网站上选择适合你的版本型号的源列表(一定要选对版本) http://wiki.ubuntu.org.cn/Qref/Source#Hardy.288.04.29…
$sduo apt-get install openssh-server Reading package lists… Done Building dependency tree Reading state information… Done Package openssh-server is not available, but is referred to by another package. This may mean that the package is missing, has b…
我的环境是在vm虚拟机中,Ubuntu17.04 前期安装步骤不过多介绍,下面这个博客就很好 ubuntu16.10安装docker17.03.0-ce并配置国内源和加速器 http://www.cnblogs.com/wish123/p/6501569.html 如果要是以后过时了,也可以看官方文档,现在有两款,CE(社区版)和EE(企业版),视情况选择,我练习就用CE了,EE好像要收费吧.. https://docs.docker.com/engine/installation/linux/…
Chkcofig不再适用于Ubuntu系统,可用类似的软件sysv-rc-conf进行替换: Chkconfig is no longer available in Ubuntu. Chkconfig is a script. You can download it from here. sudo apt-get install sysv-rc-conf sysv-rc-conf --list xxxx 当然也可以 alias chkconfig=sysv-rc-conf chkconfig -…
本文转载自:http://www.cnblogs.com/changefuture/archive/2012/06/19/2554876.html 解决方式: sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jdk…
问题:安装oracle-java8-installer按照如下指南失败: How To Install Java with Apt-Get on Ubuntu 16.04[https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04] 解决: sudo add-apt-repository ppa:ts.sch.gr/ppa sudo apt-get update…
sudo apt-get install vim 在安装vim时报如下错误: Error accoured: This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'vim' has no installation candidate 上网查了许多资料,发现是库未更新,依次执行如下命令: sudo apt-get update…
最近将公司的台式机安装了ubuntu16.04,安装之后,使用apt-get install openssh-server 发现出现:Package 'openssh-server' has no installation candidate  的问题.下面主要讲解一下解决问题的办法: 1.出现上面的问题主要原因是源的问题.于是可以将ubuntu的源修改一下,ubuntu的源文件主要存放在/etc/apt/sources.list文件中,只需要修改里面的内容即可. (1)首先将系统自带的源进行备…