Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to remove the ibus with the gnome environment
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
wenzi
n00b
n00b


Joined: 18 Jan 2019
Posts: 36

PostPosted: Sat Nov 23, 2019 1:21 pm    Post subject: How to remove the ibus with the gnome environment Reply with quote

I use the fcitx for my input method. how can I remove the ibus? I use emerge -C ibus,but when I emerge -avDN @world, it will reinstall the ibus,what can I do?
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 782
Location: Italy

PostPosted: Sat Nov 23, 2019 3:59 pm    Post subject: Reply with quote

Using the -C (--unmerge) option for emerge can break your system. You should try the -c option instead (--depclean):
Code:
emerge --ca app-i18n/ibus

But first I suggest running the following command:
Code:
equery depends app-i18n/ibus

This will show you which packages depend on app-i18n/ibus.

Please also check if you have any package with the "ibus" local USE flag in /etc/portage/make.conf or /etc/portage/package.use.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14560

PostPosted: Sat Nov 23, 2019 5:14 pm    Post subject: Reply with quote

A better way to ask whether a package is needed is to ask Portage to explain it. equery depends can show conditional dependencies that are inactive due to local configuration. Instead, run emerge --pretend --verbose --depclean category/package. If a dependency prevents removing the package, emerge will show the package(s) preventing removal.
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 782
Location: Italy

PostPosted: Sat Nov 23, 2019 5:24 pm    Post subject: Reply with quote

Thank you, nice tip, I didn't know that!
Back to top
View user's profile Send private message
wenzi
n00b
n00b


Joined: 18 Jan 2019
Posts: 36

PostPosted: Sun Nov 24, 2019 2:18 am    Post subject: Reply with quote

app-i18n/ibus-1.5.21 pulled in by:
gnome-base/gnome-shell-3.32.2 requires >=app-i18n/ibus-1.5.2

[ebuild R ] gnome-base/gnome-shell-3.32.2::gentoo USE="bluetooth browser-extension networkmanager systemd (-elogind) -gtk-doc -ibus -telepathy -test" PYTHON_SINGLE_TARGET="python3_6 -python3_5 -python3_7" PYTHON_TARGETS="python3_6 -python3_5 -python3_7" 1,444 KiB

I use USE=-ibus reinstall the gnome-shell but it still need the ibus, anyway?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6129

PostPosted: Sun Nov 24, 2019 3:39 am    Post subject: Reply with quote

It looks like gnome-shell has two separate ibus depend lines, one with the USE flag and one unconditional. Not sure if that's correct, but it means you can't uninstall it.
Back to top
View user's profile Send private message
wenzi
n00b
n00b


Joined: 18 Jan 2019
Posts: 36

PostPosted: Mon Nov 25, 2019 12:36 am    Post subject: Reply with quote

Ant P. wrote:
It looks like gnome-shell has two separate ibus depend lines, one with the USE flag and one unconditional. Not sure if that's correct, but it means you can't uninstall it.

so it means ibus can not be uninstalled ?
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 782
Location: Italy

PostPosted: Mon Nov 25, 2019 1:42 pm    Post subject: Reply with quote

I agree with Ant P. You cannot remove app-i18n/ibus according to the gnome-base/gnome-shell-3.32.2 ebuild. But I have no idea if ibus is really needed by the GNOME Shell or if it could be optionally dropped.
Back to top
View user's profile Send private message
wenzi
n00b
n00b


Joined: 18 Jan 2019
Posts: 36

PostPosted: Tue Nov 26, 2019 9:52 am    Post subject: Reply with quote

fturco wrote:
I agree with Ant P. You cannot remove app-i18n/ibus according to the gnome-base/gnome-shell-3.32.2 ebuild. But I have no idea if ibus is really needed by the GNOME Shell or if it could be optionally dropped.

OK ,THANKS
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