Clearing out some packages, I was left with a lot of seemingly orphaned files in /sw/share/mime. One of the packages I removed was shared-mime-info, but that only installs /sw/share/mime/packages, not any of the other files listed below (dpkg -S shows no parent for them)

$ ls -l (in /sw/share/mime)
total 28
-rw-r--r--    1 root  admin     56 23 Feb 10:04 XMLnamespaces
drwxr-xr-x  200 root  admin   6800 23 Feb 10:04 application/
drwxr-xr-x   28 root  admin    952 23 Feb 10:04 audio/
-rw-r--r--    1 root  admin  10403 23 Feb 10:04 globs
drwxr-xr-x   55 root  admin   1870 23 Feb 10:04 image/
drwxr-xr-x    9 root  admin    306 23 Feb 10:04 inode/
-rw-r--r--    1 root  admin   9713 23 Feb 10:04 magic
drwxr-xr-x    9 root  admin    306 23 Feb 10:04 message/
drwxr-xr-x    3 root  admin    102 23 Feb 10:04 model/
drwxr-xr-x   11 root  admin    374 23 Feb 10:04 multipart/
drwxr-xr-x    3 root  admin    102 23 Feb 10:04 packages/
drwxr-xr-x   68 root  admin   2312 23 Feb 10:04 text/
drwxr-xr-x   17 root  admin    578 23 Feb 10:04 video/

Shared-mime-info has a PostInstScript that runs %p/bin/update-mime-database, but there is no PostRmScript to undo this. Might this be the source of the orphaned files?

Hanspeter

--
Hanspeter Niederstrasser, Ph.D.            Dept. of Cell Biology
                                           Campus Box 8228
Cooper Lab                                 660 South Euclid Avenue
Washington University in St. Louis         St. Louis, MO 63110


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to