diff -Nru python-apt-0.7.4ubuntu7.1/aptsources/distinfo.py python-apt-0.7.4ubuntu7.2/aptsources/distinfo.py --- python-apt-0.7.4ubuntu7.1/aptsources/distinfo.py 2008-05-28 12:09:29.000000000 +0200 +++ python-apt-0.7.4ubuntu7.2/aptsources/distinfo.py 2008-07-09 02:05:05.000000000 +0200 @@ -192,7 +192,7 @@ template.base_uri = value elif field == 'BaseURI-%s' % self.arch: template.base_uri = value - elif field == 'MatchURI' and not template.match_uri: + elif field == 'MatchURI' and (re.search('security\.ubuntu\.com',value) or not template.match_uri): template.match_uri = value elif field == 'MatchURI-%s' % self.arch: template.match_uri = value diff -Nru python-apt-0.7.4ubuntu7.1/debian/changelog python-apt-0.7.4ubuntu7.2/debian/changelog --- python-apt-0.7.4ubuntu7.1/debian/changelog 2008-05-28 12:42:25.000000000 +0200 +++ python-apt-0.7.4ubuntu7.2/debian/changelog 2008-07-09 02:06:46.000000000 +0200 @@ -1,3 +1,9 @@ +python-apt (0.7.4ubuntu7.2) hardy; urgency=low + + * Added check for 'security\.ubuntu\.com' in MatchURI value (LP: #244093) + + -- Savvas Radevic Wed, 09 Jul 2008 02:05:46 +0200 + python-apt (0.7.4ubuntu7.1) hardy-proposed; urgency=low * aptsources/distinfo.py: