Control: reassign -1 python3-apt
Control: forcemerge 1088402 -1 
Control: retitle 1088402 python3-apt: VERSION_ID is optional in os-release
Control: severity 1088402 serious


On Mon, Nov 25, 2024 at 09:29:17PM +0100, Sylvestre Ledru wrote:
> Package: software-properties-common
> Version: 0.99.30-4.1
> Severity: important
> 
> Dear Maintainer,
> 
> Maybe it is caused by python3-distro but this following started to fail:
> 
> add-apt-repository -y 'deb http://apt.llvm.org/unstable/  llvm-toolchain-18 
> main'
> Traceback (most recent call last):
>   File "/usr/bin/add-apt-repository", line 361, in <module>
>     addaptrepo = AddAptRepository()
>                  ^^^^^^^^^^^^^^^^^^
>   File "/usr/bin/add-apt-repository", line 37, in __init__
>     self.distro = get_distro()
>                   ^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 547, in 
> get_distro
>     release = os_release["VERSION_ID"]
>               ~~~~~~~~~~^^^^^^^^^^^^^^
> KeyError: 'VERSION_ID'

This is a duplicate of 1088402. I'll get to that next week.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Reply via email to