Pacman vs Pamac

Do not do this. Someone borked their install because they were doing this to remove gnome3 in a thread just the other day.

2 Likes

pacman is the only official package manager, so I think it’s important to learn how to use it. That said, you’re free to use whichever you like best, but IMO it’s best to start with pacman.

3 Likes

I installed bumblebee using yay and pamac and according to glxinfo | grep NVIDIA it seems to have worked.

Just pacman know is needed, because pamac just is a alien software. And its the most of candidate to replace pacman in manjaro over some period. But on arch based you must not rely to much also because arch does not take care of the health of the frondend :slight_smile:
you can use what you want but for updating but always keep in mind if there is a pacman update, that means libalmp probably also changed then you have to look intoo updating pamac if neccesary.

3 Likes

It doesn’t remove things unless you tell it to, so they must have pressed Enter without checking which packages would be removed. That’s user error, not a problem with the command.

6 Likes

Well of course it doesn’t remove packages unless the command is actually run…The issue isn’t that the command is broken, the issue is the cascading effects are not easily determinable. Most people aren’t going to check each and every package to determine whether it’s actually required or not. If you’re not willing to do that (which I’m taking a shot in the dark a lot of users aren’t) then don’t run the command with the cascade flag.

2 Likes

It’s hard to think of a shell command that is 100% idiot-proof. You can redirect the output of echo into an important file and that’s it for that file.

User errors are user errors, we’ve all made them, hopefully learnt our lessons. That’s not a problem with the command.

2 Likes

as for the 100 commands of pacman there mayby 4 you daily use :slight_smile:

3 Likes

I made a little list of ones worth remembering:

:slight_smile:

5 Likes

Which are they? I’m going to read up on them.

Personal Pacman -S , -Q ,-R and mix of them :slight_smile: -Ss -Qs -Qi -Si -Rnsc , more is not needed :stuck_out_tongue: i say four…mmmmm

1 Like

-Rsc is not the equivalent to uninstall. Using it as such (with the assumptions of the equivalent safety) is a bad idea. There’s nothing wrong with rm -rf / --no-preserve-root either under the right circumstances but I’m not exactly being careless with my prescription of its use. That’s the problem here, not really sure how people can think otherwise.

When you run -Rsc you get a list of all the packages that command will remove. You answer no if there is any package on that list that you wish to keep. It’s is not a dangerous command at all, unless you use it carelessly, and then every command is potentially dangerous.

It’s not at all similar to rm -rf /, which deletes everything on your computer, without asking for confirmation. I use -Rncs quite a lot, I never needed to run rm -rf /.

I do agree with you that it should not be aliased to uninstall, though. I never alias pacman commands, because that takes away the control pacman gives to the user.

3 Likes

We’ll have to agree to disagree then. I couldn’t be bothered arguing this further.

1 Like

I regularly use -Rncs to completely purge packages and any leftover configuration. :man_shrugging:

1 Like

Okay - to be honest, I just do yay -R or pacman -R. I always take things for a spin in forums before I think I might have understood :stuck_out_tongue: I guess that’s the best advice ever.

I guess -Rsc has its use case but then the user should have the knowledge to examine each and every package that is being removed and to know in what ways their removal will affect the whole system.

Me, personally, I would stay away from using it simply because I lack the necessary knowledge to understand the complex web of the inter-relatedness of the packages.

For an advanced user, it’s completely another matter.

Sure, if you’re doing a handful of packages. I do too but I do not treat it as having the same safety as a mere uninstall when I’m dealing with large package groups; like a DE. I already explained my concern, don’t want to labor on the point further.

1 Like

Agreed - and -Rncs would be for a ‘purge’ alias, not just uninstalling. I’m better at reading and aborting than I used to be. For a desktop, well - I’m not keen on the idea of that at all - certainly need a good backup first.

Your concern is valid - people shouldn’t do package maintenance without thinking about what they’re doing.

The trouble is that without breaking something you don’t learn how things break, and pacman will let you break things.

3 Likes