Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1028245: nala: missing dependency

237 views
Skip to first unread message

dimi...@stinpriza.org

unread,
Jan 8, 2023, 3:20:03 PM1/8/23
to
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

Blake Lee

unread,
Jan 11, 2023, 9:50:04 PM1/11/23
to
Hi thanks for using Nala and reporting bugs.

This has been fixed upstream actually. We're currently working through a bug that is causing Nala to get removed from the testing repos. Once we fix that and release then this will be fixed,
0 new messages