Ticket #913 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

cave uninstall removes package from world even if other slot still installed

Reported by: dleverton Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo


If cave uninstall is used to remove one slot of a package in world where other slots are still installed, the package is removed from world. Ideally, IMHO, it should be removed from world if and only if no more slots of the package are still installed, regardless of what spec syntax the user uses to do the uninstall (different from the install case).

            targets_cleaned_up->push_back("!" + stringify((*ids->begin())->name()));

is the code in cmd_uninstall.cc that creates the list of world removals, so the spec syntax from the user is ignored, but it's not dependant on other slots.

Change History

comment:1 Changed 10 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.