Why can't I uninstall pacman package with -Rs settings?
Solution 1
You can try
pacman -Rsc xfce4
From the Wiki:
To remove a package, its dependencies and all the packages that depend on the target package.
Solution 2
xfce4
is not a package but a group of package.
So, may be when you try to remove xfce4
, pacman
tries to remove each package from the xfce4
group and mix up itself with the dependencies.
I suggest you to run again the command to install xfce and to type enter to install all the packages of the xfce4
group
sudo pacman -S xfce4
Then after that try to uninstall xfce as you used to do
sudo pacman -Rs xfce4
If the problem persists, try to uninstall manually the packages of the xfce4
group
sudo pacman -Rs xfdesktop
Repeat the same command for the remaining packages :
1) exo 2) garcon 3) gtk2-xfce-engine 4) gtk3-xfce-engine 5) thunar 6) thunar-volman 7) tumbler 8) xfce4-appfinder
9) xfce4-mixer 10) xfce4-panel 11) xfce4-power-manager 12) xfce4-session 13) xfce4-settings 14) xfce4-terminal
15) xfconf 16) xfdesktop 17) xfwm4 18) xfwm4-themes
Related videos on Youtube
user12157566
Updated on September 18, 2022Comments
-
user12157566 almost 2 years
I would like to merge two data using different years.
My data are like the below with more than 1,000 firms with 20 years span.
And I want to merge data to examine firm A's ratio at t's impact on firm A's count at t+1.
Data A firm year ratio A 1990 0.2 A 1991 0.3 ... B 1990 0.1
Data B firm tyear count A 1990 2 A 1991 6 ... B 1990 4
Expected Output firm year ratio count A 1990 0.2 6
Any suggestion for code to merge data? Thank you
-
Nicolas about 11 yearsCould you check if a system update
sudo pacman -Syu
produces the same error? -
Rohit over 4 yearsCan you please show what you've tried so far. Also, please post a reproducible example
-
Kidae Kim over 4 years
-
hannes101 over 4 yearsDoes any of the two answers provided, solve the question for you? If yes, then please consider accepting one of them.
-
-
greduan about 11 yearsI did consider that... However how about the case when I have another package I do want, which depends on one of these... And since I'm still a newbie I haven't paid that much attention to my packages yet...
-
Stefan Seidel about 11 yearsWell in that case you can't uninstall the original package, clearly because if others which you want depend on it, it can't be uninstalled.
-
greduan about 11 yearsThat's what
sudo pacman -Rs xfce4
however. From the wiki: "To remove a package and its dependencies which are not required by any other installed package". Basically it removes anything I'm not actually using, which works better for my needs. My question is why I'm getting this error though... -
greduan about 11 yearsThat works... Still had to remove
xfconf
from the list because it kept giving me the error. But at least now they're gone. :) -
Nicolas about 11 years@Eduan, the first solution worked or you needed to use the second one? Do you still have the same problem with the xfconf package? Is your problem solved?
-
greduan about 11 yearsI had to uninstall manually all the packages of the xfce4 group. Except those that I needed. :)