Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to remove konqueror from KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 122

PostPosted: Sat Jan 02, 2016 7:44 pm    Post subject: How to remove konqueror from KDE Reply with quote

Hello,

In order to keep my Gentoo installation as lean as possible, I want to remove konqueror from my KDE installation. So, I executed:
Code:
emerge -aC kde-apps/konqueror

But after doing:
Code:
emerge -a --depclean

Following message is shown:
Code:
 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/nsplugins-4.14.3
 *
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/kdebase-meta-4.14.3
 *
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/konq-plugins-4.14.3
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the portage tree, since it may
 * not be possible to satisfy their dependencies.


And during a emerge update of world the konqueror package is pulled in again.

My question: how can I get rid of konqueror as clean as possible? Thanks in advance.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Sat Jan 02, 2016 8:00 pm    Post subject: Reply with quote

You can't. konqueror is part of the kdebase-meta package.

I believe you can hack it by putting it in package.provided, but that is a hack and anything that uses konqueror will fail in what might be completely unexpected ways.

Alternately you can make your own kdebase-meta package in your local overlay and remove konqueror. But again, this is a hack that may cause unexpected problems.

It is certainly unsupported by upstream.

If you really want a lean system you might want to look into other desktop environments/window managers. KDE and gnome are known for being a bit bloated by design.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sat Jan 02, 2016 8:03 pm    Post subject: Reply with quote

Quote:
Code:
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/nsplugins-4.14.3
 *
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/kdebase-meta-4.14.3
 *
 *   >=kde-apps/konqueror-4.14.3:4[-aqua] pulled in by:
 *     kde-apps/konq-plugins-4.14.3

this segment states, that nsplugins, kdebase-meta and konq-plugins are dependent on konqueror.

basically remove those conflicting packages, but also add any other packages were dependent on kdebase-meta. otherwise you get some outdated packages.
just have a look at the ebuild (/usr/portage/kde-apps/kdebase-meta/kdebase-meta-4.14.3.ebuild), on what to emerge.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 122

PostPosted: Sun Jan 03, 2016 12:26 pm    Post subject: Reply with quote

Thank you for your response, I will give it a try.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 122

PostPosted: Sun Jan 03, 2016 12:49 pm    Post subject: Reply with quote

I'm afraid it will be a tough challenge to remove Konqueror, see attached output:
Code:
cat /usr/portage/kde-apps/kdebase-meta/kdebase-meta-4.14.3.ebuild
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit kde4-meta-pkg

DESCRIPTION="Merge this to pull in all kdebase-derived packages"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="+display-manager minimal +wallpapers"

RDEPEND="
        $(add_kdeapps_dep dolphin)
        $(add_kdebase_dep kcheckpass '' 4.11)
        wallpapers? ( $(add_kdeapps_dep kde-wallpapers '' 4.11) )
        $(add_kdeapps_dep kde-base-artwork)
        $(add_kdeapps_dep kdebase-runtime-meta)
        $(add_kdeapps_dep kdialog)
        $(add_kdeapps_dep keditbookmarks)
        $(add_kdebase_dep kephal '' 4.11)
        $(add_kdeapps_dep kfind)
        $(add_kdeapps_dep kfmclient)
        $(add_kdeapps_dep konq-plugins)
        $(add_kdeapps_dep konqueror)
        $(add_kdeapps_dep konsole)
        $(add_kdebase_dep kscreensaver '' 4.11)
        $(add_kdebase_dep kstartupconfig '' 4.11)
        $(add_kdebase_dep kstyles '' 4.11)
        $(add_kdebase_dep ksystraycmd '' 4.11)
        $(add_kdeapps_dep kwrite)
        $(add_kdeapps_dep libkonq)
        $(add_kdebase_dep liboxygenstyle '' 4.11)
        $(add_kdebase_dep libplasmaclock '' 4.11)
        $(add_kdeapps_dep nsplugins)
        $(add_kdeapps_dep phonon-kde)
        $(add_kdeapps_dep plasma-apps)
        $(add_kdebase_dep qguiplatformplugin_kde '' 4.11)
        !minimal? (                                                                                                                                                                             
                $(add_kdebase_dep freespacenotifier '' 4.11)                                                                                                                                   
                $(add_kdebase_dep kcminit '' 4.11)                                                                                                                                             
                $(add_kdebase_dep kdebase-cursors '' 4.11)                                                                                                                                     
                $(add_kdebase_dep kdebase-startkde '' 4.11)                                                                                                                                     
                $(add_kdeapps_dep kdepasswd)                                                                                                                                                   
                $(add_kdebase_dep khotkeys '' 4.11)
                $(add_kdebase_dep kinfocenter '' 4.11)
                $(add_kdebase_dep klipper '' 4.11)
                $(add_kdebase_dep kmenuedit '' 4.11)
                $(add_kdebase_dep krunner '' 4.11)
                $(add_kdebase_dep ksmserver '' 4.11)
                $(add_kdebase_dep ksplash '' 4.11)
                $(add_kdebase_dep ksysguard '' 4.11)
                $(add_kdebase_dep kwin '' 4.11)
                $(add_kdebase_dep kwrited '' 4.11)
                $(add_kdebase_dep libkworkspace '' 4.11)
                $(add_kdebase_dep libplasmagenericshell '' 4.11)
                $(add_kdebase_dep libtaskmanager '' 4.11)
                $(add_kdebase_dep plasma-workspace '' 4.11)
                $(add_kdebase_dep powerdevil '' 4.11)
                $(add_kdebase_dep solid-actions-kcm '' 4.11)
                $(add_kdebase_dep systemsettings '' 4.11)
                !prefix? ( display-manager? ( || ( $(add_kdebase_dep kdm '' 4.11) x11-misc/lightdm x11-misc/sddm ) ) )
        )
"


If I understand correctly, the above mentioned packages are depending on the kdebase-meta package.
But nonetheless, thank you very much for your support
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


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

PostPosted: Sun Jan 03, 2016 1:58 pm    Post subject: Reply with quote

GenHeDi wrote:
I'm afraid it will be a tough challenge to remove Konqueror, see attached output:
..
If I understand correctly, the above mentioned packages are depending on the kdebase-meta package.

No, they're pulled in by the kdebase-meta package.

You don't need kdebase-meta; you can just install the packages you want, starting with kde-base/kdebase-startkde.

No idea why that changed name from the simpler kde-base/startkde apart from tedious obfuscation to enforce a gentle putsch.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6828
Location: Austria

PostPosted: Sun Jan 03, 2016 2:01 pm    Post subject: Reply with quote

steveL wrote:
to enforce a gentle putsch.

And by that you mean... :?:

I don't know when or why it was renamed, but it is documented.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic


Last edited by asturm on Sun Jan 03, 2016 2:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


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

PostPosted: Sun Jan 03, 2016 2:05 pm    Post subject: Reply with quote

@genstorm: I'm not getting into a troll-fest with you, so kindly leave me alone.

I feel sorry for you, but not that sorry.

If you wanted to get at automated dependencies, you could have. Instead you chose the disingenuous troll-lolol route, designed to take the thread off in an unwelcome direction, picking at an off-the-cuff remark that has little to do with the topic.
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 122

PostPosted: Sun Jan 03, 2016 4:00 pm    Post subject: Reply with quote

I am not a seasoned pro on portage yet. Can you give me more background information on which steps I have to go through? How can I ensure, for example, that konqueror is no longer pulled in by the kdebase-meta package. Erase the kdebase-meta package?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6828
Location: Austria

PostPosted: Sun Jan 03, 2016 4:09 pm    Post subject: Reply with quote

You would need to uninstall it like so:

Code:
# emerge -C kdebase-meta

Be aware that a followup --depclean would remove many KDE packages from your system. You are then responsible for your own selection of KDE applications, and you can choose to keep them with `emerge --noreplace <package-name>`.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 122

PostPosted: Mon Jan 04, 2016 7:43 pm    Post subject: Reply with quote

Oke, that sounds like a challenge. With my current level of experience, I'm afraid it will become a "Penny wise pound foolish" road trip.
I keep this project for a later date when I have more experience.

Nevertheless, thank you very much for your advice and help.
_________________
Nulla tenaci invia est via
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