libghc6-hgl-dev fails to upgrade

Bug #221696 reported by David Christiansen
10
Affects Status Importance Assigned to Milestone
haskell-hgl (Ubuntu)
Fix Released
High
Unassigned
Hardy
Confirmed
High
Unassigned

Bug Description

Binary package hint: update-manager

I was updating to Hardy and at the end of the long installation process, this message came up.

ProblemType: Package
Architecture: i386
Date: Fri Apr 25 07:27:44 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.87.24
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.24 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.22-14-generic i686

Revision history for this message
David Christiansen (drc01) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this report.

Thanks,
 MIchael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
David Christiansen (drc01) wrote :

Here's the requested files:

Revision history for this message
David Christiansen (drc01) wrote :
Revision history for this message
David Christiansen (drc01) wrote :
Revision history for this message
David Christiansen (drc01) wrote :
Revision history for this message
David Christiansen (drc01) wrote :

The file apt-term.log was empty.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for the logs.

Here is what caused the error:

Sætter libghc6-hgl-dev (3.2.0.0-1) op...
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)
dpkg: fejl under behandling af libghc6-hgl-dev (--configure):
 underproces post-installation script returnerede afslutningsstatus 1

2008-04-25 07:02:49,646 ERROR got an error from dpkg for pkg: 'libghc6-hgl-dev': 'underproces post-installation script returnerede afslutningsstatus 1

I reassign

Changed in update-manager:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: Incomplete → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

I can reproduce this failure just fine in a clean test environment:

[98.6283] libghc6-hgl-dev: Configuring libghc6-hgl-dev
+ set -e
+ /usr/lib/libghc6-hgl-dev/register.sh
Reading package info from stdin ... done.
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)
['/bin/sh', '-ex', '/var/lib/dpkg/info//libghc6-hgl-dev.postinst', 'configure', '3.1.1-1']
Reading package info from stdin ... done.^M
Saving old package config file... done.^M
Writing new package config file... done.^M
^M
Setting up libghc6-hgl-dev (3.2.0.0-1) ...^M
Reading package info from stdin ... done.^M
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)^M
dpkg: error processing libghc6-hgl-dev (--configure):^M
 subprocess post-installation script returned error exit status 1^M

Revision history for this message
Steve Langasek (vorlon) wrote :

libghc6-hgl-dev does have a dependency on libghc6-x11-dev, but the dependency is not versioned, so it appears the install order on upgrade is undefined, causing this failure.

Changed in haskell-hgl:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

the new synced version in intrepid has a versioned dependency on libghc6-x11-dev, so this bug is no longer an issue there.

Changed in haskell-hgl:
milestone: ubuntu-8.04.1 → none
status: Confirmed → Fix Released
Revision history for this message
Žygimantas Medelis (zzygis-deactivatedaccount) wrote :

When trying to install ghc I'm getting the same error

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)

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.