Public bug reported: Binary package hint: python-apt
It's currently impossible to use a mirror adress containing '@', which can accur when using a non anonymous ftp. To reproduce: 1) add this line to /usr/share/python-apt/templates/Ubuntu.mirrors : ftp://login:[EMAIL PROTECTED]/ubuntu/ 2) Launch software-properties-kde (not tested with software-properties-gtk, but it should be the same) 3) Look at the list of mirrors : the one we just added isn't there. Who to solve this : python-apt can handle such url, the regular expression testing urls just doesn't allow it. In file aptsources/distinfo.py , line 132 : match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(https))://[A-Za-z/\.:\-_]+)$") juste add '@' to the allowed character. The result is : match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|(https))://[A-Za-z/\.:[EMAIL PROTECTED])$") And that's all. ** Affects: python-apt (Ubuntu) Importance: Undecided Status: New -- python-apt should accept '@' in mirror adresses https://bugs.launchpad.net/bugs/223097 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