Dear Maintainer,

I tried adding this package to the package-blacklist:

        libstdc++6

This will fail, as it is an invalid regular expression:


> # unattended-upgrade --dry-run --debug
> Initial blacklisted packages: libaio1 libboost-thread1.49.0 libc6 libgcc1 
> libgoogle-perftools4 libleveldb1 libnspr4 libnspr4-0d libnss3 libnss3-1d 
> libstdc++6 libuuid1
> Starting unattended upgrades script
> Allowed origins are: ['o=Debian,a=stable', 'o=Debian,a=wheezy', 
> 'o=Debian,a=wheezy-updates', 'o=Debian,a=wheezy-lts', 
> 'o=Debian,a=wheezy-security']
> Checking: acpi-support-base (["<Origin component:'main' archive:'stable' 
> origin:'Debian' label:'Debian' site:'ftp.debian.xs4all.net' isTrusted:True>", 
> "<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian' 
> site:'ftp.nl.debian.org' isTrusted:True>", "<Origin component:'main' 
> archive:'stable' origin:'Debian' label:'Debian-Security' 
> site:'security.debian.org' isTrusted:True>"])
> Traceback (most recent call last):
>   File "/usr/bin/unattended-upgrade", line 1011, in <module>
>     main(options)
>   File "/usr/bin/unattended-upgrade", line 813, in main
>     not is_pkgname_in_blacklist(pkg.name, blacklisted_pkgs) and
>   File "/usr/bin/unattended-upgrade", line 370, in is_pkgname_in_blacklist
>     if re.match(blacklist_regexp, pkgname):
>   File "/usr/lib/python2.7/re.py", line 137, in match
>     return _compile(pattern, flags).match(string)
>   File "/usr/lib/python2.7/re.py", line 242, in _compile
>     raise error, v # invalid expression
> sre_constants.error: multiple repeat

(this is on wheezy)


Is this intentional, or is this a bug?


Kai Storbeck

-- 
Systeembeheer XS4ALL Internet bv
Internet: www.xs4all.nl
Contact: www.xs4all.nl/contact

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to