LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum reinstall xorg-x11 not working (http://www.linuxquestions.org/questions/linux-newbie-8/yum-reinstall-xorg-x11-not-working-766125/)

vinaytp 11-02-2009 01:09 AM

yum reinstall xorg-x11 not working
 
Hi all...

I am not able to see my GUI..so trying to reinstall xserver...

I am sure my yum is clearly working for other packages like gcc...
Code:

yum reinstall gcc
works clearly fine...

but

Code:

yum reinstall xorg-x11  OR
yum reinstall X11        OR
yum reinstall "X Windows System"  OR
yum reinstall "x-windows-system"  OR
yum reinstall x11

Not working ..

Can anyone please help me...
Any help will be appreciated

Thanks in advance...

routers 11-02-2009 03:04 AM

can you run this

1)rpm -qa |grep xorg

2)cat /etc/inittab |grep id

and post the output

vinaytp 11-02-2009 03:09 AM

Quote:

Originally Posted by routers (Post 3740885)
can you run this

1)rpm -qa |grep xorg

2)cat /etc/inittab |grep id

and post the output

Thanks routers...

Actually the problem is I have not configured my local yum repositary properly ..

I mean grouplist, groupinstall etc are not working..but I am able to install packages like

yum install gcc...

How can i configure my yum so that grouplist and groupinstall will work...

routers 11-02-2009 03:58 AM

do you mean you've created your own repo but your repo is not working?

btw i never use group install because if example i want to install
just one , eg yum install kdebase. its will auto install all the dependencies,

but if you want to use that way, i have tested on my system as following

Code:

[root@localhost ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: fr2.rpmfind.net
 * base: mirror.nus.edu.sg
 * bla..bla.......


follow text 100% from grouplist and dont forget to add ""

knudfl 11-02-2009 05:47 AM

Using yum :
1) # yum search <name> .. ( or part of name ).
e.g. # yum search xorg-X11

... to find the correct package name ...

2) yum install xorg-x11-server-Xorg xorg-x11-server-common

vinaytp 11-02-2009 07:21 AM

Thanks router, kundfl

Quote:

Originally Posted by routers (Post 3740931)
[CODE][root@localhost ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: fr2.rpmfind.net
* base: mirror.nus.edu.sg
* bla..bla.......
follow text 100% from grouplist and dont forget to add ""


Code:

yum groupinstall "Development Tools"
Loaded plugins: refresh-packagekit
Bad name for repo: Fedora 9, byte =  6
You need to be root to perform this command.
[vinay@TEG ~]$ sudo yum groupinstall "Development Tools"
Loaded plugins: refresh-packagekit
Bad name for repo: Fedora 9, byte =  6
Setting up Group Process
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 241, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 116, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 311, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 327, in doCommand
    return base.installGroups(extcmds)
  File "/usr/share/yum-cli/cli.py", line 859, in installGroups
    self.logger.error(_('Warning: Group %s does not exist.'), group_strng)
NameError: global name 'group_strng' is not defined

is the error I am getting...

My question is yum install gcc works why not yum groupinstall "Development Tools"

Anyone Please..

knudfl 11-02-2009 08:33 AM

Yes , that's a problem : Fedora 9 isn't really supported
any more , updates stopped 3 months ago.

So instead of risking a total disaster with yum, if you
try to solve the issue, why not just install the tools,
you need ?
# yum install \
g++ glibc-headers libtool intltool make automake autoconf

etc. etc.
.....

routers 11-02-2009 10:11 AM

i pretty sure this is not because fedora unsupported issue
because i use fedora 8 still can install, but can you not to use sudo
mean use root direct as root , see below
Code:

[root@nc ~]# uname -an
Linux nc 2.6.26.8-57.fc8 #1 SMP Thu Dec 18 19:19:45 EST 2008 i686 i686 i386 GNU/Linux
[root@nc ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror, fedorakmod
Loading mirror speeds from cached hostfile
 * livna: wftp.tu-chemnitz.de
 * rpmfusion-nonfree-updates: mirror.web-ster.com
 * fedora: archive.kernel.org
 * rpmfusion-free-updates: mirror.web-ster.com
 * updates-newkey: archive.kernel.org
 * updates: archive.kernel.org
livna                                                                                  | 2.1 kB    00:00
rpmfusion-nonfree-updates                                                              | 2.7 kB    00:00
fedora                                                                                | 2.1 kB    00:00
pptp-stable                                                                            | 2.0 kB    00:00
rpmfusion-free-updates                                                                | 2.7 kB    00:00
rpmfusion-free                                                                        |  951 B    00:00
updates-newkey                                                                        | 2.3 kB    00:00
updates

its work for me till ask want to install

Transaction Summary
==================================================================================================== ==========
Install 33 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

^CTotal download size: 63 M
Is this ok [y/N]: ^CExiting on user Command
Complete!
[root@nc ~]#
--------------
end

but as suggested by knudfl, install what u need is the best

reickler 11-02-2009 10:19 AM

Hello,

If you're maintaining your own yum repository and want the packages grouped, you have to configure 'comps.xml'. You can copy the one from the CD into your repo as a starting point and customize it as needed. Once it's in place, use this command to tell yum to update your repo with the group information (where YOURREPO is the path to your yum repo):

Code:

createrepo -g comps.xml YOURREPO

vinaytp 11-02-2009 11:57 PM

Quote:

Originally Posted by reickler (Post 3741280)
Hello,

If you're maintaining your own yum repository and want the packages grouped, you have to configure 'comps.xml'. You can copy the one from the CD into your repo as a starting point and customize it as needed. Once it's in place, use this command to tell yum to update your repo with the group information (where YOURREPO is the path to your yum repo):

Code:

createrepo -g comps.xml YOURREPO

Hi reickler...

Thanks a lot...it helped...

Once again thanks to everyone.....


All times are GMT -5. The time now is 10:52 PM.