好吧,我真的很想念一个服务器,并想知道从这一点上最简单的方法是重新安装操作系统和恢复文件。 (我们有文件备份,但没有可启动的服务器备份) 我愚蠢地按照这个教程,没有读取整个事情: http : //wiki.railsmachine.com/RpmforgeRepository 而在底部张贴的修复不起作用。 我试图从源代码卸载并重新安装python,这似乎已经使事情变得更糟。 在这一刻,我看到的主要错误是: [root@ tmp]# yum instal asjkdhaskdh -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory 而当我试图从源代码安装,我被告知我没有C编译器。 有没有另一种重新安装Python的方法,我应该尝试? 我在CentOS上。 任何帮助非常感谢! 多谢你们。
每当我尝试运行yum更新时,出现以下错误: [root@server ~]# yum update Loaded plugins: dellsysid, fastestmirror Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * extras: mirror01.idc.hinet.net * rpmforge: fr2.rpmfind.net * updates: mirror01.idc.hinet.net Excluding Packages in global exclude list Finished Setting up Update Process Resolving Dependencies –> Running transaction check —> Package NetworkManager.x86_64 1:0.7.0-13.el5 set to be updated —> Package NetworkManager-glib.x86_64 […]
我想安装glibc2版本2.11所需的openoffice 3.4 https://issues.apache.org/ooo/show_bug.cgi?id=119393 但我似乎无法find与yum的依赖关系。 我已经安装了下列依赖项。 glibc.i686 2.5-49.el5_5.7 installed glibc.x86_64 2.5-49.el5_5.7 installed glibc-common.x86_64 2.5-49.el5_5.7 installed glibc-devel.x86_64 2.5-49.el5_5.7 installed glibc-headers.x86_64 2.5-49.el5_5.7 installed libc-client.x86_64 2004g-2.2.1 installed and glibc.i686 2.5-81.el5_8.2 updates glibc.x86_64 2.5-81.el5_8.2 updates glibc-common.x86_64 2.5-81.el5_8.2 updates glibc-devel.i386 2.5-81.el5_8.2 updates glibc-devel.x86_64 2.5-81.el5_8.2 updates glibc-headers.x86_64 2.5-81.el5_8.2 updates glibc-utils.x86_64 2.5-81.el5_8.2 updates 我跑了以下获取版本,但它显示了不同的东西 [root@***** /]# ./lib64/libc.so.6 GNU C Library stable release version […]
有谁知道我在哪里可以find通常位于/etc/yum.repos.d中的i386 centos 4.7 repos文件。 唉,看起来有人把5.5版本复制到4.7系统。 我可以设置一个新的虚拟机,安装4.7并从该系统中提取文件(但我希望有一个更快的方法。 请让我知道,如果你知道这些文件在网上居住的地方。 我已经到了RPMfind看看我能find什么。 谢谢 彼得
我在CentOS 6的/etc/yum.repos.d/中添加了这个 .repo文件。然后当我尝试从这个回购库安装包时,我没有看到从这个回购站加载的镜像。 yum repolist输出是 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * epel: mirror01.idc.hinet.net * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in repo id repo name status base CentOS-6 – Base 6,346 epel Extra Packages for Enterprise Linux 6 – x86_64 7,595 epel-spectrum2 Spectrum is an XMPP transport/gateway/server. 14 extras CentOS-6 […]
我正在尝试在服务器上安装MySQL。 这是RHEL 6.3的全新安装。 然而,当我运行“yum安装mysql mysql-server,我得到以下消息。 Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process No package mysql available. No package mysql-server available. Error: Nothing to do 有人可以告诉我,如果我错过了这里的东西,上面的消息只告诉我,正在使用的回购没有我想安装在它。 如果我只是没有使用正确的回购,也许你可以相应地指导我。 我正在使用EPEL。 epel Extra Packages for Enterprise Linux 6 – x86_64 7,676 rpmfusion-free-updates RPM Fusion for EL 6 – Free […]
我有一个cPanel的CentOS 6.3服务器。 我想安装tomcat 6(不是cPanel支持的5.5)。 当我尝试: yum -y install tomcat6 tomcat6-webapps tomcat6-admin-webapps 我得到的错误:( 查看完整) Error: Package: jakarta-taglibs-standard-1.1.1-11.4.el6.noarch (base) Requires: apache-tomcat-apis You could try using –skip-broken to work around the problem ** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows: bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf) bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl) bandmin-1.6.1-5.noarch has missing requires […]
我一直在尝试使用在Berkeley Database 1.85下创build的数据库,以便将它们转换为MySQL。 我相信这些文件是在CentOS 5下的Berkeley DB 1.85,原因如下: bash-3.2$ file comment.db comment.db: Berkeley DB 1.85/1.86 (Btree, version 3, big-endian) bash-3.2$ uname -r 2.6.18-128.el5 我知道有一个伯克利DB 1.85兼容模式,但我不知道如何将其实施。 当我运行: bash-3.2$ yum list installed 我得到以下结果,其中包括: compat-db.i386 4.2.52-5.1 installed db4.i386 4.3.29-10.el5_5.2 installed db4-devel.i386 4.3.29-10.el5_5.2 installed db4-java.i386 4.3.29-10.el5_5.2 installed db4-tcl.i386 4.3.29-10.el5_5.2 installed db4-utils.i386 4.3.29-10.el5_5.2 installed 这些是我们需要Berkeley DB 1.85兼容模式工作的yum模块吗? 还是有其他人? 是否需要完成某些configuration才能使此模式处于活动状态? DB_File自动拾取Berkeley DB […]
我在Server 10.0.0.1(Redhat 5.3)上configuration了Yum Server,所有的RPMS都在/ home / RPMS / Server。 现在在另一台机器上我有Centos 5.3(10.0.0.30)。我想用10.0.0.0 10.0.0.1的yum Server作为客户端。 所以我没有在客户端编辑yum.conf文件 [b] baseurl=ftp://10.0.0.1/home/RPMS/Server gpgcheck=0 当我通过命令yum列表,然后显示错误。 [root@client30 ~]# yum list Repository 'b' is missing name in configuration, using id ftp://10.0.0.1/home/RPMS/Server/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] (113, 'No route to host') Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: b. […]
在hobodave对这个问题的出色回答之后 – 将Centos 5升级到PHP 5.2或5.3 [推荐的方式?] – 我只是想知道应该如何设置我的Yum优先级,以便IUS在CentOS回购中采用先例。 我不确定哪个回购做什么(虽然直觉告诉我,基本回购是相当重要的,所以我已经设置为优先级= 1)。 另外,我使用Webmin / Virtualmin。 在安装Virtualmin之前,我最好设置IUS回购,Yum Priorities和安装PHP / MySQL吗?