我正在使用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 ~]#
yum update grep帮助你吗? 您的复制粘贴中存在拼写错误: gerp 。
另外请注意,RHEL / CentOS只支持重要的安全修补程序等,不要不断更新到任何特定软件的最新版本。
有错字吗?
[root@localhost ~]# yum update ****gerp**** argument: gerp No package gerp available. No Packages marked for Update
你想要grep而不是gerp