Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] KDE - what to delete?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Aug 13, 2015 11:13 am    Post subject: [SOLVED] KDE - what to delete? Reply with quote

Hi,

I have such message bellow. What to delete now? polkit-kde-agent and kde4-l10n and reemerge?

Code:
# emerge -uDN world
Calculating dependencies... done!
[ebuild     U  ] x11-drivers/nvidia-drivers-355.06-r1 [355.06] USE="-uvm%"
[ebuild     UD ] app-i18n/man-pages-pl-0.6 [20070628-r2]
[ebuild     U  ] kde-frameworks/extra-cmake-modules-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kcoreaddons-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kconfig-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kwidgetsaddons-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kwindowsystem-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/ki18n-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kdbusaddons-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kcodecs-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kitemviews-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kguiaddons-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/karchive-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/sonnet-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kcrash-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kdoctools-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kcompletion-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kjobwidgets-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kservice-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kglobalaccel-5.13.0 [5.12.0]
[ebuild   R    ] app-office/akonadi-server-1.13.0-r1  USE="(-soprano%*)"
[ebuild     U  ] kde-frameworks/knotifications-5.13.0 [5.12.0]
[ebuild     UD ] net-misc/openssh-6.9_p1-r2 [7.0_p1]
[ebuild     U  ] kde-frameworks/solid-5.13.0 [5.12.0]
[ebuild   R    ] kde-base/kactivities-4.13.3  USE="(-nepomuk%)"
[ebuild   R    ] kde-base/plasma-workspace-4.11.21  USE="(-nepomuk%)"
[ebuild     U  ] kde-frameworks/kauth-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kconfigwidgets-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kiconthemes-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/ktextwidgets-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kxmlgui-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kwallet-5.13.0 [5.12.0] USE="(-gpg)"
[ebuild     U  ] kde-frameworks/kbookmarks-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kio-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kinit-5.13.0 [5.12.0]
[ebuild     U  ] kde-frameworks/kded-5.13.0 [5.12.0]
[ebuild  N     ] kde-plasma/polkit-kde-agent-5.3.2  USE="-debug"
[uninstall     ] sys-auth/polkit-kde-agent-0.99.1-r1
[blocks b      ] sys-auth/polkit-kde-agent:4[-minimal(-)] ("sys-auth/polkit-kde-agent:4[-minimal(-)]" is blocking kde-plasma/polkit-kde-agent-5.3.2)
[ebuild   R    ] media-sound/amarok-2.8.0-r3  USE="(-nepomuk%)"
[ebuild   R    ] media-video/kdenlive-0.9.10  USE="(-nepomuk%)"
[ebuild   R    ] kde-base/kdeplasma-addons-4.14.3  USE="(-nepomuk%)"
[ebuild   R    ] kde-apps/kdebase-runtime-meta-4.14.3  USE="(-nepomuk%)"
[ebuild   R    ] kde-base/systemsettings-4.11.21  USE="(-nepomuk%)"
[ebuild   R    ] kde-apps/kget-4.14.3  USE="(-nepomuk%)"
[blocks B      ] kde-apps/kde4-l10n[-minimal(-)] ("kde-apps/kde4-l10n[-minimal(-)]" is blocking kde-plasma/polkit-kde-agent-5.3.2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (kde-apps/kde4-l10n-4.14.3:4/4.14::gentoo, installed) pulled in by
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (app-office/kmymoney-4.7.2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (kde-misc/skanlite-1.1-r1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/kde-gtk-config-2.2.1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (app-office/kmymoney-4.7.2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/skanlite-1.1-r1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (app-cdr/k3b-2.0.3-r2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (net-wireless/bluedevil-2.1.1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.14.3:4[aqua=] (>=kde-apps/kde4-l10n-4.14.3:4[-aqua]) required by (kde-base/kdepim-meta-4.14.10:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/kdiff3-0.9.98-r1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (media-plugins/kipi-plugins-4.12.0:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (net-wireless/bluedevil-2.1.1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (media-gfx/digikam-4.12.0:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/kscreen-1.0.71:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (media-plugins/kipi-plugins-4.12.0:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/krusader-2.4.0_beta3-r2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (kde-misc/kdiff3-0.9.98-r1:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (kde-misc/krename-4.0.9-r3:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (kde-misc/krusader-2.4.0_beta3-r2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_pl(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_pl(+)]) required by (app-cdr/k3b-2.0.3-r2:4/4::gentoo, installed)
    >=kde-apps/kde4-l10n-4.4:4[aqua=,linguas_en_GB(+)] (>=kde-apps/kde4-l10n-4.4:4[-aqua,linguas_en_GB(+)]) required by (media-gfx/digikam-4.12.0:4/4::gentoo, installed)

  (kde-plasma/polkit-kde-agent-5.3.2:5/5::gentoo, ebuild scheduled for merge) pulled in by
    kde-plasma/polkit-kde-agent required by (sys-auth/polkit-0.113:0/0::gentoo, installed)
    kde-plasma/polkit-kde-agent required by (kde-frameworks/kauth-5.13.0:5/5.13::gentoo, ebuild scheduled for merge)
    kde-plasma/polkit-kde-agent required by (kde-base/kdelibs-4.14.10:4/4.14::gentoo, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


Last edited by Xywa on Fri Aug 14, 2015 1:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Thu Aug 13, 2015 11:16 am    Post subject: Reply with quote

Here's the key part:
Code:
[blocks B      ] kde-apps/kde4-l10n[-minimal(-)] ("kde-apps/kde4-l10n[-minimal(-)]" is blocking kde-plasma/polkit-kde-agent-5.3.2)

Solution:
Code:
# echo "kde-apps/kde4-l10n minimal" > /etc/portage/package.use/kde4-compat
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Aug 13, 2015 11:20 am    Post subject: Reply with quote

genstorm wrote:
Here's the key part:
Code:
[blocks B      ] kde-apps/kde4-l10n[-minimal(-)] ("kde-apps/kde4-l10n[-minimal(-)]" is blocking kde-plasma/polkit-kde-agent-5.3.2)

Solution:
Code:
# echo "kde-apps/kde4-l10n minimal" > /etc/portage/package.use/kde4-compat


I have this, should I create package.use directory mannually?
Code:
# echo "kde-apps/kde4-l10n minimal" > /etc/portage/package.use/kde4-compat
bash: /etc/portage/package.use/kde4-compat: Not a directory
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Thu Aug 13, 2015 11:30 am    Post subject: Reply with quote

You can organise your package.use file or directory as you wish. :)
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Fri Aug 14, 2015 12:04 am    Post subject: Reply with quote

Xywa wrote:
I have this, should I create package.use directory manually?
Code:
# echo "kde-apps/kde4-l10n minimal" > /etc/portage/package.use/kde4-compat
bash: /etc/portage/package.use/kde4-compat: Not a directory

genstorm wrote:
You can organize your package.use file or directory as you wish. :)

While genstorm's answer is completely true and accurate, it only exactly answers your question. I see these kinds of questions and true answers many times .. where there is no enlightenment.

The problem is that your question isn't really what you need to know.

The 'need' is a place to define custom additions/exceptions for portage values reflected in but not limited to:
  • package.use
  • package.mask
  • package.keywords
  • package.unmask
  • package.license

By default, new installations have all of these custom portage variable lists as files under
Code:
/etc/portage/

You have the option of creating any or all of these as directories instead and moving the files themselves to their corresponding directories so that you get this:
Code:
/etc/portage/package.use/package.use
/etc/portage/package.mask/package.mask
   {and so forth}

When you set your portage variable lists under directories, all the files in each directory will be processed for additions/exceptions for each category {use, mask, unmask, keyword etc.}

Now why would you want to do this?

There are two very good reasons for moving from single category list files to list directories.
  1. 'emerge' has had the ability now for awhile to recommend and automatically update your custom portage value lists. When you set it up to do that, it will include a lot of 'comment' information telling you what it did.

  2. You'll also find that the older your gentoo installation gets, the more custom additions/exceptions portage values you'll accumulate because of personal desires and on-going package changes.

It gets very old very fast scrolling through pages and pages of 'package.use' and 'package.mask' trying to figure out what you did or to untangle deprecated values.

I've converted all my value list files to directories. To make this whole issue very clear, here is an example of what one of my new installs looks like:
Code:
# ls -l /etc/portage/package.use/
total 56
-rw-r--r-- 1 root root  75 Mar 15 07:59 calibre
-rw-r--r-- 1 root root  33 Mar 14 14:06 fs
-rw-r--r-- 1 root root  33 Feb 22 13:06 iputils
-rw-r--r-- 1 root root  59 Jun  7 07:28 kde
-rw-r--r-- 1 root root 112 Mar 15 18:45 lxqt
-rw-r--r-- 1 root root 505 May 12 15:07 media
-rw-r--r-- 1 root root 188 Mar 24 06:29 misc
-rw-r--r-- 1 root root 166 Apr  8 17:43 network
-rw-r--r-- 1 root root  23 Apr  6 10:02 office
-rw-r--r-- 1 root root  38 Mar 24 06:04 qt
-rw-r--r-- 1 root root  82 Jun 30 06:31 samba
-rw-r--r-- 1 root root  24 Mar 13 13:31 system
-rw-r--r-- 1 root root 206 Apr  6 09:24 temp
-rw-r--r-- 1 root root 217 Mar 14 23:20 tools

Code:
# cat /etc/portage/package.use/calibre
>=dev-qt/qtwebkit-5.4.1 printsupport
>=dev-lang/python-2.7.9-r2:2.7 sqlite

Code:
# cat /etc/portage/package.use/office
media-gfx/nomac opencv

Code:
# cat /etc/portage/package.use/samba
net-fs/samba aio client syslog winbind
>=app-crypt/heimdal-1.5.3-r2 -ssl -threads

Code:
# cat /etc/portage/package.use/temp
# =gnome-base/librsvg-2.40.9 -tools
# =dev-java/icedtea-bin-7.2.5.3 -cups -X -nsplugin
# =media-libs/libjpeg-turbo-1.4.0 -java
# =net-libs/glib-networking-2.42.1 -libproxy
# =dev-vcs/subversion-1.8.11 -kde

Code:
# cat /etc/portage/package.use/tools
dev-util/cmake -qt5
>=dev-libs/libpcre-8.36 pcre16
sys-apps/hwloc plugins
app-arch/p7zip rar
>=dev-vcs/subversion-1.8.11 -dso
x11-terms/qterminal -qt4
x11-libs/qtermwidget -qt4
app-portage/layman bazaar cvs mercurial

As you can see, my 'use' values are organized and grouped as makes sense to me. I use the 'temp' list as a placeholder for values I need temporarily in order to do things like complete an 'emerge @world' or I find a package which is borked in some way and I have to wait until it's either fixed by upstream or perhaps for some gentoo dev love package maintenance. ;)

Using explicit value lists or directories is your choice and you can mix and match them as makes sense for you. Generally, I make 'package.use', 'package.mask', 'package.keywords' and 'package.unmask' be directories. The rest remain lists.

I hope this gives you a better understanding and context regarding your options here.

:)

And BTW - for a quick and dirty action to get moving foward while you think about whether to restructure for lists or list directories, do this:
Code:
# echo "kde-apps/kde4-l10n minimal" >> /etc/portage/package.use

This will add what you need to your current file. You must use the two bracket direction symbols to add to your list and not overwrite it!

On my systems which follow the example above, I executed this:
Code:
# echo "kde-apps/kde4-l10n minimal" >> /etc/portage/package.use/kde


YMMV and all that.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Aug 14, 2015 1:06 pm    Post subject: Reply with quote

dufeu - you are great!!!!

8) 8) 8) 8) 8) 8) 8)

Many thanks [SOLVED]
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Sun Aug 16, 2015 8:39 am    Post subject: Reply with quote

Xywa wrote:
Many thanks [SOLVED]

You're welcome. I'm glad it worked out for you. ;)
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Aug 16, 2015 8:42 am    Post subject: Reply with quote

dufeu wrote:
genstorm wrote:
You can organize your package.use file or directory as you wish. :)

While genstorm's answer is completely true and accurate, it only exactly answers your question. I see these kinds of questions and true answers many times .. where there is no enlightenment.

I like to think that enlightenment comes from curiousity and `man emerge`. ;) Fundamentals should be covered by installing and running Gentoo. What you're really providing is an extremely detailed extension to the manuals - it shouldn't get lost in the depths of the forum.
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Mon Aug 17, 2015 12:00 am    Post subject: Reply with quote

genstorm wrote:
I like to think that enlightenment comes from curiousity and `man emerge`. ;) Fundamentals should be covered by installing and running Gentoo. What you're really providing is an extremely detailed extension to the manuals - it shouldn't get lost in the depths of the forum.

I generally agree.

What I'd really like to do is start writing some of these "detailed extensions" in the Gentoo Wiki. But they don't really fit in with the current Wiki usage. i.e. They're not How-Tos, Manuals nor Recipes. What I have are things like Real Application Walk Throughs {with thoughts explaining the 'whys' and 'wherefores' of the decisions involved} as well as .. um . let's call them 'Enlightenment Extensions' ;) {for want of a better phrase - thank you for thinking along those lines!}.

Manuals, How-Tos and man pages basically tell you what's available. The stuff I write tries to go beyond that in terms of actual applications and what's involved in the various decisions.

I haven't made time into looking at making Wiki contacts but if you're willing to give me guidance me there, PM me. I have several real world walk throughs which I could finish fleshing out {they're written as a guide to me with my shortcut thinking in mind}. I'd be happy to share them with you to give you an idea of what I mean.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Tue Aug 18, 2015 11:46 am    Post subject: Reply with quote

Cheers dufeu :-) Stolen as "Tweaking an Install" (Maintenance: 2nd item after the basics) on the tips page
dufeu wrote:
What I'd really like to do is start writing some of these "detailed extensions" in the Gentoo Wiki. But they don't really fit in with the current Wiki usage. i.e. They're not How-Tos, Manuals nor Recipes. What I have are things like Real Application Walk Throughs {with thoughts explaining the 'whys' and 'wherefores' of the decisions involved}

Manuals, How-Tos and man pages basically tell you what's available. The stuff I write tries to go beyond that in terms of actual applications and what's involved in the various decisions.

Sounds like stuff that would be really good in "Documentation, Tips and Tricks", new thread per item, perhaps as an adjunct to wiki for preparation and maintenance. Personally I like simply editing the OP, but whatever floats your boat :-)

Main thing is being able to discuss it with the (usually one or two at most;) other users who want to contribute. Wikis don't work for that, ime; the discussion pages tend to turn into conflict zones, whereas the forums stay collaborative, by peer-convention and moderation.

Thanks again for the write-up.
Back to top
View user's profile Send private message
giocitta
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2013
Posts: 79
Location: Località Cheirasca, 21 -15066 Gavi (AL)

PostPosted: Thu Aug 27, 2015 2:44 pm    Post subject: Reply with quote

Hi dufeu, I see you are a big Gentoo-guru, and do explain in a precise manner the nature of the problems in discussion. I'm a near-newbie as regards Gentoo. One question: since now kde/plasma 5 for amd64 is in portage repository, if I wish to install it over the base system, can I directly begin by setting the Plasma desktop profile and emerging kde-plasma/plasma-meta (or plasma-desktop)? In other words, can I avoid the Sections of "KDE/Plasma 5 upgrade" Overlay (Optional) and Unmasking and keywording? Many thanks for your much waited help.
_________________
Giorgio Cittadini
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Fri Aug 28, 2015 5:20 am    Post subject: Reply with quote

giocitta,
If you're running ~86 or ~amd64 systems (I assume you are) you shouldn't have to unmask and keyword. The overlay will be "live" packages quite likely to consistantly have more problems than you might want to deal with, so I recommend using portage- it's pretty good even at this early point. However, on two ~x86 Gentoo boxes I've had to keyword some of the 15.08 kde packages, and had some problems, which is to be expected in the transition to qt5 and kde plasma 5.

Also: Depending on what kde4 packages you already have installed, you might consider removing some or all of the kde4 stuff. On the other hand (after updating your current system), you also might try running an:

Code:
emerge kde-plasma/plasma-meta -pv


(or easier with a few less packages a kde-plasma/plasma-desktop) first, just to see what the blocker situations are. On plasma-meta (for example), I had a stubborn kde-frameworks/kauth-5.13.0 blocker where something I couldn't trace down in my system tried to keep pulling in 5.12.0, and uninstalling 5.13.0. That might not happen on other systems. I just used plasma-desktop, and added back in my other usual kde packages later.

You're likely to run into a few of these type problems, and will need to check your world file, and /etc/portage files you have edited which might be imposing the wrong USE flags, or masks. Remember, as long as we're still using some kde4 apps since not all of kde is ported to qt5 yet, there will be some conlicts, but there will be solutions. Plus, you can add back in packages as they get ported over.

Somtimes using an
Code:
emerge --update --newuse --deep --with-bdeps=y @world -pv
will sort things out automatically, or also adding the --backtrack=50 option to the preceeding command if it fails helps. As a last resort, increase the backtrack number to 100 or more, and also add --complete-graph to the emerge command. This has saved me lots of grief many times
Always first use the -pv flags on your emerge commands, to see what portage reports it wants to do first, and work out any problems if you can.
On big emerges, or ones where you suspect blockers to occur, also use the --keep-going option and portage will restart itself if it can and continue, instead of bailing out when/if a package fails.

Once you get plasma 5 and at least a plasma-desktop and add back in a few already ported over kde apps like konsole dolphin gwenview, or whatever you like etc, if you really want to clean out the old kde4 stuff you can run an
Code:
emerge --depclean -pv
and check to see what you could remove. Be very careful, and check the list carefully, and don't remove any vital packages. If you don't have experience with depclean, do some reading up on it first- no hurry with this. Better safe than sorry- anyone can (and have) made a mistake or three with --depclean. After running --depclean, always run revdep-rebuild which does a good job of reinstalling any needed packages you may have removed UNLESS they are system packages required to run portage and compile the source packages. If you can't compile, you're in big trouble on Gentoo. Hope this helps. Good luck. :) Oh yeah-
Code:
emerge --noreplace package whatever
will add that package to the world file, and prevent --depclean from removing it.

EDIT: One last tip: It's a good idea to boot into another desktop environment such as xfce4, lxqt, etc. when doing major kde version changes. Having kde lock up on you in the middle of changing many versions of kde and/or system dependent packages, USE flags, and QT while using the current kde to do the operations on itself can lead to big problems.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11


Last edited by wrc1944 on Fri Aug 28, 2015 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
giocitta
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2013
Posts: 79
Location: Località Cheirasca, 21 -15066 Gavi (AL)

PostPosted: Fri Aug 28, 2015 7:29 am    Post subject: Reply with quote

Hi wrc1944, many thanks for the time you devoted to write your very accurate series of explanations. Surely, they will help me simultaneously to grow in my interest towards Gentoo and to heartily suggest its use to my friends. Now I begin to deeply study your suggestions.

Giorgio Cittadini (from Gavi, Piedmont, Italy)
_________________
Giorgio Cittadini
Back to top
View user's profile Send private message
giocitta
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2013
Posts: 79
Location: Località Cheirasca, 21 -15066 Gavi (AL)

PostPosted: Sun Aug 30, 2015 9:30 am    Post subject: Reply with quote

Alea iacta est. My Gentoo starring 5.4 KDE5 is installed and works wonderfully!!!. Thanks again, wrc1944!

Merged from the reports topic. -- desultory
_________________
Giorgio Cittadini
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum