私はCentOS 5.6システムを使用しています。バグ私のバージョンの grep では、新しいバージョンにアップグレードしたいのですが、yum を使用して更新 (アップグレード) しようとしましたが、失敗しました。
[root@localhost ~]# cat /etc/redhat-
redhat-lsb/ redhat-release
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5.6 (Final)
[root@localhost ~]# grep --version
grep (GNU grep) 2.5.1
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@localhost ~]# yum update gerp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Update Process
No Match for argument: gerp
No package gerp available.
No Packages marked for Update
[root@localhost ~]#
答え1
役に立ちましたかyum update grep
? コピー&ペーストにタイプミスがありました: gerp
。
また、RHEL/CentOS では重要なセキュリティ修正などのバックポートのみが行われ、特定のソフトウェアを常に最新かつ最高のバージョンに更新するわけではないことに注意してください。
答え2
タイプミスはありますか?
[root@localhost ~]# yum update ****gerp****
argument: gerp No package gerp available. No Packages marked for Update
あなたが望むグレップの代わりにゲルプ