View previous topic :: View next topic |
Author |
Message |
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Sat Nov 23, 2019 1:21 pm Post subject: How to remove the ibus with the gnome environment |
|
|
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 |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Sat Nov 23, 2019 3:59 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Nov 23, 2019 5:14 pm Post subject: |
|
|
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 |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Sat Nov 23, 2019 5:24 pm Post subject: |
|
|
Thank you, nice tip, I didn't know that! |
|
Back to top |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Sun Nov 24, 2019 2:18 am Post subject: |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Nov 24, 2019 3:39 am Post subject: |
|
|
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 |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Mon Nov 25, 2019 12:36 am Post subject: |
|
|
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 |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Nov 25, 2019 1:42 pm Post subject: |
|
|
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 |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Tue Nov 26, 2019 9:52 am Post subject: |
|
|
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 |
|
|
|