#2441: Ghc-pkg cannot unregister/expose/hide packages in non-first package
databases
-------------------------------+--------------------------------------------
    Reporter:  batterseapower  |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Build System    |      Version:  6.9    
    Severity:  normal          |   Resolution:         
    Keywords:                  |     Testcase:         
Architecture:  Unknown         |           Os:  Unknown
-------------------------------+--------------------------------------------
Comment (by duncan):

 Similarly we notice in #haskell that frequently people are very confused
 by `ghc-plg list` saying that a package is installed but then
 unregistering fails (because they do not understand the `--user` issue).
 This confusion is on the rise because `cabal-install` now does per-user
 installs by default which means there are more people with per-user
 packages registered and since they never had to use the `--user` flag in
 the first place they are unaware of the whole concept of global vs user
 package dbs..

 Either different default behaviour or a better error message would be an
 improvement. For example at least the error message should note that the
 package is in the `--user` db and that if they should use that flag.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2441#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to