我需要维护一个古老的RHEL 4服务器。 我想安装tmux
但由于某种原因up2date
没有find该文件:
[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
无法find该文件? 我已经尝试安装文件名tmux-1.6-1.rf.src.rpm
, tmux-1.6-1.rf.src
, tmux-1.6-1.rf
, tmux-1.6-1
, tmux-1.6
,一个tmux
。
也许是因为不会安装源码rpm? 即使你安装它,tmux-1.6-1.rf.src.rpm只是源代码,所以你不会安装tmux。 下载二进制包(或者用rpmbuild重build下载的源码包)