Author Topic: HOW-TO: Fix new KDE 4.3 install if GUI boot fails  (Read 1911 times)

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4004
HOW-TO: Fix new KDE 4.3 install if GUI boot fails
« on: October 06, 2009, 10:40:44 AM »
Long ago KDE 4.0 was available for those who wanted to try it. Now KDE 4.3 is coming soon and KDE 3.5 will become unmaintained.

However, if you had KDE 4.0, it might have left a symbolic link behind which will break KDE 4.3 when you try to install it. To prevent this, delete /usr/share/config before installing it.

If you don't, five packages will refuse to install which will leave you without a GUI. You will then have to boot into failsafe and do the following:
Code: [Select]

sh-4.01]#rm /etc/kde
remove symbolic link '/etc/kde'?:y
sh-4.01]#rm /usr/share/config
remove symbolic link '/usr/share/config'?:y
sh-4.01]#apt-get --fix-broken install

You should then be able to reboot into KDE4.

I've reported this as a broken package but just in case it isn't fixed when you want to install it....

(I can't remember exactly what the single-user prompt looks like so don't worry if what's to the left of the hash isn't quite what I've typed.)
« Last Edit: October 10, 2009, 03:07:02 PM by travisn000 »
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: How to install KDE 4.3 if you previously played with 4.0
« Reply #1 on: October 10, 2009, 03:05:26 PM »
I just replaced the hard drive in two computers that were donated to me, installed the latest MiniMe, ran full updates and then tried installing KDE4 over the top (no previous kde4 install). 

I couldn't get a GUI boot, so I booted to init 3 (added the number 3 to the grub boot options), logged in as root, and ran apt-get -f install ...after a bit of downloading I also got the errors about too many layers of symlinks.  I Removed the two symlinks as suggested here and ran  apt-get -f install && apt-get dist-upgrade ..this seems to have fixed it.

Thanks for the tip!