Bug#807012: python3-apt & unattended-upgrades get confused by uppercase pkg
Control: reassign -1 unattended-upgrades
On Fri, Dec 04, 2015 at 08:06:36AM +0100, Alexandre Detiste wrote:
> Package: python3-apt
> Version: 1.1.0~beta1
> Severity: normal
>
> Hi,
>
> Since the last update of python3-apt to 1.1, unattended-upgrades
> is crashing on a package with an uppercase case name.
>
> I do know this package is not policy-compliant;
> but still UU / python3-apt should handle this situation
> in a more gracefull way than a triple exception.
> (and more enterprise-ish stuff may want to use
> uppercase package names too)
dpkg won't even let you create packages with upper case package
names.
Internally they are mapped to lowercase before entered into the
cache, so I don't know where unattended-upgrades gets the mixed
case name from.
The behaviour of not accepting the upper case name is consistent
with APT (apt-cache show WorldOfGoo fails) and dpkg (dpkg -l
WorldOfGoo fails too).
As such, I'm not going to fix this in python-apt. This should
be patched in unattended-upgrades that gets a mixed name from
somewhere it should not look at.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.
Reply to: