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'

Thanks
Sylvestre



*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.2-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages software-properties-common depends on:
ii  ca-certificates              20240203
ii  gir1.2-glib-2.0              2.82.1-1
ii  gir1.2-packagekitglib-1.0    1.3.0-1
ii  packagekit                   1.3.0-1
ii  python-apt-common            2.9.0
ii  python3                      3.12.6-1
ii  python3-dbus                 1.3.2-5+b3
ii  python3-gi                   3.48.2-1+b1
ii  python3-software-properties  0.99.30-4.1

software-properties-common recommends no packages.

software-properties-common suggests no packages.

-- no debconf information

Reply via email to