On Sat, 2002-10-26 at 05:33, Amanda Wynne wrote: > Hi, > > I've upgraded my Mandrake system from 8.2 to 9.0, using the 3 CD set from > Everything Linux. Took the upgrade packages only route. > > The KDE desktop won't run. It quits with the error message saying that > etc/profile.d/lang.sh doesn't exist. > > I normally use IceWM as my default desktop. KDE is my default desktop for user > root. Since logging in as root and trying to startx, now my Krusader file > manager has lost its toolbar icons. (It was working OK).
If you just wanted to switch the default desktop for superuser, you can do so by editing the ~/.desktop file. Get back to me on this - I have a suspicion that these two problems are related, but I could be completely wrong. > > When I unsuccessfully tried to install KDE3 on MDK8.2, I used rpmdrake to > uninstall kde3 and re-install kde2. But now rpmdrake has also lost all its > options. Like choosing sources. Or uninstalling packages. It will do installs > only. which kde 3 packages did you use? I had some issues because I was using cooker packages when I tried the same trick, but that's to be expected -- cooker is development. There was a great deal of discussion on the cooker list about rpmdrake's "new look". I didn't actually pay much attention because I always use the command line tools. So, that's your first option. The command to remove sources is urpmi.removemedia and the command to add sources is urpmi.addmedia. The other option, if you happen to be gui minded is to use mandrake control center (mcc is the command, I'm sure it's in the menus somewhere). Click on the "Software Management" "thing", and then the "Software Sources Manager" icon. The new rpmdrake is supposed to be really cool. They've got this "diff screen" thing which shows you the changes it wants to make to config files and such, and lets you edit it -- again, I've never used it. There's also a "remove software" icon in the same place. Incidently the change is because the "mandrake control center" is supposed to be a "control center" now as opposed to "a disjunct set of applications that happen to share a common launching mechanism". > > Short of wiping it and putting 8.2 back on, any other help would be greatly > appreciated. Now, on to fixing the problem. there is a file - /etc/profile.d/10lang.sh, the /etc/profile.d/lang.sh is supposed to be a symlink to it. According to rpm the lang.sh file does not belong to a package (which is pretty unsurprising). I don't know exactly which script it is that is supposed to make this symlink, but making the symlink yourself will fix the problem. So su - cd /etc/profile.d rm -f lang.sh ln -s 10lang.sh lang.sh will fix your problem. I don't, however have any short answers as to why it didn't do it on its own. I would have thought that the postinstall for initscripts would have taken care of this. Anyway, I had the same problem ages ago when I upgraded to cooker from 8.2, which was how I knew the answer. I didn't have the same problem when I did a full upgrade on my other box - this might have been luck, because it had some odd stuff installed, or it might be a problem with the upgrade packages only thing. HTH, James. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
