** Description changed: [SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise. It fixes the following bugs in Precise: - package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436) - Can not play radio streams any more (LP: #659809) - error when downloading files >2GB (LP: #1031670) - cntlm does not work at reboot (LP: #825593) - cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210) [IMPACT] When behind a corporate proxy requiring NTLM authentication, users are unable to: - install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid) - play internet radio streams (worked in Lucid) - download files larger than 2GB in size - download and install GPG keys through apt-get and apt-add-repository [Test Cases] - sudo apt-get install flashplugin-installer - Point your browser at: http://www.interwebsradio.com/ or - Open the following network URL with VLC: http://interwebsradio.com/stream.mp3 - wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso - - sudo add-apt-repository ppa:ginggs/ppa + - sudo add-apt-repository ppa:ginggs/ppa [Regression Potential] Minimal: cntlm has no dependants and no dependencies besides libc6 + + I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included. + In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract. + Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal. + + In short, I believe backporting the Quantal version will give us a more + stable base, without the increased regression potential of cherry- + picking multiple patches onto a two-year old version. --------------------------------------------------------------------------------------- I previously reported this in #983559, but it seems that it is a completely unrelated issue. 1) Ubuntu 12.04 LTS 2) 0.119ubuntu8.4 3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer) 4) package-data-downloader is unable to download these files through my cntlm proxy At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included). This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user. If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated. Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet. In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1009436 Title: package-data-downloader hangs forever when attempting to download through cntlm proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs