Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[solved] KDE 3.5 doesn't work after update to 4.1.2

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

[solved] KDE 3.5 doesn't work after update to 4.1.2

  • Quote

Post by vitoriung » Mon Oct 20, 2008 10:32 pm

I've just updated my KDE with update-world script and found out that my old KDE 3.5 doesn't work anymore.

I have chosen kde-3.5 manager in xdm configuration, but in X sessions there is only KDE 4 and Gnome option.

Is there any trick how to make it working?

Thanks
Last edited by vitoriung on Mon Oct 27, 2008 6:29 pm, edited 1 time in total.
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Mon Oct 20, 2008 11:15 pm

If it was really update and not installation into a separate slot, then the previous version is removed.
Top
punkid
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Sat Dec 18, 2004 8:23 am
Location: offline

  • Quote

Post by punkid » Tue Oct 21, 2008 2:48 am

Have you checked the /etc/X11/Sessions directory, kde-3.5 and kde-4.1 should both exist if you installed two slots.

Or you can place a kde-3.5 file in it, here's my:

Code: Select all

#!/bin/sh
exec /usr/kde/3.5/bin/startkde
My Blog | Latest Screenshot
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Tue Oct 21, 2008 7:20 pm

thanks for the hints,
unfortunately, i have no kde-3.5 in Sessions and even no startkde in /usr/kde/3.5/bin
so seems that my 4.1 installation is just in one slot.
I followed gentoo 4.0 install guide where I haven't seen anything about need to install in slots to keep both version.
However, I need to put things back.
So what do I need to find out first?
Unmerge ver 4.1?
Will try to google a bit in between.

thanks
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Tue Oct 21, 2008 7:54 pm

vitoriung wrote:thanks for the hints,
unfortunately, i have no kde-3.5 in Sessions and even no startkde in /usr/kde/3.5/bin
so seems that my 4.1 installation is just in one slot.
I followed gentoo 4.0 install guide where I haven't seen anything about need to install in slots to keep both version.
However, I need to put things back.
So what do I need to find out first?
Unmerge ver 4.1?
Will try to google a bit in between.

thanks

emerge =kde-3.5.9

will probably do, although unmerging all the packages from 4.1 before that will be prudent
(note that emerge --unmerge kde will unmerge only one metapackage, not the rest.
You need to find all the kde related packages installed to unmerge them. If you have 'epm' installed
epm -q -a | grep kde will do the trick)
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Tue Oct 21, 2008 9:44 pm

I found Gentoo KDE 4.1 Guide, where I read that there is new USE flag kdeprefix, which allows me to have different versions of kde at one time,
it's what we were talking about before I guess?
Just wondering if there is a chance to keep current kde 4.1.2 and put kde 3.5.10 into another slot....

Will it work just set this use flag and run emerge =kde-meta-3.5.10 which is actually currently installed as well, but just does not work?

Thank you
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Tue Oct 21, 2008 10:23 pm

vitoriung wrote:I found Gentoo KDE 4.1 Guide, where I read that there is new USE flag kdeprefix, which allows me to have different versions of kde at one time,
it's what we were talking about before I guess?
Just wondering if there is a chance to keep current kde 4.1.2 and put kde 3.5.10 into another slot....

Will it work just set this use flag and run emerge =kde-meta-3.5.10 which is actually currently installed as well, but just does not work?

Thank you
use or not use a flag is up to the package

do

emerge -pv =kde-meta-3.5.10

and look if it has this flag among those it recognizes.
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Tue Oct 21, 2008 10:43 pm

Code: Select all

# emerge -pv =kde-meta-3.5.10 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kde-meta-3.5.10  USE="nls -accessibility" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
hmm this USE flag is not there, thought it's is just for kde 4 but

Code: Select all

 emerge -pv =kde-meta-4.1.2 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kde-meta-4.1.2  USE="-accessibility" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
So I am bit confused now, I checked equery list and it looks like kde packages are installed for both versions old 3.5.10 and new 4.1.2

I am not sure if emerge =kde-meta-3.5.10 will do the job,
but nothing should happen if I try it, shouldn't it?
Top
punkid
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Sat Dec 18, 2004 8:23 am
Location: offline

  • Quote

Post by punkid » Wed Oct 22, 2008 3:07 am

Have you emerged kde-base/kdebase-startkde-4.1.2-r1 ?
My Blog | Latest Screenshot
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Wed Oct 22, 2008 6:59 pm

Yes I have emerged kdebase-startkde-4.1.2-r1,
now I try to mask it and emerge kdebase-startkde again to see what happens...
emerge =kde-meta-3.5.10 didn't work :/

Bingo!
emerging kdebase-startkde-3.5.10-r4 worked!
Now I have KDE3.5 back, but it's some kind of hybrid, menu has been wiped out, quick launcher icons deleted etc.
I think now I do need downgrade all 4.1.2 packages back to 3.5.10 and later when I decide to have KDE 4 as well will make that "slotted" installation with kdeprefix USE flag without worrying about current KDE 3.5? Am I right?


EDIT2:

So my KDE 3.5 profile settings was obviously damaged because I logged into KDE4, while my girlfriend's profile remains untouched.
That's a bit headache... :/
Is it any chance to fix it, find these data and put them back?
And finally, is it chance to safely remove KDE4?

Thanks
Top
punkid
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Sat Dec 18, 2004 8:23 am
Location: offline

  • Quote

Post by punkid » Thu Oct 23, 2008 5:37 am

Bingo!
emerging kdebase-startkde-3.5.10-r4 worked!
Now I have KDE3.5 back, but it's some kind of hybrid, menu has been wiped out, quick launcher icons deleted etc.
I think now I do need downgrade all 4.1.2 packages back to 3.5.10 and later when I decide to have KDE 4 as well will make that "slotted" installation with kdeprefix USE flag without worrying about current KDE 3.5? Am I right?
I have the same prob, after kde4 installation, the kde3 menu is gone missing :(

To my understanding from the official kde 4.1 guide, kdeprefix USE flag has nothing to do with kde3, as it mentioned :
Note: This restriction does not apply to KDE 3.5 (which uses different eclasses) or live versions (as they will continue to be installed under /usr/kde/${live-slot}. You can have a non-kdeprefix version of KDE 4.1, KDE 3.5 and a live version of KDE installed on the same system.
With kdeprefix USE flag on, you will be able to install kde 4.1, kde 4.2 ... they're kept seperately with different slots. In other words, you dont have to remove kde 4.1 when you're about to give a try of kde 4.2.

So my KDE 3.5 profile settings was obviously damaged because I logged into KDE4, while my girlfriend's profile remains untouched.
That's a bit headache... :/
Is it any chance to fix it, find these data and put them back?
And finally, is it chance to safely remove KDE4?

Thanks
Is your ~/.kde3.5 directory being contaminated by kde4? Or the ~/.kde link points to ~/.kde4? If so, try :

Code: Select all

unlink ~/.kde
ln -sf ~/.kde3.5 ~/.kde
There're many ways to remove the KDE4 packages, with eix, you can try this :

Code: Select all

emerge -aC `eix --installed-slot 4.1 -c --format-compact '<category>/<name>:4.1'`
My Blog | Latest Screenshot
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Thu Oct 23, 2008 7:01 pm

thanks punkid,
after removing kde4 is my menu back,
I found eix very handy for unmerging...
Now I think it's time to clean the system a bit.
I run emerge --depclean -p and am bit worried about state of my system

Code: Select all

Packages installed:   1312
Packages in world:    139
Packages in system:   51
Required packages:    1042
Number to remove:     270
Seems like I haven't done this for ages, browsed packages and there is many I want to keep,
how to deal with this situation?
In ideal state of the system it woudn't find anything for removal, would it?It means I have 270 packages without dependencies?
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Thu Oct 23, 2008 9:14 pm

vitoriung wrote:thanks punkid,
after removing kde4 is my menu back,
I found eix very handy for unmerging...
Now I think it's time to clean the system a bit.
I run emerge --depclean -p and am bit worried about state of my system

Code: Select all

Packages installed:   1312
Packages in world:    139
Packages in system:   51
Required packages:    1042
Number to remove:     270
Seems like I haven't done this for ages, browsed packages and there is many I want to keep,
how to deal with this situation?
In ideal state of the system it woudn't find anything for removal, would it?It means I have 270 packages without dependencies?

There is nothing inherently wrong about it. Frequent situation is that you emerge -u(D) some package, and it pulls some dependences, which
in this case are not registered in world.
Then you remove original packages, and the dependeces become orphaned from the point of view of emerge --depclean.
But some of them may well be the ones you would have installed anyway.
So if you want to keep them, you should include them in your 'world' file.


But I never run emerge --depclean other than to look at the list,. i.e emerge -pv --depclean.
And then I remove packages I don't need by hand.
Top
vitoriung
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon May 21, 2007 9:37 pm
Location: Prague, Czech Republic

  • Quote

Post by vitoriung » Mon Oct 27, 2008 6:32 pm

Thank you guys for help,
I really appreciated that,

I masked kde 4.1.2 as termite advices in http://forums.gentoo.org/viewtopic-t-71 ... ight-.html and now it seems to be fine.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy