yum安装mysql-devel时出现以下错误。 谁能帮忙? 我没有在我的/etc/yum.conf排除列表中。 –> Finished Dependency Resolution mysql-server-5.0.45-7.el5.x86_64 from installed has depsolving problems –> Missing Dependency: mysql = 5.0.45-7.el5 is needed by package mysql-server-5.0.45-7.el5.x86_64 (installed) Error: Missing Dependency: mysql = 5.0.45-7.el5 is needed by package mysql-server-5.0.45-7.el5.x86_64 (installed) You could try using –skip-broken to work around the problem You could try running: package-cleanup –problems package-cleanup –dupes […]
当我运行yum更新时,出现以下错误 yum update Gathering header information file(s) from server(s) Server: Red Hat Enterprise 5Server – RPMforge.net – dag retrygrab() failed for: http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/headers/header.info Executing failover method failover: out of servers to try Error getting file http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/headers/header.info [Errno 4] IOError: HTTP Error 404: Not Found 这是我的/etc/yum.conf文件: [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 [rpmforge] name = […]
处理yum组依赖的最佳方法是什么? 例如,拿这个comps.xml文件 <comps> <group> <id>production</id> <name>Production</name> <default>true</default> <description>Packages required to run</description> <uservisible>true</uservisible> <packagelist> <packagereq type="default">ssh</packagereq> </packagelist> </group> <group> <id>development</id> <name>Development</name> <default>false</default> <description>Packages required to develop</description> <uservisible>true</uservisible> <packagelist> <packagereq type="default">gcc</packagereq> </packagelist> </group> </comps> 与createrepo -g comps.xml x86_64一起打包。 ssh和gcc rpms未安装在x86_64目录中。 如果我运行yum groupinstall development ,yum足够聪明,可以从RHEL仓库中取出gcc软件包,即使这些组是在我的内部仓库中定义的。 但是,这是这样做的正确方法,或者我应该复制到我的本地存储库的RPM,并重新创build回购?
我想在我的EC2微型实例上运行nginx作为apache2的反向代理。 yum install nginx给了我nginx-0.8.53-1.2.amzn1.x86_64.rpm目前的nginx是1.0.4 我发现并遵循了这个指南: http : //kdn2.info/2011/05/install-nginx-on-amazon-ec2/它工作正常,并包括“make”。 当我去checkinstall –fstrans =没有我得到 ERROR: ld.so: object '/usr/lib/installwatch.so' from LD_PRELOAD cannot be preloaded: ignored. test -d '/var/log/nginx' || mkdir -p '/var/log/nginx' ERROR: ld.so: object '/usr/lib/installwatch.so' from LD_PRELOAD cannot be preloaded: ignored. make[1]: Leaving directory `/root/src/nginx-1.0.4' ======================== Installation successful ========================== Copying documentation directory… ./ ./CHANGES ./LICENSE ./README cp: cannot […]
我试图编辑一个包的来源,使其工作。 因此,我没有使用YUM安装,我从源安装它,它正在工作。 从源代码构build的包是libvirt。 现在我想安装libvirt-python。 我用yum安装libvirt-python。 它说,libvirt没有安装,依赖libvirt.so.0丢失,它必须安装它。 但我希望这个libvirt-python被安装在我编译的libvirt之上。 我知道libvirt.so.0在/ lib中。 有人可以告诉我怎么可以告诉百胜libvirt.so.0的当前位置(通过使用符号链接或什么),并安装libvirt-python而不使用libvirt?
我试图在RHEL5上安装MySQL的postfix,但是rhnplugin的repos覆盖了它,即使我在rhnplugin.conf文件中有一个排除行 我的目标是只使用CentOSPlus repo for postfix,其余的使用RHN 这是我的rhnplugin.conf文件 [main] enabled = 1 gpgcheck = 1 [base] exclude=postfix [update] exclude=postfix 这是我的CentOS-Base.repo文件 [centosplus] enabled=1 includepkgs=postfix name=CentOS-5 – Plus mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 它工作正常,如果我在我的rhnplugin.conf文件中设置enabled=0 ,但我的目标不是禁用该回购
我似乎无法在Fedora 16上安装MySQL 5.1。当我尝试安装从MySQL网站下载的RPM时,我得到了现有的5.5包,我已经通过yum“删除”了冲突错误。 TIA SO # yum localinstall MySQL-server-5.1.60-1.glibc23.x86_64.rpm Loaded plugins: langpacks, presto, refresh-packagekit Setting up Local Package Process Examining MySQL-server-5.1.60-1.glibc23.x86_64.rpm: MySQL-server-5.1.60-1.glibc23.x86_64 Marking MySQL-server-5.1.60-1.glibc23.x86_64.rpm to be installed Resolving Dependencies –> Running transaction check —> Package MySQL-server.x86_64 0:5.1.60-1.glibc23 will be installed –> Finished Dependency Resolution Dependencies Resolved ======================================================================================================= Package Arch Version Repository Size ======================================================================================================= Installing: MySQL-server […]
我注意到,官方的亚马逊回购仅主机nginx 0.8,现在被认为是一个旧版本。 从源代码手动编译的短缺我必须做什么来通过yum升级到稳定的nginx 1.0版本? 有没有人知道亚马逊的理由不包括1.0版本? 如果有一些错误或已知问题,我坚持0.8。
我有一个新安装的CentOS 5.7机器,当我需要5.2+时,错误地安装了PHP 5.1。 现在我似乎无法安装PHP 5.3(使用“yum install php53”),直到我删除PHP 5.1。 我发现这个教程 ,你键入: yum remove package1 package2 package… 但是这样做需要很长时间。 有没有更快的方式,如: rpm -qa | grep php -exec yum remove {} \; ? 谢谢
当我做sudo yum update时,我得到以下错误。 在得到这个错误之前我做的唯一事情就是将Python 2.7安装在Python 2.4以外的目录中。 服务器上的默认Python仍然是2.4: Error: Missing Dependency: php-common = 5.2.4-el5.centos is needed by package php-mhash Error: Missing Dependency: libnss3.so(NSS_3.12) is needed by package libcurl Error: Missing Dependency: libnssutil3.so is needed by package libcurl 这是整个命令: sudo yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories rightscale 100% |=========================| 951 B […]