A was just bitten by another variation of this bug:

qct was and still is installed on my computer (amd64, testing). During an
'aptitude full-upgrade' qct was upgraded from 1.7-1 to 1.7-2. Since then, I 
get this error, too
(It was immediately obvious, because I use mercurial as base for etckeeper).

# LANG=C dpkg -l qct python-qt4 mercurial python  python-support
ii  mercurial        1.8.3-1   scalable distributed version control system
ii  python           2.6.7-3   interactive high-level object-oriented language 
ii  python-qt4       4.8.3-4   Python bindings for Qt4
ii  python-support   1.0.14    automated rebuilding support for Python modules
ii  qct              1.7-2     GUI commit tool

This is the complete output of the upgrade:

----------------------------------------------------------------------------
# aptitude  full-upgrade
Die folgenden Pakete werden aktualisiert:   
  cpp-4.4 gcc-4.4 gcc-4.4-base libarchive1 libasyncns0 libblas3gf libc-bin 
libc-dev-bin libc6 libc6-dev libglib-perl 
  liblist-moreutils-perl libossp-uuid-perl libossp-uuid16 libsgutils2-2 
libx264-116 libxapian22 libxss1 libxv1 lintian 
  locales manpages multiarch-support openjdk-6-jre openjdk-6-jre-headless 
openjdk-6-jre-lib p7zip-full python python-doc 
  python-minimal qct 
Die folgenden Pakete werden EMPFOHLEN, aber NICHT installiert:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm manpages-dev 
31 Pakete aktualisiert, 0 zusätzlich installiert, 0 werden entfernt und 0 
nicht aktualisiert.
Muss 57,6 MB an Archiven herunterladen. Nach dem Entpacken werden 422 kB 
zusätzlich belegt sein.
Wollen Sie fortsetzen? [Y/n/?] 
Hole:1 http://ftp.debian.org/debian/ wheezy/main libc6-dev amd64 2.13-16 
[2.634 kB]
Hole:2 http://ftp.debian.org/debian/ wheezy/main libc-dev-bin amd64 2.13-16 
[215 kB]                                            
Hole:3 http://ftp.debian.org/debian/ wheezy/main libc-bin amd64 2.13-16 [1.083 
kB]                                              
Hole:4 http://ftp.debian.org/debian/ wheezy/main libc6 amd64 2.13-16 [4.317 
kB]                                                 
Hole:5 http://ftp.debian.org/debian/ wheezy/main libasyncns0 amd64 0.8-4 [13,6 
kB]                                              
Hole:6 http://ftp.debian.org/debian/ wheezy/main libxss1 amd64 1:1.2.1-2 [16,9 
kB]                                              
Hole:7 http://ftp.debian.org/debian/ wheezy/main libxv1 amd64 2:1.0.6-2 [20,7 
kB]                                               
Hole:8 http://ftp.debian.org/debian/ wheezy/main multiarch-support amd64 
2.13-16 [140 kB]                                       
Hole:9 http://ftp.debian.org/debian/ wheezy/main libxapian22 amd64 1.2.7-1 
[1.201 kB]                                           
Hole:10 http://ftp.debian.org/debian/ wheezy/main manpages all 3.32-0.2 [750 
kB]                                                
Hole:11 http://ftp.debian.org/debian/ wheezy/main gcc-4.4 amd64 4.4.6-8 [2.699 
kB]                                              
Hole:12 http://ftp.debian.org/debian/ wheezy/main cpp-4.4 amd64 4.4.6-8 [3.871 
kB]                                              
Hole:13 http://ftp.debian.org/debian/ wheezy/main gcc-4.4-base amd64 4.4.6-8 
[126 kB]                                           
Hole:14 http://ftp.debian.org/debian/ wheezy/main locales all 2.13-16 [4.812 
kB]                                                
Hole:15 http://ftp.debian.org/debian/ wheezy/main python-doc all 2.6.7-3 [20,8 
kB]                                              
Hole:16 http://ftp.debian.org/debian/ wheezy/main python all 2.6.7-3 [177 kB]   
                                                
Hole:17 http://ftp.debian.org/debian/ wheezy/main python-minimal all 2.6.7-3 
[39,2 kB]                                          
Hole:18 http://ftp.debian.org/debian/ wheezy/main libarchive1 amd64 2.8.4-2 
[153 kB]                                            
Hole:19 http://ftp.debian.org/debian/ wheezy/main libblas3gf amd64 
1.2.20110419-2 [292 kB]                                      
Hole:20 http://ftp.debian.org/debian/ wheezy/main libglib-perl amd64 2:1.224-1 
[465 kB]                                         
Hole:21 http://ftp.debian.org/debian/ wheezy/main liblist-moreutils-perl amd64 
0.33-1 [64,4 kB]                                 
Hole:22 http://ftp.debian.org/debian/ wheezy/main libossp-uuid16 amd64 
1.6.2-1.1 [58,4 kB]                                      
Hole:23 http://ftp.debian.org/debian/ wheezy/main libossp-uuid-perl amd64 
1.6.2-1.1 [34,8 kB]                                   
Hole:24 http://ftp.debian.org/debian/ wheezy/main libsgutils2-2 amd64 1.32-1 
[82,4 kB]                                          
Hole:25 http://ftp.debian.org/debian/ wheezy/main libx264-116 amd64 
2:0.116.2042+git178455c-1 [413 kB]                          
Hole:26 http://ftp.debian.org/debian/ wheezy/main lintian all 2.5.2 [617 kB]    
                                                
Hole:27 http://ftp.debian.org/debian/ wheezy/main openjdk-6-jre-lib all 
6b23~pre7-1 [6.135 kB]                                  
Hole:28 http://ftp.debian.org/debian/ wheezy/main openjdk-6-jre-headless amd64 
6b23~pre7-1 [25,3 MB]                            
Hole:29 http://ftp.debian.org/debian/ wheezy/main openjdk-6-jre amd64 
6b23~pre7-1 [236 kB]                                      
Hole:30 http://ftp.debian.org/debian/ wheezy/main p7zip-full amd64 
9.20.1~dfsg.1-3 [1.582 kB]                                   
Hole:31 http://ftp.debian.org/debian/ wheezy/main qct all 1.7-2 [55,8 kB]       
                                                
57,6 MB wurden in 2 min 38 s heruntergeladen (364 kB/s)                         
                                                
Extrahiere Vorlagen aus Paketen: 100%
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 187385 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Ersetzen von libc6-dev 2.13-10 (durch .../libc6-
dev_2.13-16_amd64.deb) ...
Ersatz für libc6-dev wird entpackt ...
Vorbereitung zum Ersetzen von libc-dev-bin 2.13-10 (durch .../libc-dev-
bin_2.13-16_amd64.deb) ...
Ersatz für libc-dev-bin wird entpackt ...
Vorbereitung zum Ersetzen von libc-bin 2.13-10 (durch .../libc-
bin_2.13-16_amd64.deb) ...
Ersatz für libc-bin wird entpackt ...
Trigger für man-db werden verarbeitet ...
libc-bin (2.13-16) wird eingerichtet ...
(Lese Datenbank ... 187386 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Ersetzen von libc6 2.13-10 (durch 
.../libc6_2.13-16_amd64.deb) ...
Ersatz für libc6 wird entpackt ...
libc6 (2.13-16) wird eingerichtet ...
(Lese Datenbank ... 187386 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Ersetzen von libasyncns0 0.8-3 (durch 
.../libasyncns0_0.8-4_amd64.deb) ...
Ersatz für libasyncns0 wird entpackt ...
Vorbereitung zum Ersetzen von libxss1 1:1.2.1-1 (durch 
.../libxss1_1%3a1.2.1-2_amd64.deb) ...
Ersatz für libxss1 wird entpackt ...
Vorbereitung zum Ersetzen von libxv1 2:1.0.6-1 (durch 
.../libxv1_2%3a1.0.6-2_amd64.deb) ...
Ersatz für libxv1 wird entpackt ...
Vorbereitung zum Ersetzen von multiarch-support 2.13-10 (durch .../multiarch-
support_2.13-16_amd64.deb) ...
Ersatz für multiarch-support wird entpackt ...
multiarch-support (2.13-16) wird eingerichtet ...
(Lese Datenbank ... 187386 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Ersetzen von libxapian22 1.2.5-1 (durch 
.../libxapian22_1.2.7-1_amd64.deb) ...
Ersatz für libxapian22 wird entpackt ...
Vorbereitung zum Ersetzen von manpages 3.28-1 (durch 
.../manpages_3.32-0.2_all.deb) ...
Ersatz für manpages wird entpackt ...
Vorbereitung zum Ersetzen von gcc-4.4 4.4.6-7 (durch 
.../gcc-4.4_4.4.6-8_amd64.deb) ...
Ersatz für gcc-4.4 wird entpackt ...
Vorbereitung zum Ersetzen von cpp-4.4 4.4.6-7 (durch 
.../cpp-4.4_4.4.6-8_amd64.deb) ...
Ersatz für cpp-4.4 wird entpackt ...
Vorbereitung zum Ersetzen von gcc-4.4-base 4.4.6-7 (durch .../gcc-4.4-
base_4.4.6-8_amd64.deb) ...
Ersatz für gcc-4.4-base wird entpackt ...
Vorbereitung zum Ersetzen von locales 2.13-10 (durch 
.../locales_2.13-16_all.deb) ...
Ersatz für locales wird entpackt ...
Vorbereitung zum Ersetzen von python-doc 2.6.7-2 (durch .../python-
doc_2.6.7-3_all.deb) ...
Ersatz für python-doc wird entpackt ...
Vorbereitung zum Ersetzen von python 2.6.7-2 (durch 
.../python_2.6.7-3_all.deb) ...
Ersatz für python wird entpackt ...
Vorbereitung zum Ersetzen von python-minimal 2.6.7-2 (durch .../python-
minimal_2.6.7-3_all.deb) ...
Ersatz für python-minimal wird entpackt ...
Vorbereitung zum Ersetzen von libarchive1 2.8.4-1 (durch 
.../libarchive1_2.8.4-2_amd64.deb) ...
Ersatz für libarchive1 wird entpackt ...
Vorbereitung zum Ersetzen von libblas3gf 1.2-8 (durch 
.../libblas3gf_1.2.20110419-2_amd64.deb) ...
Ersatz für libblas3gf wird entpackt ...
Vorbereitung zum Ersetzen von libglib-perl 2:1.223-1+b1 (durch .../libglib-
perl_2%3a1.224-1_amd64.deb) ...
Ersatz für libglib-perl wird entpackt ...
Vorbereitung zum Ersetzen von liblist-moreutils-perl 0.32-1 (durch 
.../liblist-moreutils-perl_0.33-1_amd64.deb) ...
Ersatz für liblist-moreutils-perl wird entpackt ...
Vorbereitung zum Ersetzen von libossp-uuid16 1.6.2-1+b1 (durch .../libossp-
uuid16_1.6.2-1.1_amd64.deb) ...
Ersatz für libossp-uuid16 wird entpackt ...
Vorbereitung zum Ersetzen von libossp-uuid-perl 1.6.2-1+b1 (durch .../libossp-
uuid-perl_1.6.2-1.1_amd64.deb) ...
Ersatz für libossp-uuid-perl wird entpackt ...
Vorbereitung zum Ersetzen von libsgutils2-2 1.31-1 (durch 
.../libsgutils2-2_1.32-1_amd64.deb) ...
Ersatz für libsgutils2-2 wird entpackt ...
Vorbereitung zum Ersetzen von libx264-116 2:0.116.2037+gitf8ebd4a-3 (durch 
.../libx264-116_2%3a0.116.2042+git178455c-1_amd64.deb) ...
Ersatz für libx264-116 wird entpackt ...
Vorbereitung zum Ersetzen von lintian 2.5.1 (durch 
.../archives/lintian_2.5.2_all.deb) ...
Ersatz für lintian wird entpackt ...
Vorbereitung zum Ersetzen von openjdk-6-jre-lib 6b18-1.8.9-0.1 (durch 
.../openjdk-6-jre-lib_6b23~pre7-1_all.deb) ...
Ersatz für openjdk-6-jre-lib wird entpackt ...
Vorbereitung zum Ersetzen von openjdk-6-jre-headless 6b18-1.8.9-0.1 (durch 
.../openjdk-6-jre-headless_6b23~pre7-1_amd64.deb) ...
Ersatz für openjdk-6-jre-headless wird entpackt ...
Vorbereitung zum Ersetzen von openjdk-6-jre 6b18-1.8.9-0.1 (durch 
.../openjdk-6-jre_6b23~pre7-1_amd64.deb) ...
Ersatz für openjdk-6-jre wird entpackt ...
Vorbereitung zum Ersetzen von p7zip-full 9.04~dfsg.1-1 (durch .../p7zip-
full_9.20.1~dfsg.1-3_amd64.deb) ...
Ersatz für p7zip-full wird entpackt ...
Vorbereitung zum Ersetzen von qct 1.7-1 (durch 
.../apt/archives/qct_1.7-2_all.deb) ...
Ersatz für qct wird entpackt ...
Trigger für man-db werden verarbeitet ...
Trigger für doc-base werden verarbeitet ...
2 geänderte Doc-base-Dateien wird verarbeitet...
Dokumente werden mit scrollkeeper registriert ...
Trigger für hicolor-icon-theme werden verarbeitet ...
Trigger für python-support werden verarbeitet ...
libc-dev-bin (2.13-16) wird eingerichtet ...
libc6-dev (2.13-16) wird eingerichtet ...
libasyncns0 (0.8-4) wird eingerichtet ...
libxss1 (1:1.2.1-2) wird eingerichtet ...
libxv1 (2:1.0.6-2) wird eingerichtet ...
libxapian22 (1.2.7-1) wird eingerichtet ...
manpages (3.32-0.2) wird eingerichtet ...
gcc-4.4-base (4.4.6-8) wird eingerichtet ...
cpp-4.4 (4.4.6-8) wird eingerichtet ...
gcc-4.4 (4.4.6-8) wird eingerichtet ...
locales (2.13-16) wird eingerichtet ...
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  en_US.UTF-8... done
Generation complete.
python-doc (2.6.7-3) wird eingerichtet ...
python-minimal (2.6.7-3) wird eingerichtet ...
python (2.6.7-3) wird eingerichtet ...
libarchive1 (2.8.4-2) wird eingerichtet ...
libblas3gf (1.2.20110419-2) wird eingerichtet ...
libglib-perl (2:1.224-1) wird eingerichtet ...
liblist-moreutils-perl (0.33-1) wird eingerichtet ...
libossp-uuid16 (1.6.2-1.1) wird eingerichtet ...
libossp-uuid-perl (1.6.2-1.1) wird eingerichtet ...
libsgutils2-2 (1.32-1) wird eingerichtet ...
libx264-116 (2:0.116.2042+git178455c-1) wird eingerichtet ...
lintian (2.5.2) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/lintianrc wird installiert ...
p7zip-full (9.20.1~dfsg.1-3) wird eingerichtet ...
qct (1.7-2) wird eingerichtet ...
openjdk-6-jre-headless (6b23~pre7-1) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/java-6-openjdk/jvm.cfg wird 
installiert ...
Neue Version der Konfigurationsdatei /etc/java-6-openjdk/psfontj2d.properties 
wird installiert ...
Neue Version der Konfigurationsdatei /etc/java-6-openjdk/calendars.properties 
wird installiert ...
Neue Version der Konfigurationsdatei /etc/java-6-openjdk/psfont.properties.ja 
wird installiert ...
Neue Version der Konfigurationsdatei /etc/java-6-openjdk/fontconfig.properties 
wird installiert ...
openjdk-6-jre-lib (6b23~pre7-1) wird eingerichtet ...
openjdk-6-jre (6b23~pre7-1) wird eingerichtet ...
*** failed to import extension hgext.qct: No module named qct
*** failed to import extension hgext.qct: No module named qct
----------------------------------------------------------------------------
The last two lines are from the mercurial invocation via etckeeper.
Could it be that the qct package is somehow broken, which then breaks 
mercurial?


This is the file I removed from /etc to force the bug to vanish:

# hg diff -r 584 -r tip
diff -r 84a6eb056fa1 -r 6245d06f2933 mercurial/hgrc.d/qct.rc
--- a/mercurial/hgrc.d/qct.rc   Mon Aug 22 19:31:25 2011 +0200
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-#
-# if you remove the qct package without purging it, this conffile
-# will be kept and mercurial will try to load the (removed) qct extension
-# so it will emit a warning
-#
-# Two fix are possible in this case:
-# 1: purging the qct package (with "apt-get remove --purge qct" for example)
-# 2: commenting the line requesting the extension below
-[extensions]
-hgext.qct =
----------------------------------------------------------------------------

Regards,

  Peter Pöschl



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to