Ticket #769 (closed defect: fixed)

Opened 11 years ago

Last modified 9 years ago

paludis -u _pkg wants to uninstall packages witch have _pkg listed only in DEPEND

Reported by: sera Owned by:
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.36.1
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

For example paludis -up yasm returns beside other things:

* media-video/ffmpeg-0.5-r1:0::installed requires <dev-lang/yasm-0.8.0:0::installed>

Yasm is only a build time dependency of ffmpeg and more importantly only listed in DEPEND. So there is no need to remove ffmpeg when unmerging yasm.

Change History

comment:1 Changed 11 years ago by ciaranm

We're doing this because we don't trust the DEPEND/RDEPEND distinction on Gentoo. Has it reached the point where the tree is mostly accurate in this respect, or are we still better playing it safe?

comment:2 Changed 10 years ago by sera

Probably playing safe is indeed the right thing to do. Seems this can't be taken for granted at all.

However making it visible to the users which package has the target as build only dependency (as stated in the ebuild) would be of help in filing bugs on b.g.o. against offending ebuilds. The distinction has to be implemented anyway at some point in case this behavior should become the default.

Adding an additional uninstall option to omit uninstalling packages like ffmpeg in the case of yasm wont hurt anyone.

comment:3 Changed 9 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed

I've made 'cave uninstall' show the dependency type.

comment:4 Changed 9 years ago by sera

I like this solution, thanks.

Note: See TracTickets for help on using tickets.