I've added a regular expression check the value if it contains "security.ubuntu.com" re.search('security\.ubuntu\.com',value)
It could be marked as messy, but I tried it and it works, attached a debdiff. Otherwise, to fix this you must change BaseURI and MatchURI as mentioned in the previous comment ** Attachment added: "python-apt_0.7.4ubuntu7.2.debdiff" http://launchpadlibrarian.net/15898601/python-apt_0.7.4ubuntu7.2.debdiff -- Checking security repository in Updates adds deb line to Third-Party Software https://bugs.launchpad.net/bugs/244093 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