无法使用Yum Local respository安装或更新软件包
我有一个红帽子6.2服务器是在一个孤立的环境,我需要更新使用百胜。 我尝试从ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/ (这是根据默认的yum repo文件的默认URL)下载51 GB reository并执行以下步骤。 删除/etc/yum.repos.d下的所有存储库 用下面的信息创build一个新的回购文件 [localrepo] name=LocalRepository baseurl=file:///YUMREPO/SRPMS/Packages<BR> gpgcheck=0 enabled=1 当我执行yum更新时,它第一次正确地下载版本库db,但是它并没有更新任何新东西。 当我尝试安装任何其他包如vsftpd它无法安装,以及提到没有find包,但rpm文件存在于我configuration为存储库的文件夹中。 #yum install vsftpd Loaded plugins: product-id, security, subscription-manager<BR> Updating certificate-based repositories.<BR> Setting up Install Process<BR> No package vsftpd available.<BR> Error: Nothing to do<BR> #ls -ltr / YUMREPO / SRPMS / Packages / vsftpd -rw-r–r– 1 root root 238016 Apr 14 […]