You are not logged in.

#1 2022-05-16 06:34:05

marshalphoenix
Member
Registered: 2022-05-16
Posts: 3

[Solved] remove a group of large number of packages one at a time ?

Suppose I have installed  a large number  of packages from pacman -S . Now I want to remoce all those packages , but the problem some of packages contain dependency to other packages , so the pacman stops with error message.

I want pacman to continue trying removing the other packages specified in the list even if some of them cant be removed due to dependancy

For example :

sudo pacman -Rns wine gnome-desktop  lutris

it should act like

sudo pacman -Rns wine
sudo pacman -Rns gnome-desktop
sudo pacman -Rns lutris
It should remove wine and lutris even if removal of gnome-desktop is not possible.

The Solution was to create backup before installing a large number of packages at once , and revert if you want to uninstall or some problem occurs

Last edited by marshalphoenix (2022-05-16 08:48:41)

Offline

#2 2022-05-16 06:48:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] remove a group of large number of packages one at a time ?

man pacman | less -p --nodeps

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB