install failure

Bug #99509 reported by Richard Hainsworth
2
Affects Status Importance Assigned to Milestone
haskell-mtl (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: update-manager

This is a report as requested by the upgrade-manager.

Just a straight install from a terminal.
$ sudo -s
<password>
$ update-manager -d

apt.log - last lines
Installing xcursor-themes as dep of ubuntu-desktop
Traceback (most recent call last):
  File "/usr/share/apport/package_hook", line 15, in <module>
    import apport, apport.fileutils
ImportError: No module named apport
Could not import module, is a package upgrade in progress? Error: No module named gobject

main.log - last lines
2007-03-31 12:10:45,537 DEBUG Free space on /: 5256757248
2007-03-31 12:10:45,537 DEBUG Dir /usr mounted on /
2007-03-31 12:10:45,538 DEBUG Dir /var mounted on /
2007-03-31 12:10:45,538 DEBUG Dir /boot mounted on /
2007-03-31 12:10:45,539 DEBUG Dir /var/cache/apt/archives/ mounted on /
2007-03-31 12:10:45,539 DEBUG Free space on /home: 42990166016
2007-03-31 12:10:45,539 DEBUG fs_free contains: '{'/var': <DistUpgradeControler.FreeSpace object at 0xb2ebc
0cc>, '/home': <DistUpgradeControler.FreeSpace object at 0xb2ebc1ec>, '/boot': <DistUpgradeControler.FreeSp
ace object at 0xb2ebc0cc>, '/usr': <DistUpgradeControler.FreeSpace object at 0xb2ebc0cc>, '/': <DistUpgrade
Controler.FreeSpace object at 0xb2ebc0cc>, '/var/cache/apt/archives/': <DistUpgradeControler.FreeSpace obje
ct at 0xb2ebc0cc>}'
2007-03-31 12:10:47,956 DEBUG dir '/var/cache/apt/archives/' needs '1159472710.0' of '<DistUpgradeControler
.FreeSpace object at 0xb2ebc0cc>' (5256757248.000000)
2007-03-31 12:10:47,956 DEBUG dir '/usr' needs '478547968.0' of '<DistUpgradeControler.FreeSpace object at
0xb2ebc0cc>' (4097284538.000000)
2007-03-31 12:10:47,956 DEBUG dir '/usr' needs '52428800' of '<DistUpgradeControler.FreeSpace object at 0xb
2ebc0cc>' (3618736570.000000)
2007-03-31 12:10:47,957 DEBUG dir '/boot' needs '41943040' of '<DistUpgradeControler.FreeSpace object at 0x
b2ebc0cc>' (3566307770.000000)
2007-03-31 12:10:47,957 DEBUG dir '/' needs '10485760' of '<DistUpgradeControler.FreeSpace object at 0xb2eb
c0cc>' (3524364730.000000)
2007-03-31 18:56:42,172 DEBUG got a conffile-prompt from dpkg for file: '/etc/host.conf'
2007-03-31 19:12:15,337 ERROR got an error from dpkg for pkg: '/var/cache/apt/archives/libghc6-mtl-dev_1.0-
3_i386.deb': 'subprocess new pre-removal script returned error exit status 127
'
2007-03-31 19:32:20,610 WARNING no activity on terminal for 240 seconds (Preparing to configure libgeoip1)
2007-03-31 19:32:20,747 ERROR SystemError from cache.commit(): installArchives() failed

term.log - last lines
Setting up gnome-panel (2.18.0-0ubuntu3) ...
Setting up alacarte (0.11.3-0ubuntu2) ...
desktop ...
Setting up evolution-exchange (2.10.0-0ubuntu1) ...
Setting up evolution-plugins (2.10.0-0ubuntu2) ...
Setting up gnome-applets (2.18.0-0ubuntu1) ...

Revision history for this message
Richard Hainsworth (richard-rusrating) wrote :
Revision history for this message
Richard Hainsworth (richard-rusrating) wrote :
Revision history for this message
Richard Hainsworth (richard-rusrating) wrote :
Revision history for this message
haarman (haarman) wrote :

same error here.

Changed in update-manager:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The cause of the failure is
=====
Preparing to replace libghc6-mtl-dev 1.0-2 (using .../libghc6-mtl-dev_1.0-3_i386.deb) ...
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/usr/lib/libghc6-network-dev/unregister.sh: 3: /usr/bin/ghc-pkg: not found
dpkg: error processing /var/cache/apt/archives/libghc6-network-dev_2.0-3_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/usr/lib/libghc6-network-dev/register.sh: 31: /usr/bin/ghc-pkg: not found
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 127
=====

I'm closing this report because it's already fixed.

Changed in update-manager:
status: Confirmed → 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.