"nothing to do" in yum

Red Squirrel

No Lifer
May 24, 2003
68,464
12,614
126
www.anyf.ca
How do I fix this? often when I try to yum install something it just says "nothing to do" but yet I don't ahve it installed. I've used yum on these programs before and it worked.




[root@iceteks02 ~]# yum install fail2ban
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 104 kB 00:00
################################################## 361/361
primary.xml.gz 100% |=========================| 229 kB 00:00
################################################## 462/462
Parsing package install arguments
Nothing to do
[root@iceteks02 ~]#
[root@iceteks02 ~]#
[root@iceteks02 ~]# yum install vim
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@iceteks02 ~]#
 

Red Squirrel

No Lifer
May 24, 2003
68,464
12,614
126
www.anyf.ca
vim shows up as: vim-minimal-7.0.109-3.el5.3

Though the "vim" command does not work, just "vi"

For fail2ban, nothing shows up. Could my repositories be screwed or something? Maybe I need to edit/add? Is there a place to get a list of official ones and how to edit the file to make yum search them?
 

child of wonder

Diamond Member
Aug 31, 2006
8,307
176
106
For fail2ban yum must not be finding anything to install. Either your repositories don't have it or it's listed under a different name.

Try
yum search fail2ban | less
and see what comes up.
 

child of wonder

Diamond Member
Aug 31, 2006
8,307
176
106
Yes, they do AFAIK. If the yum search came up with nothing then it's not in your configured repos.

Try looking for the RPM yourself from places like freshrpms.net, etc.
 

wallsfd949

Golden Member
Apr 14, 2003
1,002
0
0
Originally posted by: RedSquirrel
How do I fix this? often when I try to yum install something it just says "nothing to do" but yet I don't ahve it installed. I've used yum on these programs before and it worked.

[root@iceteks02 ~]# yum install fail2ban

For this you'll need DAG's package repository for CentOS

Create a file /etc/yum.repos.d/CentOS-dag.repo with this inside ::


[dag]
name=Dag-RHEL-Yum
baseurl=http://dag.linux.iastate.edu/dag/redhat/el$releasever/en/$basearch/dag
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el$releasever/en/$basearch/dag
http://mirrors.ircam.fr/pub/dag/redhat/el$releasever/en/$basearch/dag
http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
enabled=1
gpgcheck=0




[root@iceteks02 ~]# yum install vim

For this, you already have vim, but you are probably looking for vim-enhanced.

Try : yum install vim-common vim-enhanced
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |