[GHC] #10205: On Windows ghc-pkg always reports cache out of date

GHC ghc-devs at haskell.org
Thu Jun 4 06:53:44 UTC 2015


#10205: On Windows ghc-pkg always reports cache out of date
-------------------------------------+-------------------------------------
        Reporter:  hgolden           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  ghc-pkg           |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Windows           |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rpaladugu1):

 You can remove the following message by opening the command prompt as
 administrator and doing the "ghc-pkg recache" in the C:/Program
 Files/MinGHC-7.10.1/ghc-7.10.1\lib folder. It worked for me and the
 message was gone.

 WARNING: cache is out of date: C:/Program
 Files/MinGHC-7.10.1/ghc-7.10.1\lib\package.conf.d\package.cache
 ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10205#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list