Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153921

Summary: app-portage/epm - epm -qf <dir> does not work in epm-1.33
Product: Gentoo Linux Reporter: Jetchko Jekov <jetchko.jekov>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: agriffis, gengor, gentoo, holger
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 449458    
Bug Blocks:    
Attachments: do the backout

Description Jetchko Jekov 2006-11-03 04:44:17 UTC
EPM version 1.33
# epm -qf /usr/NX
file /usr/NX is not owned by any package


# epm --help | head -1
EPM version 0.9.0
# epm -qf /usr/NX
nxesd-1.5.0
nxcomp-1.5.0-r2
nxssh-1.5.0-r2
nxclient-1.5.0-r4
nx-x11-1.5.0-r8
nxserver-freenx-0.5.0.20060311-r1
Comment 1 Joel Martin (RETIRED) gentoo-dev 2007-04-13 03:12:32 UTC
Aron made this as an intentional change so that epm -qf <DIR> only returns something if their is a <DIR>/.keep.I think this more closely matches rpm behavior, However, most directories that are created by ebuilds don't use the "keepdir" command so most directories aren't actually 'owned' by any package in that sense. I think this is much less useful so I'm going to back out that change and release a new version soon.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2012-12-26 20:43:04 UTC
Reassigning to maintainer-needed since package was not being maintained by anyone in tools-portage herd.
Comment 3 Peter Weilbacher 2013-01-23 12:36:09 UTC
So the backout that Joel announced in comment 1 apparently never happened. I could reproduce the original descrition on my machine using /opt/bin:

$ epm -qf /opt/bin/     # this is epm-1.33
file /opt/bin/ is not owned by any package
$ ./epm -qf /opt/bin/   # this is the same with the backout
rar-4.2.0
nvidia-drivers-313.18

This seems to list the two packages that indeed have installed files into /opt/bin.
Comment 4 Peter Weilbacher 2013-01-23 12:37:52 UTC
Created attachment 336584 [details, diff]
do the backout

patch to do the backout
Comment 5 Paul Varner (RETIRED) gentoo-dev 2013-02-01 20:56:52 UTC
This is fixed in app-portage/epm-1.40