ghc package installation depends on /home/user/.ghc data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
when trying to get EclipseFP running I encountered some strange compile errors and decided to purge the ghc package and reinstall it afterwards using
sudo apt-get purge g++-4.6 libbsd-dev libffi-dev libgmp-dev libstdc++6-4.6-dev cabal-install ghc ghc-prof libstdc++-4.8-dev
sudo apt-get install ghc
This resulted in a lot of error messages like the following:
Setting up ghc (7.6.3-4) ...
update-
update-
There are problems in package pandoc-types-1.10:
Warning: library-dirs: /home/user/
import-dirs: /home/user/
file Text/Pandoc/
file Text/Pandoc/
file Text/Pandoc/
cannot find libHSpandoc-
There are problems in package hs-bibutils-5.0:
Warning: library-dirs: /home/user/
import-dirs: /home/user/
file Text/Bibutils.hi is missing
cannot find libHShs-
[...]
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
pandoc-types-1.10
hs-bibutils-5.0
[...]
`/home/user` is the home directory of the user running the `sudo apt-get` command. I had removed the .cabal directory before in an attempt to remedy my previous compile problems but appearantly there where still references to it in the `/home/user/.ghc` directory. For example `/home/
import-dirs: /home/user/
library-dirs: /home/user/
Once I removed the .ghc directory or ran the command in a root shell (`sudo su`) the installation of the package ran through without any errors. So appearantly the package installation uses some of the local data of the user performing the installation command.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ghc 7.6.3-4
ProcVersionSign
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Sun Dec 15 22:57:13 2013
InstallationDate: Installed on 2013-04-18 (241 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1)
MarkForUpload: True
SourcePackage: ghc
UpgradeStatus: Upgraded to saucy on 2013-10-29 (47 days ago)