[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Copied to hardy-updates. ** Changed in: haskell-hgl (Ubuntu Hardy) Status: Fix Committed => Fix Released -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 202974] Re: libghc6-hgl-dev won't install on hardy
On 06/08/08 16:19 Luca Falavigna wrote: > Robert, could you please try with "sudo apt-get --purge remove libghc6 > -hgl-dev" instead and re-install it? > I still get errors: Selecting previously deselected package libghc6-hgl-dev. (Reading database ... 210062 files and directories currently installed.) Unpacking libghc6-hgl-dev (from .../libghc6-hgl-dev_3.2.0.0-1_amd64.deb) ... Setting up 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: error processing libghc6-hgl-dev (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: libghc6-hgl-dev E: Sub-process /usr/bin/dpkg returned an error code (1) -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Robert, could you please try with "sudo apt-get --purge remove libghc6 -hgl-dev" instead and re-install it? -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 202974] Re: libghc6-hgl-dev won't install on hardy
On 06/08/08 00:04 Luca Falavigna wrote: > Erich, your issue shows up only when upgrading from 3.2.0.0-1 to > 3.2.0.0-1ubuntu0.1, installing version in hardy-proposed ex-novo is > fine. Here's a workaround to help you upgrading to 3.2.0.0-1ubuntu0.1: > > 1) Open /var/lib/dpkg/info/libghc6-hgl-dev.prerm with your favourite editor > (with root privileges) > 2) Comment (or delete) this line: "/usr/lib/libghc6-hgl-dev/unregister.sh" > 3) Save the file and exit from your editor > 4) (Re)install libghc6-hgl-dev 3.2.0.0-1ubuntu0.1 > > Do you still notice the problem? > I still get the problem. -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Erich, thanks for your feedback! I'm able to install packages too, eventually using the above workaround if packages from hardy-release were already installed. Marking as verification-done. ** Tags added: verification-done ** Tags removed: verification-failed -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
I could install the package using the workaround. Thank you. Regards Erich -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Erich, your issue shows up only when upgrading from 3.2.0.0-1 to 3.2.0.0-1ubuntu0.1, installing version in hardy-proposed ex-novo is fine. Here's a workaround to help you upgrading to 3.2.0.0-1ubuntu0.1: 1) Open /var/lib/dpkg/info/libghc6-hgl-dev.prerm with your favourite editor (with root privileges) 2) Comment (or delete) this line: "/usr/lib/libghc6-hgl-dev/unregister.sh" 3) Save the file and exit from your editor 4) (Re)install libghc6-hgl-dev 3.2.0.0-1ubuntu0.1 Do you still notice the problem? -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Package installs fine in Intrepid, I'll have a look at Hardy version. ** Changed in: haskell-hgl (Ubuntu) Status: Incomplete => Fix Released -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
The update has failed repeatedly with error message: E: /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1ubuntu0.1_i386.deb: subprocess new pre-removal script returned error exit status 1 Please advice which information I shall collect and upload to help resolving the issue. Regards Erich ** Tags added: verification-failed ** Tags removed: verification-needed -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
reopened as result of a retest since the issue has not gone away ** Changed in: haskell-hgl (Ubuntu) Status: Fix Released => Incomplete -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: haskell-hgl (Ubuntu Hardy) Status: Confirmed => Fix Committed ** Tags added: verification-needed -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Version 3.2.0.0-1ubuntu0.1 uploaded to hardy-proposed. ** Changed in: haskell-hgl (Ubuntu Hardy) Importance: Undecided => Medium ** Changed in: haskell-hgl (Ubuntu) Importance: Undecided => Medium ** Description changed: 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 -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Already fixed in Intrepid. ** Changed in: haskell-hgl (Ubuntu) Status: Confirmed => Fix Released -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Ack from motu-sru for Hardy. ** Changed in: haskell-hgl (Ubuntu Hardy) Status: New => Confirmed -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
I get the same problem. ** Changed in: haskell-hgl (Ubuntu) Status: New => Confirmed -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
same problem here, tried Tomasz trick and get this: (was possible to compile this before) $:~/workspace/haskell$ ghc 0005.hs compilation IS NOT required 0005.o: In function `sTE_info': (.text+0x2c0): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziDrawziPicture_polygon_closure' 0005.o: In function `sTG_info': (.text+0x31b): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_withColor_closure' 0005.o: In function `sTG_info': (.text+0x328): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_Blue_closure' 0005.o: In function `sTG_info': (.text+0x371): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_drawInWindow_closure' 0005.o: In function `sXN_info': (.text+0x811): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziWindow_closeWindow_closure' 0005.o: In function `sVf_info': (.text+0x8b1): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziSOE_getKey_closure' 0005.o: In function `sVH_info': (.text+0xbb1): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_openWindow_closure' 0005.o: In function `sWq_info': (.text+0xcce): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziRun_runGraphics_closure' 0005.o: In function `sWq_info': (.text+0xd69): undefined reference to `__stginit_HGLzm3zi2zi0zi0_GraphicsziSOE_' 0005.o: In function `rSs_closure': (.data+0x40): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziDrawziPicture_polygon_closure' 0005.o: In function `rSs_closure': (.data+0x44): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_drawInWindow_closure' 0005.o: In function `rSs_closure': (.data+0x48): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_withColor_closure' 0005.o: In function `rSs_closure': (.data+0x78): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziSOE_getKey_closure' 0005.o: In function `rSs_closure': (.data+0x7c): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziWindow_closeWindow_closure' 0005.o: In function `sWq_srt': (.data+0x98): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziUtils_openWindow_closure' 0005.o: In function `sWq_closure': (.data+0xbc): undefined reference to `HGLzm3zi2zi0zi0_GraphicsziHGLziRun_runGraphics_closure' collect2: ld returned 1 exit status -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
package installs but it is of no use! I get following error bash$: runhaskell sierpinski.hs /usr/lib/HGL-3.2.0.0/ghc-6.8.2/Graphics/HGL/X11/Types.hi Declaration for Key Constructor Graphics.HGL.X11.Types.MkKey: Failed to load interface for `Graphics.X11.Types': no package matching X11-1.3.0 was found Cannot continue after interface file error -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Same problem, Tomasz trick worked for me. -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
I had an automated 'crash report' that sent me here. I don't have details other than the auto install failed. -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
Well, package does install now, but it is not working properly. I think this is an X11 version mismatch issue. Loading package array-0.1.0.0 ... linking ... done. Loading package X11-1.4.1 ... linking ... done. Loading package HGL-3.2.0.0 ... linking ... : /usr/lib/HGL-3.2.0.0/ghc-6.8.2/HSHown symbol `__stginit_X11zm1zi3zi0_GraphicsziX11ziXlib_' ghc-6.8.2: unable to load package `HGL-3.2.0.0' -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 202974] Re: libghc6-hgl-dev won't install on hardy
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. -- libghc6-hgl-dev won't install on hardy https://bugs.launchpad.net/bugs/202974 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs