Forgive my delay.... On Fri, Jun 23, 2006 at 08:29:17PM +0200, Arjan Oosting wrote: > This does not seem to be a bug in libghc6-c2hs-dev. When the postinst > script of libghc6-c2hs-dev is called, all the Depends should already be > configured and ghc-pkg should be available.
I looked more closely at the logs I have. (I don't have the screen output, but thankfully there is now dpkg.log.) Actually, even my initial bug report had a clue I missed. It is not the postinst of libghc6-c2hs-dev that failed, it is the prerm. Here are the relevant excerpts of dpkg.log: 2006-05-05 14:51:42 upgrade ghc6 6.4.1-2 6.4.1-2.1 2006-05-05 14:51:42 status half-configured ghc6 6.4.1-2 2006-05-05 14:51:44 status unpacked ghc6 6.4.1-2 2006-05-05 14:51:44 status half-installed ghc6 6.4.1-2 2006-05-05 14:51:46 status half-installed ghc6 6.4.1-2 2006-05-05 14:51:48 status unpacked ghc6 6.4.1-2.1 2006-05-05 14:51:48 status unpacked ghc6 6.4.1-2.1 ... 2006-05-05 14:52:17 upgrade libghc6-c2hs-dev 0.13.6-4 0.13.6-4.1 2006-05-05 14:52:17 status half-configured libghc6-c2hs-dev 0.13.6-4 ... 2006-05-05 14:54:48 status unpacked ghc6 6.4.1-2.1 2006-05-05 14:54:48 status half-configured ghc6 6.4.1-2.1 2006-05-05 14:54:49 status installed ghc6 6.4.1-2.1 So the sequence was - ghc6.prerm, removing the ghc-pkg alternative. - unpack the new ghc6 - libghc6-c2hs-dev.prerm, failing to ghc-pkg unregister - ghc6.postinst, reinstalling the ghc-pkg alternative There were a few related packages involved, c2hs, ghc6-prof, ghc6-libsrc, but I don't think they matter. > You probably encountered some circular dependency during your upgrade > which was broken somewhere by apt and caused this. Maybe you have more > information about the upgrade, so we can reassign the bug to the right > package? Otherwise I will close the bug. I will append the aptitude log for this run so you can inspect the full graph. I don't know off hand how to tell if there was a circular dependency, but I don't think there was one involving ghc and c2hs. Andrew Aptitude 0.4.1: log report Fri, May 5 2006 14:49:36 -0700 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 230 packages, and remove 0 packages. 858kB of disk space will be used =============================================================================== [INSTALL, DEPENDENCIES] gcj-4.1-base [INSTALL, DEPENDENCIES] libdevmapper1.02 [INSTALL, DEPENDENCIES] liblzo-dev [INSTALL, DEPENDENCIES] libvolume-id0 [INSTALL, DEPENDENCIES] postgresql-client-common [INSTALL, DEPENDENCIES] python-minimal [INSTALL] gnutls-bin [INSTALL] libatk1.0-data [INSTALL] libpaper-utils [INSTALL] libsasl2-modules [INSTALL] python2.3-iconvcodec [INSTALL] xorg [UPGRADE] alsa-base 1.0.10-3 -> 1.0.11-1 [UPGRADE] alsa-utils 1.0.10-1 -> 1.0.11-2 [UPGRADE] autoconf 2.59a-8 -> 2.59a-9 [UPGRADE] base-files 3.1.11 -> 3.1.12 [UPGRADE] bash 3.1-3 -> 3.1-4 [UPGRADE] bash-doc 3.1-3 -> 3.1-4 [UPGRADE] bin86 0.16.14-1.2 -> 0.16.14-1.3 [UPGRADE] c2hs 0.13.6-4 -> 0.13.6-4.1 [UPGRADE] console-common 0.7.55.1 -> 0.7.58 [UPGRADE] console-data 20060311 -> 20060421 [UPGRADE] console-tools 1:0.2.3dbs-60 -> 1:0.2.3dbs-62 [UPGRADE] cpp-3.3 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] cron 3.0pl1-93 -> 3.0pl1-94 [UPGRADE] darcs 1.0.5-3 -> 1.0.6-1 [UPGRADE] dbus 0.61-4 -> 0.61-5 [UPGRADE] dctrl-tools 2.7 -> 2.9.0 [UPGRADE] debconf-utils 1.4.71 -> 1.5.0 [UPGRADE] debhelper 5.0.24 -> 5.0.34 [UPGRADE] dhcp3-client 3.0.3-7 -> 3.0.3-8 [UPGRADE] dhcp3-common 3.0.3-7 -> 3.0.3-8 [UPGRADE] dia 0.94.0-17.1 -> 0.95.0-2 [UPGRADE] dia-common 0.94.0-17.1 -> 0.95.0-2 [UPGRADE] dia-libs 0.94.0-17.1 -> 0.95.0-2 [UPGRADE] dmidecode 2.8-1 -> 2.8-2 [UPGRADE] doc-debian 3.1.2 -> 3.1.3 [UPGRADE] docbook-dsssl 1.79-3 -> 1.79-4 [UPGRADE] dpatch 2.0.18 -> 2.0.19 [UPGRADE] dpkg 1.13.16 -> 1.13.18 [UPGRADE] dpkg-dev 1.13.16 -> 1.13.18 [UPGRADE] e2fslibs 1.38+1.39-WIP-2005.12.31-1 -> 1.38+1.39-WIP-2006.04.09-1 [UPGRADE] e2fsprogs 1.38+1.39-WIP-2005.12.31-1 -> 1.38+1.39-WIP-2006.04.09-1 [UPGRADE] exim4-base 4.60-4 -> 4.62-1 [UPGRADE] exim4-config 4.60-4 -> 4.62-1 [UPGRADE] exim4-daemon-light 4.60-4 -> 4.62-1 [UPGRADE] exuberant-ctags 1:5.5.4-1 -> 1:5.5.4-2 [UPGRADE] fakeroot 1.5.7 -> 1.5.8 [UPGRADE] fastjar 1:4.0.3-1 -> 1:4.1.0-2 [UPGRADE] fetchmail 6.3.2-3 -> 6.3.4-1 [UPGRADE] file 4.15-2 -> 4.17-1 [UPGRADE] findutils 4.2.27-1 -> 4.2.27-2 [UPGRADE] firefox 1.5.dfsg+1.5.0.1-4 -> 1.5.dfsg+1.5.0.2-3 [UPGRADE] flex 2.5.33-2 -> 2.5.33-3 [UPGRADE] foomatic-db 20060113-1 -> 20060408-1 [UPGRADE] foomatic-db-engine 3.0.2-20060113-1 -> 3.0.2-20060318-1 [UPGRADE] foomatic-filters 3.0.2-20060113-1 -> 3.0.2-20060318-2 [UPGRADE] g++ 4:4.0.2-2 -> 4:4.0.3-3 [UPGRADE] g++-3.3 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] gaim 1:1.5.0+1.5.1cvs20051015-2 -> 1:1.5.0+1.5.1cvs20051015-3 [UPGRADE] gaim-data 1:1.5.0+1.5.1cvs20051015-2 -> 1:1.5.0+1.5.1cvs20051015-3 [UPGRADE] gcc 4:4.0.2-2 -> 4:4.0.3-3 [UPGRADE] gcc-3.3 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] gcc-3.3-base 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] gcj 4:4.0.2-2 -> 4:4.0.3-3 [UPGRADE] gcj-4.0 4.0.2-9 -> 4.0.3-2 [UPGRADE] gcj-4.0-base 4.0.2-9 -> 4.0.3-2 [UPGRADE] gconf-editor 2.12.1-2 -> 2.14.0-2 [UPGRADE] gdk-imlib11 1.9.14-29 -> 1.9.14-30 [UPGRADE] gdm 2.13.0.10-2 -> 2.14.4-1 [UPGRADE] gettext 0.14.5-2 -> 0.14.5-3 [UPGRADE] gettext-base 0.14.5-2 -> 0.14.5-3 [UPGRADE] ghc6 6.4.1-2 -> 6.4.1-2.1 [UPGRADE] ghc6-libsrc 6.4.1-2 -> 6.4.1-2.1 [UPGRADE] ghc6-prof 6.4.1-2 -> 6.4.1-2.1 [UPGRADE] gij 4:4.0.2-2 -> 4:4.0.3-3 [UPGRADE] gij-4.0 4.0.2-9 -> 4.0.3-2 [UPGRADE] gimp 2.2.10-2 -> 2.2.11-1 [UPGRADE] gimp-data 2.2.10-2 -> 2.2.11-1 [UPGRADE] gimp-svg 2.2.10-2 -> 2.2.11-1 [UPGRADE] gksu 1.3.6-1 -> 1.3.7-1 [UPGRADE] glibc-doc 2.3.6-3 -> 2.3.6-7 [UPGRADE] gnupg 1.4.2.2-1 -> 1.4.3-1 [UPGRADE] grep-dctrl 2.7 -> 2.9.0 [UPGRADE] groff-base 1.18.1.1-11 -> 1.18.1.1-12 [UPGRADE] grub 0.97-5 -> 0.97-7.1 [UPGRADE] gs-gpl 8.50-1 -> 8.50-1.1 [UPGRADE] gzip 1.3.5-12 -> 1.3.5-13 [UPGRADE] hal 0.5.7-1 -> 0.5.7-2 [UPGRADE] imagemagick 6:6.2.4.5-0.7 -> 7:6.2.4.5-0.8 [UPGRADE] imlib-base 1.9.14-29 -> 1.9.14-30 [UPGRADE] info 4.8-6 -> 4.8.dfsg.1-1 [UPGRADE] initrd-tools 0.1.84 -> 0.1.84.1 [UPGRADE] initscripts 2.86.ds1-12 -> 2.86.ds1-14 [UPGRADE] intltool-debian 0.34.1+20050828 -> 0.34.2+20060415 [UPGRADE] klogd 1.4.1-17.1 -> 1.4.1-17.2 [UPGRADE] lesstif2 1:0.94.4-1.1 -> 1:0.94.4-1.1+b2 [UPGRADE] lftp 3.4.2-1 -> 3.4.6-1 [UPGRADE] libacl1 2.2.35-1 -> 2.2.36-1 [UPGRADE] libao2 0.8.6-3 -> 0.8.6-4 [UPGRADE] libattr1 2.4.31-1 -> 2.4.32-1 [UPGRADE] libblkid1 1.38+1.39-WIP-2005.12.31-1 -> 1.38+1.39-WIP-2006.04.09-1 [UPGRADE] libconsole 1:0.2.3dbs-60 -> 1:0.2.3dbs-62 [UPGRADE] libcurl3-gnutls 7.15.2-3 -> 7.15.3-1 [UPGRADE] libdb4.3 4.3.29-4.1 -> 4.3.29-5 [UPGRADE] libdmx1 6.9.0.dfsg.1-4 -> 1:1.0.1-3 [UPGRADE] libfribidi0 0.10.7-2 -> 0.10.7-3 [UPGRADE] libfuse2 2.5.2-2 -> 2.5.3-2 [UPGRADE] libgail-common 1.8.10-1 -> 1.8.11-2 [UPGRADE] libgail17 1.8.10-1 -> 1.8.11-2 [UPGRADE] libgcj-common 1:4.0.2-9 -> 1:4.1.0-2j1 [UPGRADE] libgcj-dev 4:4.0.2-2 -> 4:4.0.3-3 [UPGRADE] libgcj6 4.0.2-9 -> 4.0.3-2 [UPGRADE] libgcj6-awt 4.0.2-9 -> 4.0.3-2 [UPGRADE] libgcj6-dev 4.0.2-9 -> 4.0.3-2 [UPGRADE] libgcj6-jar 4.0.2-9 -> 4.0.3-2 [UPGRADE] libghc6-c2hs-dev 0.13.6-4 -> 0.13.6-4.1 [UPGRADE] libgimp2.0 2.2.10-2 -> 2.2.11-1 [UPGRADE] libgksu1.2-0 1.3.7-1 -> 1.3.8-1 [UPGRADE] libgmp3-dev 4.1.4-11 -> 4.2.dfsg-1 [UPGRADE] libgmp3c2 4.1.4-11 -> 4.2.dfsg-1 [UPGRADE] libgmpxx3 4.1.4-11 -> 4.2.dfsg-1 [UPGRADE] libgnutls-dev 1.2.9-2 -> 1.3.5-1+b1 [UPGRADE] libgnutls11 1.0.16-14 -> 1.0.16-14+b1 [UPGRADE] libhtml-parser-perl 3.50-1 -> 3.52-1 [UPGRADE] libiodbc2 3.52.4-2 -> 3.52.4-3 [UPGRADE] liblcms1 1.13-1 -> 1.15-1 [UPGRADE] liblog-log4perl-perl 1.03-1 -> 1.04-1 [UPGRADE] libmagic1 4.15-2 -> 4.17-1 [UPGRADE] libmagick9 6:6.2.4.5-0.7 -> 7:6.2.4.5-0.8 [UPGRADE] libmime-perl 5.419-1 -> 5.420-0.1 [UPGRADE] libmng1 1.0.8-1 -> 1.0.9-1 [UPGRADE] libncursesw5 5.5-1 -> 5.5-2 [UPGRADE] libnfsidmap1 0.8-1 -> 0.13-1 [UPGRADE] libpcre3 6.4-1.1 -> 6.4-2 [UPGRADE] libpq3 1:7.4.12-1 -> 1:7.4.12-3 [UPGRADE] librpm4 4.0.4-31.1 -> 4.4.1-8 [UPGRADE] libsasl2 2.1.19-1.9 -> 2.1.19.dfsg1-0.2 [UPGRADE] libscrollkeeper0 0.3.14-10 -> 0.3.14-11 [UPGRADE] libsmbclient 3.0.21c-1 -> 3.0.22-1 [UPGRADE] libsqlite3-0 3.2.8-1 -> 3.3.5-0.2 [UPGRADE] libss2 1.38+1.39-WIP-2005.12.31-1 -> 1.38+1.39-WIP-2006.04.09-1 [UPGRADE] libssl0.9.7 0.9.7g-5 -> 0.9.7i-1 [UPGRADE] libstdc++5 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] libstdc++5-3.3-dev 1:3.3.6-12 -> 1:3.3.6-13 [UPGRADE] libsvn0 1.3.0-3 -> 1.3.1-2 [UPGRADE] libtasn1-2 0.2.17-1 -> 1:0.2.17-2 [UPGRADE] libtasn1-2-dev 0.2.17-1 -> 1:0.2.17-2 [UPGRADE] libterm-readline-gnu-perl 1.15-3 -> 1.16-1 [UPGRADE] libusb-0.1-4 2:0.1.11-5 -> 2:0.1.12-2 [UPGRADE] libuuid1 1.38+1.39-WIP-2005.12.31-1 -> 1.38+1.39-WIP-2006.04.09-1 [UPGRADE] libwine 0.9.9-1 -> 0.9.11-1 [UPGRADE] libwpd8c2a 0.8.4-2 -> 0.8.4-2+b1 [UPGRADE] libxml-simple-perl 2.14-3 -> 2.14-4 [UPGRADE] libxslt1.1 1.1.15-4 -> 1.1.15-5 [UPGRADE] libxxf86misc1 6.9.0.dfsg.1-4 -> 1:1.0.0-4 [UPGRADE] linux-sound-base 1.0.10-3 -> 1.0.11-1 [UPGRADE] logrotate 3.7.1-2 -> 3.7.1-3 [UPGRADE] make 3.80+3.81.rc1-1 -> 3.81-1 [UPGRADE] makedev 2.3.1-80 -> 2.3.1-81 [UPGRADE] manpages 2.22-1 -> 2.28-1 [UPGRADE] manpages-dev 2.22-1 -> 2.28-1 [UPGRADE] mutt 1.5.11+cvs20060126-2 -> 1.5.11+cvs20060403-1 [UPGRADE] ncurses-base 5.5-1 -> 5.5-2 [UPGRADE] netbase 4.24 -> 4.25 [UPGRADE] netcat 1.10-31 -> 1.10-32 [UPGRADE] nfs-common 1:1.0.7-3 -> 1:1.0.7-10 [UPGRADE] octave 1:2.1.72-11 -> 1:2.1.73-8 [UPGRADE] offlineimap 4.0.11 -> 4.0.12 [UPGRADE] openoffice.org-calc 2.0.1-5 -> 2.0.2-3 [UPGRADE] openoffice.org-draw 2.0.1-5 -> 2.0.2-3 [UPGRADE] openoffice.org-impress 2.0.1-5 -> 2.0.2-3 [UPGRADE] openoffice.org-writer 2.0.1-5 -> 2.0.2-3 [UPGRADE] openssh-client 1:4.2p1-7 -> 1:4.2p1-8 [UPGRADE] openssh-server 1:4.2p1-7 -> 1:4.2p1-8 [UPGRADE] openssl 0.9.8a-7 -> 0.9.8a-8 [UPGRADE] pciutils 1:2.1.11-15.3 -> 1:2.1.11-16 [UPGRADE] perl-doc 5.8.8-3 -> 5.8.8-4 [UPGRADE] po-debconf 0.9.2 -> 1.0 [UPGRADE] portmap 5-17 -> 5-19 [UPGRADE] poster 20020830-3 -> 1:19990428-7 [UPGRADE] postgresql-7.4 1:7.4.12-1 -> 1:7.4.12-3 [UPGRADE] postgresql-client-7.4 1:7.4.12-1 -> 1:7.4.12-3 [UPGRADE] postgresql-common 43 -> 50 [UPGRADE] pppoe 3.5-4 -> 3.8-1 [UPGRADE] procmail 3.22-15 -> 3.22-16 [UPGRADE] procps 1:3.2.6-2.1 -> 1:3.2.6-2.2 [UPGRADE] python-libxml2 2.6.23.dfsg.2-3 -> 2.6.24.dfsg-1 [UPGRADE] python-uno 2.0.1-5 -> 2.0.2-3 [UPGRADE] python2.3-libxml2 2.6.23.dfsg.2-3 -> 2.6.24.dfsg-1 [UPGRADE] python2.3-numeric 24.2-1 -> 24.2-2 [UPGRADE] reportbug 3.18 -> 3.20 [UPGRADE] rlfe 5.1-6 -> 5.1-7 [UPGRADE] rpm 4.0.4-31.1 -> 4.4.1-8 [UPGRADE] rsync 2.6.6-1 -> 2.6.8-2 [UPGRADE] samba 3.0.21c-1 -> 3.0.22-1 [UPGRADE] samba-common 3.0.21c-1 -> 3.0.22-1 [UPGRADE] scrollkeeper 0.3.14-10 -> 0.3.14-11 [UPGRADE] smbclient 3.0.21c-1 -> 3.0.22-1 [UPGRADE] smbfs 3.0.21c-1 -> 3.0.22-1 [UPGRADE] ssh-askpass 1:1.2.4.1-3.1 -> 1:1.2.4.1-4 [UPGRADE] ssl-cert 1.0-11 -> 1.0.12 [UPGRADE] strace 4.5.12-1 -> 4.5.14-1 [UPGRADE] subversion 1.3.0-3 -> 1.3.1-2 [UPGRADE] sudo 1.6.8p12-1 -> 1.6.8p12-4 [UPGRADE] sysklogd 1.4.1-17.1 -> 1.4.1-17.2 [UPGRADE] sysv-rc 2.86.ds1-12 -> 2.86.ds1-14 [UPGRADE] sysvinit 2.86.ds1-12 -> 2.86.ds1-14 [UPGRADE] tar 1.15.1-4 -> 1.15.1dfsg-3 [UPGRADE] tasksel 2.41 -> 2.43 [UPGRADE] tetex-extra 3.0-15 -> 3.0-17 [UPGRADE] tnef 1.3.4-1 -> 1.4-1 [UPGRADE] udev 0.087-1 -> 0.091-1 [UPGRADE] unzip 5.52-6 -> 5.52-8 [UPGRADE] usbutils 0.71+cvs20051029-4 -> 0.72-1 [UPGRADE] vorbis-tools 1.1.1-3 -> 1.1.1-5 [UPGRADE] whois 4.7.12 -> 4.7.13 [UPGRADE] wine 0.9.9-1 -> 0.9.11-1 [UPGRADE] wine-utils 0.9.9-1 -> 0.9.11-1 [UPGRADE] xaw3dg 1.5+E-10 -> 1.5+E-11 [UPGRADE] xfonts-100dpi 6.9.0.dfsg.1-4 -> 1:1.0.0-2 [UPGRADE] xfonts-75dpi 6.9.0.dfsg.1-4 -> 1:1.0.0-2 [UPGRADE] xfonts-base 6.9.0.dfsg.1-4 -> 1:1.0.0-3 [UPGRADE] xfonts-scalable 6.9.0.dfsg.1-4 -> 1:1.0.0-4 [UPGRADE] xmms 1.2.10+cvs20050809-5 -> 1.2.10+cvs20060429-1 [UPGRADE] xresprobe 0.4.18-1 -> 0.4.23debian1 [UPGRADE] xscreensaver 4.23-4 -> 4.24-3 [UPGRADE] xvnc4viewer 4.1.1+X4.3.0-4 -> 4.1.1+X4.3.0-9 [UPGRADE] zsh 4.3.2-1 -> 4.3.2-8 [UPGRADE] zsh-doc 4.3.2-1 -> 4.3.2-8 =============================================================================== Log complete. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]