diff --git a/debian/changelog b/debian/changelog
index 16f3fb59f6159f00637d0fa941cb6cfd3130dbc4..64cda102cf854a48d266bcae73fec623dc782f5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-defaults (2.6.6-6) UNRELEASED; urgency=low
+
+  * Make the error message about missing extension more clear
+    (and more verbose in --verbose mode)
+
+ -- Piotr Ożarowski <piotr@debian.org>  Sat, 06 Nov 2010 00:19:39 +0100
+
 python-defaults (2.6.6-5) experimental; urgency=low
 
   * pycompile: if installed Python is requested via -V option, use it even if
diff --git a/dh_python2 b/dh_python2
index 5eff827a7711ad71df0a044e8a910f1b84d7b75c..dda61aa115bc4d1bf0b47c1e04f89044e16f3649 100755
--- a/dh_python2
+++ b/dh_python2
@@ -142,8 +142,13 @@ def share(package, stats, options):
                 versions_without_ext = debsorted(set(pubvers) -\
                                                  stats['public_ext'])
                 if not versions_without_ext:
-                    log.error('you most probably have to build extension '
-                              'for python%s.', vrepr(version))
+                    log.error('extension for python%s is missing',
+                              vrepr(version))
+                    log.info('possible solutions are: building extensions '
+                             'for all supported Python versions '
+                             '(`pyversions -vr`); '
+                             'adjusting X-Python-Version field; '
+                             'passing --no-guessing-versions to dh_python2')
                     exit(12)
                 srcver = versions_without_ext[0]
                 if srcver in stats['public_vers']: