How to clean-up xfce4 and xfce4-gtk3 duplicates?

As I mainly use Plasma, checking up my xfce session and relevant packages, I face this no-conflict of xfce4 and xfce4-gtk3 packages that seem different and same :dizzy_face: :confused:

I understand they are all gtk3 and probably some are meta-packages, but they seem they could/should be cleaned up a little.

What is the proper/recommended way for tidiness?
Which ones should/could I uninstall?

I missed any announcement on this, if there was one and I couldn't find any relevant topic (with our loved Discourse Search Engine).


Changed category to "Package request", as it is an issue with packaging, that should have been taken care during 1st introduction of meta-transfer-pkg.

I suggest the next building of xfce4 related packages as this topic aims, a "replaces" directive is given, so the obsolete meta-packages are removed IIUC the manual.

Example:
new package: exo

replaces=('exo-gtk3')

etc...

2 Likes

More info on my confusion/question:

$ pacman -Q exo exo-gtk3

exo 0.12.8-1
exo-gtk3 2019.08.15-1

$ pacman -Qi exo

Name            : exo
Version         : 0.12.8-1
Description     : Application library for Xfce
Architecture    : x86_64
URL             : https://www.xfce.org/
Licenses        : GPL2  LGPL
Groups          : xfce4
Provides        : None
Depends On      : libxfce4ui  perl-uri  hicolor-icon-theme
Optional Deps   : None
Required By     : exo-gtk3  thunar  xfburn  xfce4-panel  xfce4-settings  xfdesktop  xfwm4
Optional For    : xdg-utils
Conflicts With  : None
Replaces        : None
Installed Size  : 3.68 MiB
Packager        : Evangelos Foutras <evangelos@foutrelis.com>
Build Date      : Sun Aug 11 23:12:28 2019
Install Date    : Fri Aug 16 16:03:13 2019
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

$ pacman -Qi exo-gtk3

Name            : exo-gtk3
Version         : 2019.08.15-1
Description     : Extensions to Xfce by os-cillation (meta-transfer-pkg)
Architecture    : any
URL             : http://www.xfce.org/
Licenses        : GPL2
Groups          : xfce4-gtk3
Provides        : None
Depends On      : exo
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.00 KiB
Packager        : Philip Mueller <philm@manjaro.org>
Build Date      : Thu Aug 15 12:05:43 2019
Install Date    : Fri Aug 16 16:03:13 2019
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
2 Likes

You can find all of them by searching "meta-transfer-pkg" in Pamac.

1 Like

Thanks!
Actually, I was disturbed that this was not done with "packaging" AI and trying to ring a bell to the packagers. I thought it was possible to do this without user intervention.

Since you were so kind to offer advice, I will do this manually and provide the required sequence (in a next post). I have realized that a couple of the "-gtk3" packages were missing from the meta-package and need to be replaced by their normal equivalents.
Because of this installation requirement, I had to sync all, so I wait until it's finished.

1 Like

This was my manual fix:

$ sudo pacman -R $(pacman -Qqs meta-transfer-pkg) 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing thunar-gtk3 breaks dependency 'thunar-gtk3' required by thunar-shares-plugin-gtk3
:: removing xfce4-panel-gtk3 breaks dependency 'xfce4-panel-gtk3' required by xfce4-indicator-plugin-gtk3-git

$ pacman -Ss thunar-shares-plugin
extra/thunar-shares-plugin-gtk3 0.3.0-1 [installed]
    Thunar plugin to quickly share a folder using Samba without requiring root access
community/thunar-shares-plugin 0.3.0-1
    Thunar plugin to quickly share a folder using Samba without requiring root access
community/thunar-shares-plugin-manjaro 0.2.0.git-4
    Thunar plugin to quickly share a folder using Samba without requiring root access (with auto-setup)

$ pacman -Ss xfce4-indicator-plugin
community/xfce4-indicator-plugin-git 2.3.3.r148.gc99ecc8-1
    Display indicators in the Xfce4 panel
community/xfce4-indicator-plugin-gtk3-git 2.3.3.r148.gc99ecc8-1 [installed]
    Display indicators in the Xfce4 panel

$ sudo pacman -Syu thunar-shares-plugin xfce4-indicator-plugin-git
resolving dependencies...
looking for conflicting packages...
:: thunar-shares-plugin and thunar-shares-plugin-gtk3 are in conflict. Remove thunar-shares-plugin-gtk3? [y/N] y
:: xfce4-indicator-plugin-git and xfce4-indicator-plugin-gtk3-git are in conflict (xfce4-indicator-plugin). Remove xfce4-indicator-plugin-gtk3-git? [y/N] y

Package (4)                           Old Version            New Version            Net Change

thunar-shares-plugin-gtk3             0.3.0-1                                        -0.63 MiB
xfce4-indicator-plugin-gtk3-git       2.3.3.r148.gc99ecc8-1                          -0.69 MiB
community/thunar-shares-plugin                               0.3.0-1                  0.62 MiB
community/xfce4-indicator-plugin-git                         2.3.3.r148.gc99ecc8-1    0.69 MiB

Total Installed Size:   1.31 MiB
Net Upgrade Size:      -0.01 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                                    [##########################################################] 100%
(2/2) checking package integrity                                                                  [##########################################################] 100%
(2/2) loading package files                                                                       [##########################################################] 100%
(2/2) checking for file conflicts                                                                 [##########################################################] 100%
(4/4) checking available disk space                                                               [##########################################################] 100%
:: Processing package changes...
(1/2) removing xfce4-indicator-plugin-gtk3-git                                                    [##########################################################] 100%
(2/2) removing thunar-shares-plugin-gtk3                                                          [##########################################################] 100%
(1/2) installing thunar-shares-plugin                                                             [##########################################################] 100%
(2/2) installing xfce4-indicator-plugin-git                                                       [##########################################################] 100%
:: Running post-transaction hooks...
(1/2) Updating icon theme caches...
(2/2) Arming ConditionNeedsUpdate...

$ sudo pacman -R $(pacman -Qqs meta-transfer-pkg)
checking dependencies...

Package (17)                   Old Version   Net Change

exo-gtk3                       2019.08.15-1    0.00 MiB
garcon-gtk3                    2019.08.15-1    0.00 MiB
libxfce4ui-gtk3                2019.08.15-1    0.00 MiB
libxfce4util-gtk3              2019.08.15-1    0.00 MiB
thunar-archive-plugin-gtk3     2019.08.15-1    0.00 MiB
thunar-gtk3                    2019.08.15-1    0.00 MiB
thunar-volman-gtk3             2019.08.15-1    0.00 MiB
xfce4-appfinder-gtk3           2019.08.15-1    0.00 MiB
xfce4-notifyd-gtk3             2019.08.15-1    0.00 MiB
xfce4-panel-gtk3               2019.08.15-1    0.00 MiB
xfce4-power-manager-gtk3       2019.08.15-1    0.00 MiB
xfce4-session-gtk3             2019.08.15-1    0.00 MiB
xfce4-settings-gtk3            2019.08.15-1    0.00 MiB
xfce4-whiskermenu-plugin-gtk3  2019.08.15-1    0.00 MiB
xfconf-gtk3                    2019.08.15-1    0.00 MiB
xfdesktop-gtk3                 2019.08.15-1    0.00 MiB
xfwm4-gtk3                     2019.08.15-1    0.00 MiB

Total Removed Size:  0.07 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
( 1/17) removing xfwm4-gtk3                                                                       [##########################################################] 100%
( 2/17) removing xfdesktop-gtk3                                                                   [##########################################################] 100%
( 3/17) removing xfconf-gtk3                                                                      [##########################################################] 100%
( 4/17) removing xfce4-whiskermenu-plugin-gtk3                                                    [##########################################################] 100%
( 5/17) removing xfce4-settings-gtk3                                                              [##########################################################] 100%
( 6/17) removing xfce4-session-gtk3                                                               [##########################################################] 100%
( 7/17) removing xfce4-power-manager-gtk3                                                         [##########################################################] 100%
( 8/17) removing xfce4-panel-gtk3                                                                 [##########################################################] 100%
( 9/17) removing xfce4-notifyd-gtk3                                                               [##########################################################] 100%
(10/17) removing xfce4-appfinder-gtk3                                                             [##########################################################] 100%
(11/17) removing thunar-volman-gtk3                                                               [##########################################################] 100%
(12/17) removing thunar-gtk3                                                                      [##########################################################] 100%
(13/17) removing thunar-archive-plugin-gtk3                                                       [##########################################################] 100%
(14/17) removing libxfce4util-gtk3                                                                [##########################################################] 100%
(15/17) removing libxfce4ui-gtk3                                                                  [##########################################################] 100%
(16/17) removing garcon-gtk3                                                                      [##########################################################] 100%
(17/17) removing exo-gtk3              

I will confirm success after re-login to XFCE session later.

3 Likes

Personally, I am not gonna clean them but I don't know what is going to happen while gtk3-gtk4 transition.

1 Like

Although I'm not affected due to using KDE myself I totally agree with @AgentS on this: this should have been cleaned up by some cleanup package after the transition was complete.

One never knows what could happen, but knowing these packages are obsolete now would nag at me :slight_smile:

1 Like

Forum kindly sponsored by