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

Bug 408279

Summary: app-admin/eselect-postgresql leaves leftover symlinks after uninstall
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-03-15 07:02:13 UTC
After removing last postgresql slot, a few symlinks are left broken in the filesystem. At least:

/usr/include/libpq
/usr/include/postgres*

The ebuilds should handle removing them in that case to avoid unnecessary pollution.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-15 15:19:01 UTC
Apparently pkg_postrm() should already take care of this through `postgresql-config update'.
Comment 2 Aaron W. Swenson gentoo-dev 2012-09-29 10:39:47 UTC
I can't reproduce this. The eselect module removes all of its symlinks for me.