Yum problem ......,nothing works alright

Issues related to software problems.
Post Reply
sairaj
Posts: 13
Joined: 2014/02/21 13:37:21

Yum problem ......,nothing works alright

Post by sairaj » 2014/02/22 11:53:17

hiii i am new to centos ...
a lot of problems regarding my yum installations
1] [root@localhost ~]# yum groupinstall development tools
Setting up Group Process
Warning: Group development does not exist.
Warning: Group tools does not exist.
No packages in any requested group available to install or update

2][root@localhost ~]# su -c 'yum update'
tSetting up Update Process
rNo Packages marked for Update

3][root@localhost ~]# yum update firefox
Setting up Update Process
Could not find update match for firefox
No Packages marked for Update

whats my problem ????? :shock:
how do i reinstall yum
or any other solution???????????????????
help fast
thanks bros in advanc

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Yum problem ......,nothing works alright

Post by avij » 2014/02/22 15:52:41

yum groupinstall "development tools"

Do you have any packages that would need updating? Perhaps you have updated them already, or you have set up your system to update them automatically nightly? What does your "yum repolist" show?

sairaj
Posts: 13
Joined: 2014/02/21 13:37:21

Re: Yum problem ......,nothing works alright

Post by sairaj » 2014/03/01 06:50:57

[root@localhost ~]# yum groupinstall "development tools"
Setting up Group Process
Warning: Group development tools does not exist.
No packages in any requested group available to install or update

once i had used the same command nd it worked .
suddenly bcoz of power failure it stopedd
since then the problem continuous on whatever i type in command.........

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Yum problem ......,nothing works alright

Post by avij » 2014/03/01 09:01:14

Congratulations, you have managed to disable all CentOS repositories. To restore the CentOS repositories to their factory defaults, try the following. Pick the proper variant depending on which CPU architecture you are using (check with uname -i).

i386:

Code: Select all

# curl -O http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-10.el5.centos.i386.rpm
# yum reinstall centos-release-5-10.el5.centos.i386.rpm
x86_64:

Code: Select all

# curl -O http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-5-10.el5.centos.x86_64.rpm
# yum reinstall centos-release-5-10.el5.centos.x86_64.rpm

sairaj
Posts: 13
Joined: 2014/02/21 13:37:21

Re: Yum problem ......,nothing works alright

Post by sairaj » 2014/03/02 10:15:43

[root@localhost ~]# curl -O http://mirror.centos.org/centos/5/os/i3 ... s.i386.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21222 100 21222 0 0 5427 0 0:00:03 0:00:03 --:--:-- 25909
[root@localhost ~]# yum reinstall centos-release-5-10.el5.centos.i386.rpm
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >

options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-q, --quiet quiet operation
-v, --verbose verbose operation
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]
exclude package(s) by name or glob
--disableexcludes=[repo]
disable exclude from main, for a repo or for
everything
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
--nogpgcheck disable gpg signature checking
--disableplugin=[plugin]
disable plugins by name


sir now what next??????

sairaj
Posts: 13
Joined: 2014/02/21 13:37:21

Re: Yum problem ......,nothing works alright

Post by sairaj » 2014/03/02 10:23:33

Greatttttttttttttt
thanks sir
u were of great help
now i used the command yum groupinstall 'Development Tools'
and it worked
thanks thanks ....
any tips for further similar problems???????????????//

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Yum problem ......,nothing works alright

Post by avij » 2014/03/02 11:01:12

OK, great. I already asked this earlier, but could you please show the output of "yum repolist" to make sure everything is fine.

sairaj
Posts: 13
Joined: 2014/02/21 13:37:21

Re: Yum problem ......,nothing works alright

Post by sairaj » 2014/03/02 11:23:58

[root@localhost ~]# yum repolist
repo id repo name status
base CentOS-5 - Base enabled
extras CentOS-5 - Extras enabled
updates CentOS-5 - Updates enabled

IS IT OK?
now can i install google chrome using my terminal????????

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Yum problem ......,nothing works alright

Post by avij » 2014/03/02 11:55:40

As far as CentOS repositories are concerned, they seem to be okay now.

Post Reply

Return to “CentOS 5 - Software Support”