HELP! Uninstalled CUPS and can't boot into KDE
I'm at home and tried hooking up to my wife's computer to try to print from the printer attached to her machine. Anyway, I had some issues with CUPS so I decided to uninstall cups by using synaptic. That went fine (I guess) and then installed lprng. Once I was done, I noticed that almost all my icons for files where gone. I couldn't run anything either. Every program I clicked on asked how it should be opened. Panicing, I decided to reboot. The only thing that came up was fvwm, for which I have no clue what it is. I didn't even get an option to choose from KDE or Gnome. Now I can't even seem to run YAST2. I'm trying to figure out what I did. I don't "think" I click on anything else???? Have any ideas? Also, when I try to run something in FVWM, I get in XMessages: widgets-WARNING **:Could not open converter for 'iso-646-.1991-irv' to 'UTF-8 charset' What ever that means. Also, when I try to open YAST2, I get: cannot connect to X server :0.0 (and I try as root). Thanks, Tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Mardi 5 Novembre 2002 19:05, Tom Nielsen a écrit :
I'm at home and tried hooking up to my wife's computer to try to print from the printer attached to her machine. Anyway, I had some issues with CUPS so I decided to uninstall cups by using synaptic. That went fine (I guess) and then installed lprng. Once I was done, I noticed that almost all my icons for files where gone. I couldn't run anything either. Every program I clicked on asked how it should be opened. Panicing, I decided to reboot. The only thing that came up was fvwm, for which I have no clue what it is. I didn't even get an option to choose from KDE or Gnome. Now I can't even seem to run YAST2.
I'm trying to figure out what I did. I don't "think" I click on anything else???? Have any ideas?
Also, when I try to run something in FVWM, I get in XMessages:
widgets-WARNING **:Could not open converter for 'iso-646-.1991-irv' to 'UTF-8 charset'
What ever that means.
Also, when I try to open YAST2, I get: cannot connect to X server :0.0 (and I try as root).
Two things: - - For the last message, type "xhost +" (dirty but straightforward) and try again to launch something. Does it change anything? Otherwise you can launch YaST2 in text mode. - - For CUPS: because of dependency problems, uninstalling CUPS just like that can be very dangerous. In SuSE 8.1, YaST2 has an interface for removing a printing system and replacing it by another. Go in "Printers", "Advanced". There you can choose one out of three systems: CUPS server, CUSP client and LPRng. Click the one you want and then the button below. YaST2 will uninstall and reinstall what must be, taking care of the dependencies. I think the following thing happened to you. You removed CUPS. As many packages depend on a printing system, so Synaptic removed them as well. After that, you installed LPRng but all these other packages were not reinstalled because LPRng itself doesn't depend on them. To give you an idea, here is a short list of what RPM needs to remove if I try to uninstall CUPS on my system: wine, samba-client, ghostscript-library, yast2-printer, kdebase3-samba, kdegraphics3-postscript... As you can, it removes parts of YaST2, parts of KDE, etc. Synaptic (or Apt) is a good software to INSTALL things and taking care of the dependencies at the same time. But it is extremely bad for removing things, especially fundamental packages. In short: this tool is for experts only if you want to do anything else than installing. If you can, run YaST2 in text mode and lauch the package manager. It should complain about broken dependencies and reinstall everything important. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9yA0Mv1vqsTa1E4oRAiE5AJ0YF9XS7w687nwpLvMyVmo+o+7sDQCeMNqh tkXsMm3+PafR27qlRQQEFZw= =ys9B -----END PGP SIGNATURE-----
On Tue, 2002-11-05 at 10:25, Thibaut Cousin wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Mardi 5 Novembre 2002 19:05, Tom Nielsen a écrit : > I'm at home and tried hooking up to my wife's computer to try to print > from the printer attached to her machine. Anyway, I had some issues with > CUPS so I decided to uninstall cups by using synaptic. That went fine (I > guess) and then installed lprng. Once I was done, I noticed that almost > all my icons for files where gone. I couldn't run anything either. Every > program I clicked on asked how it should be opened. Panicing, I decided > to reboot. The only thing that came up was fvwm, for which I have no > clue what it is. I didn't even get an option to choose from KDE or > Gnome. Now I can't even seem to run YAST2. > > I'm trying to figure out what I did. I don't "think" I click on anything > else???? Have any ideas? > > Also, when I try to run something in FVWM, I get in XMessages: > > widgets-WARNING **:Could not open converter for 'iso-646-.1991-irv' to > 'UTF-8 charset' > > What ever that means. > > Also, when I try to open YAST2, I get: cannot connect to X server :0.0 > (and I try as root). Two things: - - For the last message, type "xhost +" (dirty but straightforward) and try again to launch something. Does it change anything? Otherwise you can launch YaST2 in text mode. - - For CUPS: because of dependency problems, uninstalling CUPS just like that can be very dangerous. In SuSE 8.1, YaST2 has an interface for removing a printing system and replacing it by another. Go in "Printers", "Advanced". There you can choose one out of three systems: CUPS server, CUSP client and LPRng. Click the one you want and then the button below. YaST2 will uninstall and reinstall what must be, taking care of the dependencies. I think the following thing happened to you. You removed CUPS. As many packages depend on a printing system, so Synaptic removed them as well. After that, you installed LPRng but all these other packages were not reinstalled because LPRng itself doesn't depend on them. To give you an idea, here is a short list of what RPM needs to remove if I try to uninstall CUPS on my system: wine, samba-client, ghostscript-library, yast2-printer, kdebase3-samba, kdegraphics3-postscript... As you can, it removes parts of YaST2, parts of KDE, etc. Synaptic (or Apt) is a good software to INSTALL things and taking care of the dependencies at the same time. But it is extremely bad for removing things, especially fundamental packages. In short: this tool is for experts only if you want to do anything else than installing. If you can, run YaST2 in text mode and lauch the package manager. It should complain about broken dependencies and reinstall everything important. - -- Thibaut Cousin Thanks for the information. I'm at work right now, but will try it when I get home (California time). I can't seem to start YaST2. I can start Yast...is this what you were talking about when you say "in text mode"? Also, I'm using 8.0. Thanks again for the help!!! Tom
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Mardi 5 Novembre 2002 19:39, Tom Nielsen a écrit :
Thanks for the information. I'm at work right now, but will try it when I get home (California time).
I can't seem to start YaST2. I can start Yast...is this what you were talking about when you say "in text mode"? Also, I'm using 8.0.
Thanks again for the help!!!
Hum... Which version of SuSE are using? I was assuming 8.1. YaST disappeared in 8.0 and 8.1, but YaST2 has a text mode instead. If your SuSE is older than 8.0, you can probably do what I say in YaST1, but the menus are different... Sorry, I don't remember. You must look for the package management part of YaST. It has a menu of its own, if I remember correctly. The trick with YaST2 able to switch the printing system is only for 8.1. For any other version you have to rely on the package manager to sort out the dependencies correctly. Don't hesitate to add a few packages if they seem important to you. YaST1 will prevent any conflict, so it is safe. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9yBN5v1vqsTa1E4oRAj5YAKC4pK2dF22RexKGASNd7H91SliMIwCfc+va sqfjLm+G0OqAImQkO8TQvvM= =bPs4 -----END PGP SIGNATURE-----
I don't understand it. Op dinsdag 5 november 2002 19:25, schreef Thibaut Cousin:
Synaptic (or Apt) is a good software to INSTALL things and taking care of the dependencies at the same time. But it is extremely bad for removing things, especially fundamental packages.
I just simulated to remove cups using synaptic. It shows with little red arrows which dependend packages are being removed as well. So there is a visual warning, what is going to happen. The same thing when you use apt from the command line. It always tells you what is going to happen and you always must confirm. What else can a tool do to protect a user? Fundamental packages can be protected to be removed. Just add the package name to /etc/apt/rpmpriorities. Should cups be part of this file by default?
In short: this tool is for experts only if you want to do anything else than installing. If you can, run YaST2 in text mode and lauch the package manager. It should complain about broken dependencies and reinstall everything important.
-- Richard
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Mardi 5 Novembre 2002 20:54, Richard Bos a écrit :
I don't understand it.
Op dinsdag 5 november 2002 19:25, schreef Thibaut Cousin:
Synaptic (or Apt) is a good software to INSTALL things and taking care of the dependencies at the same time. But it is extremely bad for removing things, especially fundamental packages.
I just simulated to remove cups using synaptic. It shows with little red arrows which dependend packages are being removed as well. So there is a visual warning, what is going to happen.
The same thing when you use apt from the command line. It always tells you what is going to happen and you always must confirm. What else can a tool do to protect a user?
Fundamental packages can be protected to be removed. Just add the package name to /etc/apt/rpmpriorities. Should cups be part of this file by default?
In SuSE 8.0, I suggest NOT using Apt/Synaptic for changing the printing system. Here is what I did to do this: - - manually remove lprng and two related packages (lpdfilter and filters) with the command: rpm -e --nodeps lprng lpdfilter filters - - then launch YaST2 module "Add/Remove Software". It complains about broken dependencies and asks you to choose between cups-client and lprng. Choose the one you want and YaST2 will sort out the dependencies. Once this is done, you have a clean system and can play with Synaptic. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9yM8wv1vqsTa1E4oRAsklAKDMX4BC5qeM7wuV7pBshqz54Sn8zgCgk3bm 9AalBeMcEcw3ieB4xthWPlo= =NxPf -----END PGP SIGNATURE-----
Op dinsdag 5 november 2002 19:05, schreef Tom Nielsen:
I'm at home and tried hooking up to my wife's computer to try to print from the printer attached to her machine. Anyway, I had some issues with CUPS so I decided to uninstall cups by using synaptic. That went fine (I guess) and then installed lprng. Once I was done, I noticed that almost all my icons for files where gone. I couldn't run anything either. Every program I clicked on asked how it should be opened. Panicing, I decided to reboot. The only thing that came up was fvwm, for which I have no clue what it is. I didn't even get an option to choose from KDE or Gnome. Now I can't even seem to run YAST2.
I'm trying to figure out what I did. I don't "think" I click on anything else???? Have any ideas?
Does this help:
---------- Doorgestuurd bericht ----------
Subject: Re: [SLE] cannot start KDE session after apt-get to KDE 3.0.4
Date: Sun, 3 Nov 2002 23:04:19 +0100
From: Anders Johansson
However after upgrade I cannot start KDE session. It's listed under KDM as an option, but after trying to start it, all what I get is Wmaker.
If you get WindowMaker when you select kde, I'm almost positive the problem is that you haven't got the symlink in /usr/'X11R6/bin As root, run ln -sf /opt/kde3/bin/startkde /usr/X11R6/bin/kde after that, kde shold work from kdm again regards Anders ----------
Also, when I try to run something in FVWM, I get in XMessages:
widgets-WARNING **:Could not open converter for 'iso-646-.1991-irv' to 'UTF-8 charset'
What ever that means.
Also, when I try to open YAST2, I get: cannot connect to X server :0.0 (and I try as root).
Thanks, Tom
-- Richard Bos Without a home the journey is endless
participants (3)
-
Richard Bos
-
Thibaut Cousin
-
Tom Nielsen