CentOS 6,certbot 0.16.0。 当我手动运行它作为根(不是由sudo)一切正常。 当我设置/ etc / crontab自动运行它会返回一个错误: Error: couldn't get currently installed version for //.local/share/letsencrypt/bin/letsencrypt: //.local/share/letsencrypt/lib64/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6 DeprecationWarning An unexpected error occurred: ContextualVersionConflict: (setuptools 0.9.8 (/.local/share/letsencrypt/lib/python2.6/site-packages), Requirement.parse('setuptools>=1.0'), set(['certbot'])) […]
我已经安装了PostgreSQL yum repo,现在PostgreSQL运行了一段时间,但现在当我尝试安装gearmand我得到以下错误: Transaction Check Error: file /usr/bin/event_rpcgen.py from install of compat-libevent14-1.4.13-1.rhel6.x86_64 conflicts with file from package libevent-devel-2.0.12-1.rhel6.x86_64 file /usr/lib64/libevent_core.a from install of compat-libevent14-1.4.13-1.rhel6.x86_64 conflicts with file from package libevent-devel-2.0.12-1.rhel6.x86_64 file /usr/lib64/libevent_core.so from install of compat-libevent14-1.4.13-1.rhel6.x86_64 conflicts with file from package libevent-devel-2.0.12-1.rhel6.x86_64 file /usr/lib64/libevent_extra.a from install of compat-libevent14-1.4.13-1.rhel6.x86_64 conflicts with file from package libevent-devel-2.0.12-1.rhel6.x86_64 file […]
我有一个生产运行Virtuozzo VPSes CentOS 4.4框,我试图安装GCC里面的一个,所以我可以从源代码安装最新的PHP。 我从一个CentOS镜像下载了gcc和它的依赖关系,我能够安装它们,但是遇到了glibc-common问题: [root @ hq gcc]#rpm -i glibc-common-2.3.4-2.43.i386.rpm 警告:glibc-common-2.3.4-2.43.i386.rpm:V3 DSA签名:NOKEY,密钥ID 443e1821 文件/ usr / bin / gencat从glibc-common-2.3.4-2.43的安装文件与软件包的冲突glibc-common-2.3.4-2.25 文件/ usr / bin / getconf从glibc-common-2.3.4-2.43的安装文件与软件包的冲突glibc-common-2.3.4-2.25 文件/ usr / bin / getent从glibc-common-2.3.4-2.43的安装中与glibc-common-2.3.4-2.25的文件冲突 文件/ usr / bin / iconv从glibc-common-2.3.4-2.43的安装文件与软件包的冲突glibc-common-2.3.4-2.25 文件/ usr / bin / lddlibc4从glibc-common-2.3.4-2.43的安装中与glibc-common-2.3.4-2.25的文件冲突 文件/ usr / bin / locale从安装glibc-common-2.3.4-2.43与包中的文件冲突glibc-common-2.3.4-2.25 文件/ usr / bin / […]
我似乎遇到了一些依赖问题,但是我自己并不知道如何解决这个问题。 这是输出: ~:) sudo apt-get install build-essential Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out […]
我知道我可以使用dpkg –info列出.deb的依赖关系,但是有没有自动的方法来检查当前系统的依赖关系? 我感兴趣的是状态:包装是否干净地安装,否则会失败。
我有一个全新的6.2的服务器。 我做的第一件事是yum -y安装助手,然后我做了辅助–init。 下面是我得到的很多错误。这意味着我必须重新安装它吗? 或者离开它? /usr/sbin/prelink: /usr/sbin/lusermod: at least one of file's dependencies has changed since prelinking Error on exit of prelink child process /usr/sbin/prelink: /usr/sbin/console-kit-daemon: at least one of file's dependencies has changed since prelinking Error on exit of prelink child process /usr/sbin/prelink: /usr/sbin/NetworkManager: at least one of file's dependencies has changed since prelinking […]
在我看来,PEAR至less是作为一种分配机制再次加速。 由于简单的PEAR频道服务器的可用性(例如Pirum ),似乎许多项目正朝着PEAR发展,成为一种分配机制。 一些例子包括PHPUnit,Phing,Symfony2,Doctrine2等等。 但是,我正在尝试pipe理这个问题时遇到了严重的麻烦。 我不想再使用一个系统级的PEAR。 我在一台服务器上有几十个网站,全部使用通过PEAR渠道分发的各种库。 其中一些网站是旧的。 有些依赖关系有冲突。 我不希望每次有新的软件包版本出现时都要检查30个以上的站点。 但是,同时我不想在一个新的站点上工作时被困在一些古老的软件包版本上。 我已经打破了这个相当长一段时间了。 PEAR作为一种分配机制似乎完全不适用于多个站点在同一台服务器上运行的任何types的设置。 在一台机器上维护许多并行PEAR存储库似乎是不可能的,或者将PEAR存储库检查到版本控制中。 很多问题似乎是由于PEAR在安装时replace了PHP文件中的某些path,而不是在运行时解决它们。 例如,Phing想知道PEAR的data_dir在哪里。 当安装文件phing/Phing.php ,string@data_dir@会被当前的data_dirreplace。 但是,这使得它不可能移动或保持版本控制。 我知道Pyrus和PEAR2应该解决很多问题,但是在这一点上它们似乎不是可行的select。 我的许多网站都依赖PEAR包,而不是移植到PEAR2。 Pyrus对于PEAR通道的实现非常挑剔,使得许多PEAR1通道在Pyrex中不可用(例如PHPUnit拒绝与Pyrus一起安装,因为在eZcomponents.org上configuration错误)。 因此,未来似乎会通过PEAR渠道带来更多的软件包,那么我怎样才能pipe理我所有网站上的所有依赖项? 我不能是唯一受这个苦难的人。 比我聪明的人一定已经解决了这个问题。 编辑 :到目前为止,我发现了Pearanha 。 基本上它会为您的特定项目生成一个自定义PEAR。 这需要在构build步骤中进行整合,因为它不会使PEAR存储库可移动。 梨切换承诺使PEAR存储库可移动,但它不起作用。 它是硬编码的,用于处理pearcmd.php的registry文件和硬编码包含path,但是它不处理在安装期间被replace为PHP文件的任何其他path。
每次我下载openVPN rpm( http://mirror.its.sfu.ca/mirror/CentOS-Third-Party/epel/6/x86_64/openvpn-2.2.2-1.el6.x86_64.rpm )并尝试安装它,我遇到了依赖性问题。 我做了什么: wget http://mirror.its.sfu.ca/mirror/CentOS-Third-Party/epel/6/x86_64/openvpn-2.2.2-1.el6.x86_64.rpm rpm -ivh openvpn-2.2.2-1.el6.x86_64.rpm 现在每次我收到越来越多的消息 liblzo2.so.2 is needed by openvpn-2.2.2-1.el6.i686 libpkcs11-helper.so.1 is needed by openvpn-2.2.2-1.el6.i686 和更多的他们.. 和喜欢 glibc = 2.14.90-14 is needed by glibc-common-2.14.90-14.x86_64 然后安装它^ 然后我得到这个… glibc-common = 2.14.90-14 is needed by glibc-2.14.90-14.x86_64 厌烦使用centOS 5 32位和6.4 32位,64位。 一切都是一样的,没有变化。 问题是什么?
我需要在Ubuntu 10.04上使用RabbitMQ。 我之前安装过它,但是它是用于代码testing/学习的目的。 我想使用比Lucid Lynx软件库中提供的更新版本的Erlang和RabbitMQ来实际使用,因为许多事情在最新版本中已经改变了。 从软件变化得出的两个主要观点是: 在RabbitMQ中,一些客户端库不再使用2.0之前的古代版本库。 apt包erlang-nox是Erlang版本R13B,这是RabbitMQ所需的最低版本。 但是,由于SSL是我们体系结构的严格要求,因此根据此页面 ,我们至less需要R14。 RabbitMQ提供了一个.deb软件包 ,但它明确要求通过名为erlang-nox的软件包pipe理器来安装软件包。 相反,我尝试从源代码编译Erlang和RabbitMQ,但RabbitMQ一直是一个无尽的依赖关系的兔子洞; 即使Makefile也有依赖关系,因为它正在尝试使用默认情况下未安装在Ubuntu Server中的程序。 当然,它试图使用的程序在apt中也有很多依赖。 我并不担心通常会解决一些依赖问题,但我并不想真正想要安装500-1000 MB的依赖关系来安装RabbitMQ,不pipe它有多重要。 我认为Ubuntu Backports可能是一个select,但我知道并不是每个软件包都有一个backport。 我们计划在今年迁移到Ubuntu 12.04,但现在不是优先考虑的事情…将RabbitMQ部署到生产中。
我试图在命令行上使用yum install php-mysqlnd.x86_64在CentOS机器上安装mysqli ,但是我不断收到消息: Error: php55w-common conflicts with php-common-5.4.16-36.el7_1.x86_64 You could try using –skip-broken to work around the problem You could try running: rpm -Va –nofiles –nodigest build议的解决方法都不能解决问题。 以下是我尝试安装时显示的全文: sudo yum install php-mysqlnd.x86_64 Loaded plugins: fastestmirror, replace Loading mirror speeds from cached hostfile * base: mirror.acsnet.com * extras: mirrors.chkhosting.com * rpmforge: mirror.webnx.com * updates: mirror.netdepot.com […]