FS#6505 - removing groups in pacman

Attached to Project: Pacman
Opened by Blaž Tomažič (billy) - Wednesday, 28 February 2007, 18:49 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 26 February 2008, 20:29 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.6
Due in Version 3.2.0
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Hi,

i think it would be nice if there would be some option in pacman (like -c, -s) that would remove just those packages from a group that aren't required by other packages. because pacman -R group tries to remove all the packages in the group and if you don't want to break dependencies or you don't want to use --cascade option (because you need some programs depending on some of group's packages) you need to remove packages one by one.


Billy.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 26 February 2008, 20:29 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented by commit e63366ae5e701d8e9ae33144f68e8786b092a468
Comment by Roman Kyrylych (Romashka) - Saturday, 03 March 2007, 19:26 GMT
I think -R group should have this behaviour by default.
Comment by Aaron Griffin (phrakture) - Tuesday, 09 October 2007, 15:23 GMT
-R <group> removing JUST the unneeded packages is a bit unintuitive. How do you remove everything from the group? Also, what happens if a package is named the same as the group? Chaos!

I think reusing the options with a -g or something would be best. Didn't Nagy or Chantry have a patch for -Rg ? If we put -Rg in there, I see no reason why we couldn't make it work with --cascade as well
Comment by Roman Kyrylych (Romashka) - Monday, 22 October 2007, 15:11 GMT Comment by Nagy Gabor (combo) - Monday, 05 November 2007, 19:20 GMT
also see (and test;-) my patch (not yet applied) and follow the thread: http://www.archlinux.org/pipermail/pacman-dev/2007-October/009708.html

Loading...