.安装php apt-get install libapache2-mod-php5 php5 报错 E: Package 'libapache2-mod-php5' has no installation candidate E: Package 'php5' has no installation candidate 解决方法如下: add-apt-repository ppa:ondrej/php 报错: The program 'add-apt-repository' is curren
yum install 安装时报yum doesn't have enough cached data to continue. 安装epel,yum -y install epel-release后,yum安装时出现如下异常: [root@ec-cache ~]# yum install gcc 已加载插件:fastestmirror base | 3.6 kB 00:00:00 One of the configured repositories failed (未知), and yum d
当执行sudo apt install rpm时失败(apt-get也失败),输出如下报错信息: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 经查找,出现该问题的原因是:还有一个线程在使用
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- sequel (LoadError) from /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require' from dna_in.rb:2:in `<ma