Re: [expert] Removing Xwindows
At 22:42 3/4/2001 -0800, you wrote: >openssh-askpass is not needed by openssh. The dependency should be the >other way around. Do an 'rpm -q --requires openssh' to be sure. I build >my own openssh RPM without any such dependency and they have always worked >fine. RPM reports the dependency as this.. openssh-askpass requires openssh-clients. Looking at the files included in the openssh-clients rpm, it includes its own ssh-askpass. And the openssh-askpass rpm seems to be completely an Xwindows package. Based on this, I think the dependency is probably fictitious. And to prove it, I removed -askpass (with --nodeps) and ssh client and server still work just fine. Karl
Re: [expert] Removing Xwindows
On Sun, 4 Mar 2001, Karl Cunningham wrote: - There were a few circular dependencies where I used --nodeps. Then went in - and cleaned up the deadwood subdirectories left after the process. - Unfortunately, rpm listed four libraries contained in XFree86-libs as - needed by openssh-askpass, which is needed by openssh, which I definitely - want to keep. openssh-askpass is not needed by openssh. The dependency should be the other way around. Do an 'rpm -q --requires openssh' to be sure. I build my own openssh RPM without any such dependency and they have always worked fine. -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == Government is like burning witches: After years of burning young women failed to solve any of society's problems, the solution was to burn more young women. ==
Re: [expert] Removing Xwindows
Thought I'd post an update... I had already removed a few packages and XWindows wasn't working, so I couldn't start it to remove some of the optional packages from there. So I started with a list from rpm -qa | grep X and proceded to remove things by manually recursing the dependency tree using rpm -e There were a few circular dependencies where I used --nodeps. Then went in and cleaned up the deadwood subdirectories left after the process. Unfortunately, rpm listed four libraries contained in XFree86-libs as needed by openssh-askpass, which is needed by openssh, which I definitely want to keep. I'm guessing that the openssh issue is a Mandrake-specific thing, if it is even a real dependency at all. Priobably compiling a generic openssh package would get around this, but ssh is working well and I don't want to break it. Any thoughts? Whole thing took about an hour. Not bad, really. Best news is that everything I want seems to still work. Karl
Re: [expert] Removing Xwindows
It is not a good idea to just delete directories. Your RPM database will still think all of that stuff is installed. Startup and login to the command line (Runlevel 4? Or is it 3? You could also do a Ctrl-Alt-F2 and login there and do the the rest of this from there. Not sure what happens when you do a Ctrl-Alt-F7 to get back to your original X session...). >From there, do "rpm -qa |grep XFree". You will get a list of every XFree rpm installed. Do an "rpm -e " for each entry. You will most likely need to use the --nodeps switch too. Anything that depends on XFree will be listed as dependent if you try to remove XFree without the --nodeps switch. That WOULD at least tell you all the other rpms you MAY want to remove in addition to X since they will all be rendered unusable with the removal of X anyway. On Thursday 01 March 2001 16:26, you wrote: > Hi -- > > Does anyone have a procedure for removing the entire Xwindows system and > everything under it? I have LM7.2, which installed X by default, but I > don't expect to use it on this box and I'd like to remove the extra > clutter. > > I can just remove the appropriate subdirectories, but I imagine there'd be > trouble if I only did that. I can reinstall, but I'd rather not... > > Thanks, > > Karl Cunningham -- Against stupidity, the gods themselves contend in vain.
Re: [expert] Removing Xwindows
It is not a good idea to just delete directories. Your RPM database will still think all of that stuff is installed. Startup and login to the command line (Runlevel 4? Or is it 3? You could also do a Ctrl-Alt-F2 and login there and do the the rest of this from there. Not sure what happens when you do a Ctrl-Alt-F7 to get back to your original X session...). >From there, do "rpm -qa |grep XFree". You will get a list of every XFree rpm installed. Do an "rpm -e " for each entry. You will most likely need to use the --nodeps switch too. Anything that depends on XFree will be listed as dependent if you try to remove XFree without the --nodeps switch. That WOULD at least tell you all the other rpms you MAY want to remove in addition to X since they will all be rendered unusable with the removal of X anyway. On Thursday 01 March 2001 16:26, you wrote: > Hi -- > > Does anyone have a procedure for removing the entire Xwindows system and > everything under it? I have LM7.2, which installed X by default, but I > don't expect to use it on this box and I'd like to remove the extra > clutter. > > I can just remove the appropriate subdirectories, but I imagine there'd be > trouble if I only did that. I can reinstall, but I'd rather not... > > Thanks, > > Karl Cunningham -- Against stupidity, the gods themselves contend in vain.
Re: [expert] Removing Xwindows
Thanks Shawn and John. Sounds like something for a rainy day. Shawn, I chose "server" during install. I'll let you know how it went after I do it. Thanks again, Karl At 09:33 3/2/2001 -0800, you wrote: >Sadly, reinstalling won't work. Mandrake just refuses to install without X. But never fear, it's >POSSIBLE to remove all offending packages (rpm packages). > ># rpm -qa |grep [xX] >will give you a bunch of packages, probably not all of which are X-related, but many of which >are. > >Here's what *I* would do: Go into X, fire up rpmdrake and remove all of your optional x programs >(xemacs, etc etc). Get rid of a few libraries too, if possible. It will blab about a bunch of >dependancies and do you want to remove those too, and you say yes. Mass uninstallation of >electives. That should make the list generated from the command above quite a bit shorter. Then, >with X not running, remove the rest. Read the manpage for rpm, but it's something along the lines >of ># rpm -e >and if it whines about depenancies, then go remove the dependancies first, then the . > >There must be easier ways to do it, i can think of one that involves a series of shell scripts, >but it's one way to do it. > >The moral of the story is that all of the X-related files you want gone are a product of installed >rpm packages, so "the correct way" to rid your system of them is to uninstall the rpm packages. > >Good luck, >j > >--- Karl Cunningham <[EMAIL PROTECTED]> wrote: >> Hi -- >> >> Does anyone have a procedure for removing the entire Xwindows system and >> everything under it? I have LM7.2, which installed X by default, but I >> don't expect to use it on this box and I'd like to remove the extra clutter. >> >> I can just remove the appropriate subdirectories, but I imagine there'd be >> trouble if I only did that. I can reinstall, but I'd rather not... >> >> Thanks, >> >> Karl Cunningham >> > > >__ >Do You Yahoo!? >Get email at your own domain with Yahoo! Mail. >http://personal.mail.yahoo.com/ > > >
Re: [expert] Removing Xwindows
Sadly, reinstalling won't work. Mandrake just refuses to install without X. But never fear, it's POSSIBLE to remove all offending packages (rpm packages). # rpm -qa |grep [xX] will give you a bunch of packages, probably not all of which are X-related, but many of which are. Here's what *I* would do: Go into X, fire up rpmdrake and remove all of your optional x programs (xemacs, etc etc). Get rid of a few libraries too, if possible. It will blab about a bunch of dependancies and do you want to remove those too, and you say yes. Mass uninstallation of electives. That should make the list generated from the command above quite a bit shorter. Then, with X not running, remove the rest. Read the manpage for rpm, but it's something along the lines of # rpm -e and if it whines about depenancies, then go remove the dependancies first, then the . There must be easier ways to do it, i can think of one that involves a series of shell scripts, but it's one way to do it. The moral of the story is that all of the X-related files you want gone are a product of installed rpm packages, so "the correct way" to rid your system of them is to uninstall the rpm packages. Good luck, j --- Karl Cunningham <[EMAIL PROTECTED]> wrote: > Hi -- > > Does anyone have a procedure for removing the entire Xwindows system and > everything under it? I have LM7.2, which installed X by default, but I > don't expect to use it on this box and I'd like to remove the extra clutter. > > I can just remove the appropriate subdirectories, but I imagine there'd be > trouble if I only did that. I can reinstall, but I'd rather not... > > Thanks, > > Karl Cunningham > __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: [expert] Removing Xwindows
Karl: This may or may not do the trick... Try removing with rpm -e. Something like this usually works for me whenever I'm removing something like X that has tons of dependencies: for rpm in $(rpm -qa | grep "^XFree86") do rpm -e $rpm done Of course, with X, there will be so many applications that also depend on it... Does anyone know whether rpm has the functionality to recurse through a packages dependency tree and either prompt for removal or just wipe out everything that depends on a package you know you want to remove? Or, is there, perhaps a contrib util for rpm that could handle such a thing? And, one question for you, Karl, did you choose "Server", "Workstation", or "Developer" from the menu when installing? I don't know, but I would guess that Server might not install X. Can anyone confirm that? -- Shawn Stone ([EMAIL PROTECTED]) AT&T Wireless, Retail & Distribution 972-776-4506 (office) / 240-359-6225 (fax) == The Japanese have a man who can bend his leg back over his head and back again with every single step! -- Mr. Teabags, Ministry of Silly Walks
[expert] Removing Xwindows
Hi -- Does anyone have a procedure for removing the entire Xwindows system and everything under it? I have LM7.2, which installed X by default, but I don't expect to use it on this box and I'd like to remove the extra clutter. I can just remove the appropriate subdirectories, but I imagine there'd be trouble if I only did that. I can reinstall, but I'd rather not... Thanks, Karl Cunningham