[arch-general] ibus
Hi, I'm surprised why ibus is installed on my machine. Is ibus needed for anything on my machine? The package claims that it was "Installed as a dependency for another package", but no package seems to need it. $ pacman -Qi ibus Name : ibus Version : 1.5.9-4 Required By : None Optional For : None Conflicts With : None Replaces : None Install Reason : Installed as a dependency for another package $ pactree -r ibus ibus I replaced two packages with dummy packages, non of the "original" packages does need ibus. $ pacman -Si pulseaudio gvfs | grep ibus Has got ibus any effect, when no other package requires it? Regards, Ralf
Am 05.12.2014 um 14:15 schrieb Ralf Mardorf:
Hi,
I'm surprised why ibus is installed on my machine.
Is ibus needed for anything on my machine? The package claims that it was "Installed as a dependency for another package", but no package seems to need it.
$ pacman -Qi ibus Name : ibus Version : 1.5.9-4 Required By : None Optional For : None Conflicts With : None Replaces : None Install Reason : Installed as a dependency for another package $ pactree -r ibus ibus
I replaced two packages with dummy packages, non of the "original" packages does need ibus.
$ pacman -Si pulseaudio gvfs | grep ibus
Has got ibus any effect, when no other package requires it?
Regards, Ralf
ibus is an now unneeded dependency on your system. It's still there because pacman does not remove them automatically. You can remove all unneeded dependencies with the following command. "pacman -Qdtq | pacman -Rs -"
Hi Marcel, hi Rasmus :) On Fri, 05 Dec 2014 14:34:29 +0100, Marcel Röthke wrote:
You can remove all unneeded dependencies with the following command. "pacman -Qdtq | pacman -Rs -"
Some unneeded packages might be build time dependencies, I don't want to remove and others might be needed for software I installed without a package, even while they once were installed as a dependency, that now isn't needed by a package anymore. It does find 220 packages, one of them is ibus. Some might be unneeded, but others might be needed. I guess I should remove a few packages, if I've got time to check what they are used or not used for, but I don't trust this command. Total Removed Size: 1162.45 MiB / 1024 = 1.14 GiB 1 GiB is much, but doesn't matter on my machine that much. On Fri, 5 Dec 2014 14:42:06 +0100, Rasmus Liland wrote:
I think you can uninstall ibus safely, unless you use it for e.g. writing simplified chinese, then you would also need e.g. the ibus-sunpinyin from AUR or something similar.
I'm guessing it was installed in the past on your system as a dependency of a AUR package where the AUR packager uses ibus to write his native language.
That's my thought too, because the Arch wiki mentions "You will need at least one input method, corresponding to the language you wish to type." I removed ibus. Restarted the computer ;). Everything still seems to be ok. Someday I have to check 219 packages (Total Removed Size: 1155.87 MiB). Thank you, Ralf
On 12/05, Ralf Mardorf wrote:
Hi Marcel, hi Rasmus :)
On Fri, 05 Dec 2014 14:34:29 +0100, Marcel Röthke wrote:
You can remove all unneeded dependencies with the following command. "pacman -Qdtq | pacman -Rs -"
Some unneeded packages might be build time dependencies, I don't want to remove and others might be needed for software I installed without a package, even while they once were installed as a dependency, that now isn't needed by a package anymore.
If a build-time dependency was installed via the official repositories, the pkg.tar package will still be in the pacman cache (/var/lib/pacman/pkg). Reinstalling it would be trivial. If it was installed from the AUR you can set a directory in which to store built packages in /etc/makepkg.conf, and then add the directory as a local repository using repo-add.* See the pacman and makepkg man pages and wiki entries for more on that. * Of course if the packages were installed as build dependencies from the AUR, they may need to be rebuilt when the dependent package is updated anyway. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams
On Fri, 5 Dec 2014 15:53:10 -0600, Bigby James wrote:
On 12/05, Ralf Mardorf wrote:
Hi Marcel, hi Rasmus :)
On Fri, 05 Dec 2014 14:34:29 +0100, Marcel Röthke wrote:
You can remove all unneeded dependencies with the following command. "pacman -Qdtq | pacman -Rs -"
Some unneeded packages might be build time dependencies, I don't want to remove and others might be needed for software I installed without a package, even while they once were installed as a dependency, that now isn't needed by a package anymore.
If a build-time dependency was installed via the official repositories, the pkg.tar package will still be in the pacman cache (/var/lib/pacman/pkg).
I guess you mean /var/cache/pacman/pkg/. I don't keep all old packages, I usually run pacman -Sc and only keep the current packages inside this cache and a few crucial packages in separated locations.
Reinstalling it would be trivial. If it was installed from the AUR you can set a directory in which to store built packages in /etc/makepkg.conf, and then add the directory as a local repository using repo-add.* See the pacman and makepkg man pages and wiki entries for more on that.
I already do this, I store them in /var/cache/aur/ and don't clean this cache.
* Of course if the packages were installed as build dependencies from the AUR, they may need to be rebuilt when the dependent package is updated anyway.
No, scons and others don't need to be rebuild each time. However, it's trivial to reinstall, but it's a waste of time. Regards, Ralf
On 2014-12-05 14:15, Ralf Mardorf wrote:
Hi,
I'm surprised why ibus is installed on my machine.
Is ibus needed for anything on my machine? The package claims that it was "Installed as a dependency for another package", but no package seems to need it.
$ pacman -Qi ibus Name : ibus Version : 1.5.9-4 Required By : None Optional For : None Conflicts With : None Replaces : None Install Reason : Installed as a dependency for another package $ pactree -r ibus ibus
I replaced two packages with dummy packages, non of the "original" packages does need ibus.
$ pacman -Si pulseaudio gvfs | grep ibus
Has got ibus any effect, when no other package requires it?
Regards, Ralf
Ralf, I think you can uninstall ibus safely, unless you use it for e.g. writing simplified chinese, then you would also need e.g. the ibus-sunpinyin from AUR or something similar. I'm guessing it was installed in the past on your system as a dependency of a AUR package where the AUR packager uses ibus to write his native language. Regards, Rasmus -- Rasmus Liland, jrl@jrl.dyndns.dk, jens.rasmus.liland@nmbu.no
On Friday, December 05, 2014 14:15:05 Ralf Mardorf wrote:
Hi,
I'm surprised why ibus is installed on my machine.
Is ibus needed for anything on my machine? The package claims that it was "Installed as a dependency for another package", but no package seems to need it.
It was a dependency of gnome-settings-daemon until 3.10.2-3, when the ibus package was split and the dependency was updated to libibus. Link to the commit: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/gnome-settings-daemon&id=b5f05bad1b60481d5bc6ebbe12d52552aac9db9b Regards, Felix Yan
On Fri, 05 Dec 2014 22:58:10 +0800, Felix Yan wrote:
It was a dependency of gnome-settings-daemon until 3.10.2-3, when the ibus package was split and the dependency was updated to libibus.
I tested Mate and Cinnamon, they are still installed, but I don't use them at the moment. Likely it was a dependency of one of those DEs. [root@archlinux rocketmouse]# pacman -Q | grep gnome-settings-d gnome-settings-daemon-compat 3.6.4-8 gnome-settings-daemon-nopulse 3.14.1-1 [root@archlinux rocketmouse]# pactree -r gnome-settings-daemon-nopulse gnome-settings-daemon-nopulse └─gnome-settings-daemon-compat [root@archlinux rocketmouse]# pactree -r gnome-settings-daemon-compat gnome-settings-daemon-compat [root@archlinux rocketmouse]# pacman -Qi gnome-settings-daemon-nopulse gnome-settings-daemon-compat Required By : gnome-settings-daemon-compat Optional For : None Conflicts With : gnome-settings-daemon Replaces : gnome-settings-daemon Install Reason : Explicitly installed Name : gnome-settings-daemon-compat Depends On : gnome-settings-daemon Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Install Reason : Installed as a dependency for another package gnome-settings-daemon-compat is one of the packages pacman -Qdtq | pacman -Rs - wants to remove, gnome-settings-daemon-nopulse isn't one of those packages. Perhaps something to do when doing the spring cleaning.
On 5 December 2014 at 16:24, Ralf Mardorf <ralf.mardorf@rocketmail.com> wrote:
On Fri, 05 Dec 2014 22:58:10 +0800, Felix Yan wrote:
It was a dependency of gnome-settings-daemon until 3.10.2-3, when the ibus package was split and the dependency was updated to libibus.
I tested Mate and Cinnamon, they are still installed, but I don't use them at the moment. Likely it was a dependency of one of those DEs.
You do know there's /var/log/pacman.log you can track down when it was installed. -- damjan
On Fri, 5 Dec 2014 16:41:38 +0100, Damjan Georgievski wrote:
On 5 December 2014 at 16:24, Ralf Mardorf <ralf.mardorf@rocketmail.com> wrote:
On Fri, 05 Dec 2014 22:58:10 +0800, Felix Yan wrote:
It was a dependency of gnome-settings-daemon until 3.10.2-3, when the ibus package was split and the dependency was updated to libibus.
I tested Mate and Cinnamon, they are still installed, but I don't use them at the moment. Likely it was a dependency of one of those DEs.
You do know there's /var/log/pacman.log
you can track down when it was installed.
Detective work Yes, gnome-settings-daemon-nopulse (3.8.3-1) and mate-settings-daemon (1.6.1-1) were installed when I installed mate and cinnamon. Around 2 month later cinnamon-settings-daemon (2.0.5-1) was installed. IOW gnome-settings-daemon seemingly was a dependency of cinnamon and ibus seemingly was a dependency of gnome-settings-daemon, since it was a version < 3.10.2-3.
participants (6)
-
Bigby James
-
Damjan Georgievski
-
Felix Yan
-
Marcel Röthke
-
Ralf Mardorf
-
Rasmus Liland