Delete Software

Hello,

I have just installed Endeavor
However, I can’t remove the software I want to remove.
I tried the : sudo commands… ~ R " "
and also - Rns “”
It doesn’t work. and I don’t know what’s wrong.

Could you please help me?
Thanks in advance.

Remove program:

sudo pacman -R program_name

Remove program and all it’s dependencies (only ones that aren’t required by any other program on your system):

sudo pacman -Rns program_name

P.S. Welcome :partying_face:

Please post your input and put from terminal so we can see what you see.

1 Like

image

1 Like

Thank for your answer.
I try this :

[root@iiw9-80s2 iiw9]# pacman - Rns done
erreur : argument « - » spécifié avec l’entrée standard muette
[root@iiw9-80s2 iiw9]# pacman ~ R done
erreur : aucune opération spécifiée (utiliser -h pour l’aide)
[root@iiw9-80s2 iiw9]# pacman ~ gthumb
erreur : aucune opération spécifiée (utiliser -h pour l’aide)
[root@iiw9-80s2 iiw9]# pacman -Rns gthumb
erreur : l’initialisation de la transaction a échoué (verrouillage de la base de données impossible)
erreur : ne peut pas verrouiller la base de données : Le fichier existe
  Si vous êtes sûr(e) qu’un gestionnaire de paquet n’est pas déjà
  en cours de fonctionnement, vous pouvez supprimer /var/lib/pacman/db.lck
[root@iiw9-80s2 iiw9]# 

Nothing change.
(The language is in French)

The whitespace matters.

pacman - R gthumb is different than pacman -R gthumb

Also the ~ is different than -.

Try this:

sudo rm /var/lib/pacman/db.lck
sudo pacman -R gthumb
1 Like

Also, in case you want to get the terminal output in English for posting on forum, you could put LANG=C before the command to be run.

EX. LANG=C sudo pacman -R gthumb

1 Like

It works.
But what this : ` /var/lib/pacman/db.lck

I must write that line before …pacman - R … ??

Not normally. You had a lock file left over from a previous transaction. That usually means you stopped a previous pacman transaction in the middle either by killing it or rebooting.

i retry for “Done” but it doen’t work.

[root@iiw9-80s2 iiw9]# sudo rm /var/lib/pacman/db.lck
sudo pacman -R done
rm: impossible de supprimer '/var/lib/pacman/db.lck': Aucun fichier ou dossier de ce type
erreur : impossible de trouver la cible : done
[root@iiw9-80s2 iiw9]# sudo pacman -R done
erreur : impossible de trouver la cible : done
[root@iiw9-80s2 iiw9]#

That is because there is no package named done.

What are you trying to remove?

EDIT: Also, you shouldn’t be root at this point. Just run these commands as a normal user. That is what sudo is for.

There is something as Done-git in AUR.

https://aur.archlinux.org/packages?O=0&K=done-git

If that is what you are using @Dimoi the command would be:

sudo pacman -R done-git

yes this that sofware, i want to remove :grinning:

i have just that :

[root@iiw9-80s2 iiw9]# sudo pacman -R done-git
erreur : impossible de trouver la cible : done-git
[root@iiw9-80s2 iiw9]# pacman -R done-git
erreur : impossible de trouver la cible : done-git
[root@iiw9-80s2 iiw9]# 

How did you install “Done”?

1 Like

with >>>

pacman can only remove packages installed with pacman.

First, exit your root prompt. You shouldn’t be running as root like that unless you have some specific reason to do so.

Then use flatpak to remove it.

sudo flatpak uninstall dev.edfloreshz.Done
1 Like

i have that :

[tr527@iiw9-80s2 ~]$ sudo flatpak uninstall dev.edfloreshz.Done
[sudo] Mot de passe de tr527 : 
tr527 n'est pas dans le fichier sudoers.
[tr527@iiw9-80s2 ~]$ 


Well, you should fix your sudoers but first try:

flatpak uninstall dev.edfloreshz.Done

Maybe you did a user install.