On Thu, 26 Aug 2010 13:13:02 -0700, JD wrote:
On 08/26/2010 11:09 AM, Michael Schwendt wrote:
> On Thu, 26 Aug 2010 10:48:43 -0700, JD wrote:
>
>> Running rpm -e<pkgname>
>> does not delete the binaries and other files that
>> were installed by the package;
> But sure it does!
>
> Can you give a detailed example? Including the -ql query prior
> to erasing the package with -e -vv?
Well, for example, I just removed package vlc (will re-install it cause
I use it often),
but removed it to show these remaining after rpm -e.
These are listed (without the full name qualifier) when you do rpm -ql
--provides vlc,
and they still remain after rpm -e vlc:
Those files belong into "vlc-core" not "vlc".
Your query is weird, btw, since you should either list files or "Provides"
but both at once makes no sense for what you want to demonstrate.
$ find /usr -name \*vlc\*
/usr/lib/vlc/plugins/access/libaccess_gnomevfs_plugin.so
/usr/lib/vlc/plugins/access/libxcb_screen_plugin.so
/usr/lib/vlc/plugins/audio_output/libpulse_plugin.so
/usr/lib/vlc/plugins/control/libglobalhotkeys_plugin.so
/usr/lib/vlc/plugins/gui/libqt4_plugin.so
/usr/lib/vlc/plugins/gui/libskins2_plugin.so
/usr/lib/vlc/plugins/misc/libnotify_plugin.so
/usr/lib/vlc/plugins/misc/libsvg_plugin.so
/usr/lib/vlc/plugins/misc/libxosd_plugin.so
/usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so
/usr/lib/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
/usr/lib/vlc/plugins/video_filter/libpanoramix_plugin.so
/usr/lib/vlc/plugins/video_output/libaa_plugin.so
/usr/lib/vlc/plugins/video_output/libcaca_plugin.so
/usr/lib/vlc/plugins/video_output/libxcb_glx_plugin.so
/usr/lib/vlc/plugins/video_output/libxcb_window_plugin.so
/usr/lib/vlc/plugins/video_output/libxcb_x11_plugin.so
/usr/lib/vlc/plugins/video_output/libxcb_xv_plugin.so
/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so
The full show, please. You don't believe me (and I'm certainly not
an RPM newbie), so quote a full terminal session. I'd like to see the
output of:
rpm -q vlc
rpm -ql vlc
rpm -e -vv vlc
rpm -q vlc
And then you can run queries for any files found on the filesystem,
such as rpm -qf /usr/lib/vlc/plugins/visualization/libprojectm_plugin.so