ghc-pkg --simple-output is too simple
$ ghc-pkg --package-db package.db check --simple-output
http-streams-0.8.6.1 z-cabal-fmt-z-cabal-fmt-internal-0.1.1 HsOpenSSL-0.11.4.16 time-parsers-0.1.2.1 http-streams-0.8.6.1 openssl-streams-1.2.2.0 openssl-streams-1.2.2.0 these-lens-1 openssl-streams-1.2.2.0 http-streams-0.8.6.1 z-cabal-fmt-z-cabal-fmt-internal-0.1.1 z-cabal-fmt-z-cabal-fmt-internal-0.1.1 z-cabal-fmt-z-cabal-fmt-internal-0.1.1 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 HsOpenSSL-x509-system-0.1.0.3 http-client-openssl-0.3.0.0 HsOpenSSL-x509-system-0.1.0.3 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 http-client-openssl-0.3.0.0 HsOpenSSL-x509-system-0.1.0.3
Ok, this packages are broken, but which specifically (their unit-ids are different)
cc @ezyang