Description of problem: after upgrading fontconfig, I see new architecture definition is picked in cache dir but old cache with x86_64 arch and -2 version remains. Shouldn't -2 cache be deleted? Version-Release number of selected component (if applicable): fontconfig-2.8.0-1.fc12.x86_64 fontconfig-2.8.0-1.fc12.i686 How reproducible: always Steps to Reproduce: 1."ls -l /var/cache/fontconfig/" 2. See both versions cache files 3. Actual results: Both cache versions -2 and -3 files exists. Expected results: should only -3 with new arch definition exists in /var/cache/fontcofig Additional info:
We don't clear the older versions. It's a legitimate scenario to use a home directory with multiple versions of fontconfig, see deleting the old caches would be problematic. The issue of system caches only affects F12 since we shipped with 2.7.x then updated to 2.8.0. I checked the size of the caches and we are talking about 200k worth of stale caches. Not a huge deal not deleting them IMO.
*** Bug 546706 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > We don't clear the older versions. It's a legitimate scenario to use a home > directory with multiple versions of fontconfig, see deleting the old caches > would be problematic. Ok, then remove/comment the (useless) scriptlet lines: # Remove stale caches rm -f /var/cache/fontconfig/????????????????????????????????.cache-2 rm -f /var/cache/fontconfig/stamp کریسمس مبارک - (From wikipedia ;) ) :)
(In reply to comment #3) > (In reply to comment #1) > > We don't clear the older versions. It's a legitimate scenario to use a home > > directory with multiple versions of fontconfig, see deleting the old caches > > would be problematic. > > Ok, then remove/comment the (useless) scriptlet lines: > > # Remove stale caches > rm -f /var/cache/fontconfig/????????????????????????????????.cache-2 > rm -f /var/cache/fontconfig/stamp I did in devel. That was leftover from rawhide a few releases back when the filenames were changed during a development cycle. > کریسمس مبارک - (From wikipedia ;) ) > :) Thanks :).