我需要维护一个古老的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.rpm、tmux-1.6-1.rf.src、tmux-1.6-1.rf、tmux-1.6-1、tmux-1.6、tmux来安装。
发布于 2013-05-05 13:32:54
也许是因为不会安装源rpm?即使您安装了它,tmux-1.6-1.rf.src.rpm也只是源代码,所以您不会安装tmux。下载二进制包(或重新构建用rpmbuild下载的源代码包)
https://serverfault.com/questions/505124
复制相似问题