up2date 未找到要安装的本地 rpm

up2date 未找到要安装的本地 rpm

我需要维护一个古老的 RHEL 4 服务器。我想安装,tmux但由于某种原因up2date找不到文件:

[root@378911-www2 tmux]# ls
tmux-1.6-1.rf.src.rpm
[root@378911-www2 tmux]# up2date -k . tmux-1.6-1.rf.src.rpm
Fetching Obsoletes list for channel: rhel-i386-es-4...
Fetching Obsoletes list for channel: rhel-i386-es-4-extras...
Fetching Obsoletes list for channel: rackspace-rhel-i386-es-4-php-5.2...
Fetching Obsoletes list for channel: rackspace-rhel-i386-es-4-common...
Fetching Obsoletes list for channel: el4-updates...
Fetching rpm headers...

Name                                    Version              Rel               Arch
----------------------------------------------------------------------------------------

The following packages you requested were not found:
tmux-1.6-1.rf.src.rpm

[root@378911-www2 tmux]# pwd
/root/tmux
[root@378911-www2 tmux]# up2date -k /root/tmux tmux-1.6-1.rf.src.rpm 

Fetching Obsoletes list for channel: rhel-i386-es-4...
Fetching Obsoletes list for channel: rhel-i386-es-4-extras...
Fetching Obsoletes list for channel: rackspace-rhel-i386-es-4-php-5.2...
Fetching Obsoletes list for channel: rackspace-rhel-i386-es-4-common...
Fetching Obsoletes list for channel: el4-updates...
Fetching rpm headers...

Name                                    Version              Rel               Arch
----------------------------------------------------------------------------------------

The following packages you requested were not found:
tmux-1.6-1.rf.src.rpm
[root@378911-www2 tmux]# 

为什么up2date找不到文件?我尝试使用文件名tmux-1.6-1.rf.src.rpmtmux-1.6-1.rf.srctmux-1.6-1.rftmux-1.6-1tmux-1.6、 a进行安装tmux

答案1

可能是因为无法安装源 rpm?即使安装了,tmux-1.6-1.rf.src.rpm 也只是源,所以你没有安装 tmux。下载二进制包(或使用 rpmbuild 重建下载的源包)

相关内容