LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-02-2009, 01:09 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
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...
 
Old 11-02-2009, 03:04 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
can you run this

1)rpm -qa |grep xorg

2)cat /etc/inittab |grep id

and post the output
 
Old 11-02-2009, 03:09 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by routers View Post
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...
 
Old 11-02-2009, 03:58 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
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 ""
 
Old 11-02-2009, 05:47 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,107

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
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
 
Old 11-02-2009, 07:21 AM   #6
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Thanks router, kundfl

Quote:
Originally Posted by routers View Post
[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..
 
Old 11-02-2009, 08:33 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,107

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
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.
.....
 
Old 11-02-2009, 10:11 AM   #8
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
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
 
Old 11-02-2009, 10:19 AM   #9
reickler
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Rep: Reputation: 20
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
 
Old 11-02-2009, 11:57 PM   #10
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by reickler View Post
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.....
 
  


Reply

Tags
yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependency problems with 'yum' installing xorg-x11-tools SirTristan Linux - Software 2 05-17-2008 02:39 PM
Unable to install xorg-x11 via yum guarriman Fedora 2 07-02-2007 08:49 AM
xorg-x11-devel dependant on old version of xorg-x11-libs thetawaverider Linux - Software 1 11-09-2006 08:22 AM
updating xorg-x11 with yum on FC3 volvogga Linux - Newbie 6 06-01-2005 01:28 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 03:34 PM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration