libghc6-x11-dev dying during package install

Bug #205377 reported by jevy
2
Affects Status Importance Assigned to Milestone
haskell-x11 (Debian)
Fix Released
Unknown
haskell-x11 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I upgraded from Feisty to Hardy beta yesterday. Through synaptic tried to install libghc6-x11-dev. I used to have an installed copy I think but I don't think it still is after the upgrade.

It failed with the following in the summary:
E: /var/cache/apt/archives/libghc6-x11-dev_1.4.1-1_amd64.deb: subprocess new pre-removal script returned error exit status 1

In the details:

(Reading database ... 137406 files and directories currently installed.)
Preparing to replace libghc6-x11-dev 1.4.1-0.nomeata1 (using .../libghc6-x11-dev_1.4.1-1_amd64.deb) ...
ghc-pkg: cannot find package X11-1.4.1
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
ghc-pkg: cannot find package X11-1.4.1
dpkg: error processing /var/cache/apt/archives/libghc6-x11-dev_1.4.1-1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Reading package info from stdin ... done.
ghc-pkg: dependency base-2.1.1 doesn't exist (use --force to override)
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libghc6-x11-dev_1.4.1-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libghc6-x11-dev:
 libghc6-x11-dev depends on ghc6 (<< 6.6.1+); however:
  Version of ghc6 on system is 6.8.2-2ubuntu1.
dpkg: error processing libghc6-x11-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libghc6-xmonad-dev:
 libghc6-xmonad-dev depends on ghc6 (<< 6.6.1+); however:
  Version of ghc6 on system is 6.8.2-2ubuntu1.
 libghc6-xmonad-dev depends on libghc6-x11-dev; however:
  Package libghc6-x11-dev is not configured yet.
dpkg: error processing libghc6-xmonad-dev (--configure):
 dependency problems - leaving unconfigured

jevin@jevin:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04

ProblemType: Bug
Architecture: amd64
Date: Sat Mar 22 20:56:14 2008
Dependencies:

DistroRelease: Ubuntu 8.04
NonfreeKernelModules: nvidia
Package: libghc6-x11-dev None
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
SourcePackage: haskell-x11
Uname: Linux 2.6.24-12-generic x86_64

Tags: apport-bug
Revision history for this message
jevy (jevin-techie) wrote :

Fixed problem package.

Revision history for this message
jevy (jevin-techie) wrote :

I should correct: "I tried changing the name of the problem package, but it keeps going back to haskell-x11".

I see the same error on the Debian site:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465230

The fix is upgrading the package as seen in the last comment.

Changed in haskell-x11:
status: Unknown → Fix Released
Daniel T Chen (crimsun)
Changed in haskell-x11:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.