Package: nala
Version: 0.12.0
Severity: important

happy new year!

seems that nala fails if python3-debian is not installed. error : 

$ doas nala update                
Traceback (most recent call last):
  File "/usr/bin/nala", line 5, in <module>
    from nala.__main__ import main
  File "/usr/lib/python3/dist-packages/nala/__main__.py", line 31, in <module>
    import nala.fetch as _fetch  # pylint: disable=unused-import
  File "/usr/lib/python3/dist-packages/nala/fetch.py", line 66, in <module>
    from debian.deb822 import Deb822  # isort:skip
ModuleNotFoundError: No module named 'debian'


installing python3-debian fixes this and nala runs as it should.. 
but package is not listed as nala dependency..

thanks,
d.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.142-antix.2-amd64-smp (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_UNSIGNED_MODULE
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages nala depends on:
ii  apt                        2.5.4.0nosystemd1
ii  python3                    3.10.6-3+b1
ii  python3-anyio              3.6.2-1
ii  python3-apt                2.5.0
ii  python3-httpx              0.23.1-1
ii  python3-pexpect            4.8.0-4
ii  python3-rich               13.0.0-1
ii  python3-tomli              2.0.1-2
ii  python3-typer              0.7.0-1
ii  python3-typing-extensions  4.3.0-2

Versions of packages nala recommends:
ii  python3-socksio  1.0.0-2

nala suggests no packages.

-- no debconf information

Reply via email to