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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-02-2009, 12:09 AM
|
#1
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
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...
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...
|
|
|
11-02-2009, 02:04 AM
|
#2
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
can you run this
1)rpm -qa |grep xorg
2)cat /etc/inittab |grep id
and post the output
|
|
|
11-02-2009, 02:09 AM
|
#3
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Original Poster
Rep:
|
Quote:
Originally Posted by routers
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...
|
|
|
11-02-2009, 02:58 AM
|
#4
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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 ""
|
|
|
11-02-2009, 04:47 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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
|
|
|
11-02-2009, 06:21 AM
|
#6
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Original Poster
Rep:
|
Thanks router, kundfl
Quote:
Originally Posted by routers
[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..
|
|
|
11-02-2009, 07:33 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
.....
|
|
|
11-02-2009, 09:11 AM
|
#8
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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
|
|
|
11-02-2009, 09:19 AM
|
#9
|
LQ Newbie
Registered: Sep 2009
Posts: 29
Rep:
|
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
|
|
|
11-02-2009, 10:57 PM
|
#10
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Original Poster
Rep:
|
Quote:
Originally Posted by reickler
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 11:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|