libghc6-hgl-dev won't install on hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haskell-hgl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libghc6-hgl-dev
I can't install libghc6-hgl-dev on hardy. apt-get returns:
Konfigurowanie libghc6-hgl-dev (3.2.0.0-1) ...
Reading package info from stdin ... done.
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)
dpkg: błąd przetwarzania libghc6-hgl-dev (--configure):
podproces post-installation script zwrócił kod błędu 1
Wystąpiły błędy podczas przetwarzania:
libghc6-hgl-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sorry for Polish translation of apt-get, hope you understand everything ;)
libghc6-x11-dev dependency has been installed correctly.
TEST CASE
PROCEDURE:
Install libghc6-hgl-dev package
RESULT ON PASS:
Package should install without errors
RESULT ON FAIL:
Package fails with the message shown above.
END TEST CASE
Do the following:
1. Open register.sh file in the /usr/lib/ libghc6- hgl-dev directory, for example in terminal
"sudo nano /usr/lib/ libghc6- hgl-dev/ register. sh"
2. Look for the line
"depends: base-3.0.1.0 array-0.1.0.0 X11-1.3.0"
and simply change the X11-1.3.0 to your version of X11 bindings for haskell (you can get this by writing in terminal "ghc-pkg list X11")
3. Save the file and execute it in terminal: "sudo bash regsiter.sh"
This should fix the problem.
Sorry for not using my Polish :) Perhaps some english speaking users encountered same problem.