[Bug 308376] Re: apt-proxy warning on start
*** This bug is a duplicate of bug 154494 *** https://bugs.launchpad.net/bugs/154494 ** This bug has been marked a duplicate of bug 154494 twisted.protocols.telnet is deprecated. -- apt-proxy warning on start https://bugs.launchpad.net/bugs/308376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 308376] Re: apt-proxy warning on start
Hi all, This problem does not seem to be new, and I did not find any official solution, even on a fully patched server. Here is the workaround I would suggest: stop the APT-Proxy service, and then comment the line from twisted.manhole.telnet import ShellFactory at the top of the executable file of APT-proxy (something like /usr/sbin/apt-proxy huh?). . After that, you should see a clean start of APT-proxy: Starting apt-proxy:None None . This works on Debian Lenny, that should be the same on Ubuntu. Obviously, we will need to keep an eye on it, until the next APT-proxy release or update. IHTH. Cheers, Ph. VIALLE -- apt-proxy warning on start https://bugs.launchpad.net/bugs/308376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 308376] Re: apt-proxy warning on start
In Ubuntu Jaunty (APT Proxy version 1.9.36.3+mnu1) I've got this message since many upgrade package with python 2.6 : ~$ sudo apt-get /etc/init.d/apt-proxy restart * Stopping apt-proxy [ OK ] * Starting apt-proxy /usr/lib/python2.6/dist-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead import os, md5, sys /usr/lib/python2.6/dist-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /usr/lib/python2.6/dist-packages/twisted/manhole/telnet.py:8: DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated. See twisted.conch.telnet for the current, supported API. from twisted.protocols import telnet None /usr/lib/python2.6/dist-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead import os, md5, sys /usr/lib/python2.6/dist-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /usr/lib/python2.6/dist-packages/twisted/manhole/telnet.py:8: DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated. See twisted.conch.telnet for the current, supported API. from twisted.protocols import telnet None [ OK ] -- apt-proxy warning on start https://bugs.launchpad.net/bugs/308376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs