Installation error of asn1-types
Peng Yu
pengyu.ut at gmail.com
Sat Apr 25 13:44:27 UTC 2015
I got this. What shall I do next?
~$ ghc-pkg unregister hourglass
ghc-pkg: unregistering hourglass would break the following packages:
crypto-pubkey-types-0.4.3 asn1-encoding-0.9.0 asn1-types-0.3.0 (use
--force to override)
On Sat, Apr 25, 2015 at 2:09 AM, Adam Bergmark <adam at bergmark.nl> wrote:
> HI Peng,
>
> Something might have messed up the hourglass-0.2.9 installation. I would try
> `ghc-pkg unregister hourglass` (`cabal sandbox hc-pkg unregister hourglass`
> if in a sandbox) and then trying again.
>
> HTH,
> Adam
>
>
> On Sat, Apr 25, 2015 at 2:12 AM, Peng Yu <pengyu.ut at gmail.com> wrote:
>>
>> I got the following error. I am not sure how to fix the problem. Could
>> anybody let me know what I should do? Thanks.
>>
>> ~$ cabal install --reinstall --force-reinstall asn1-types
>> Resolving dependencies...
>> Warning: The following packages are likely to be broken by the reinstalls:
>> crypto-pubkey-types-0.4.3
>> asn1-encoding-0.9.0
>> Continuing even though the plan contains dangerous reinstalls.
>> Downloading asn1-types-0.3.0...
>> Configuring asn1-types-0.3.0...
>> Building asn1-types-0.3.0...
>> Failed to install asn1-types-0.3.0
>> Build log ( /Users/py/.cabal/logs/asn1-types-0.3.0.log ):
>> Configuring asn1-types-0.3.0...
>> Building asn1-types-0.3.0...
>> Preprocessing library asn1-types-0.3.0...
>>
>> Data/ASN1/Types.hs:23:8:
>> Could not find module ‘Data.Hourglass’
>> There are files missing in the ‘hourglass-0.2.9’ package,
>> try running 'ghc-pkg check'.
>> Use -v to see a list of the files searched for.
>> cabal: Error: some packages failed to install:
>> asn1-types-0.3.0 failed during the building phase. The exception was:
>> ExitFailure 1
>>
>>
>> --
>> Regards,
>> Peng
>> _______________________________________________
>> cabal-devel mailing list
>> cabal-devel at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel
>
>
--
Regards,
Peng
More information about the cabal-devel
mailing list