I've tested the patch on Intrepid and it doesn't work.
Here are the results with a patched /usr/lib/python2.5/site-packages/apt/cache.py:
With installing Recommends disabled in the host system: $ gdebi --quiet --root /var/cache/pbuilder/build/24283/ --apt-line libgnupg-interface-perl_0.36-1ubuntu1.dsc debhelper bsdmainutils gettext libmagic1 file libclass-methodmaker-perl groff-base intltool-debian man-db po-debconf html2text gettext-base
Now with installing Recommends enabled: $ gdebi --quiet --root /var/cache/pbuilder/build/24283/ --apt-line libgnupg-interface-perl_0.36-1ubuntu1.dsc debhelper curl bsdmainutils libio-compress-base-perl gettext libcurl3 libsys-hostname-long-perl libcompress-raw-zlib-perl libio-compress-zlib-perl libmagic1 libcompress-zlib-perl libmail-sendmail-perl file libclass-methodmaker-perl groff-base intltool-debian man-db po-debconf html2text gettext-base
(Installing Recommends is disabled inside the pbuilder).
I've tested the patch on Intrepid and it doesn't work.
Here are the results with a patched /usr/lib/ python2. 5/site- packages/ apt/cache. py:
With installing Recommends disabled in the host system: pbuilder/ build/24283/ --apt-line libgnupg- interface- perl_0. 36-1ubuntu1. dsc methodmaker- perl groff-base intltool-debian man-db po-debconf html2text gettext-base
$ gdebi --quiet --root /var/cache/
debhelper bsdmainutils gettext libmagic1 file libclass-
Now with installing Recommends enabled: pbuilder/ build/24283/ --apt-line libgnupg- interface- perl_0. 36-1ubuntu1. dsc base-perl gettext libcurl3 libsys- hostname- long-perl libcompress- raw-zlib- perl libio-compress- zlib-perl libmagic1 libcompress- zlib-perl libmail- sendmail- perl file libclass- methodmaker- perl groff-base intltool-debian man-db po-debconf html2text gettext-base
$ gdebi --quiet --root /var/cache/
debhelper curl bsdmainutils libio-compress-
(Installing Recommends is disabled inside the pbuilder).