Package: nala Version: 0.15.3 Severity: normal X-Debbugs-Cc: k8toj...@duck.com
Dear Maintainer, I have a script (available under GPLv3+ at https://git.disroot.org/daltux/apt- upgrade) that uses apt or nala (default when present) to upgrade packages before other steps. When there is any error (returning anything different than '0'), the idea is that the script exits as well. This should include the situation when the user does not say Yes to do the upgrade. Apt then returns '1'. However, nala unfortunately returns '0', something that looks like a mistake, as there seems to be no other way to know if the user did not want to proceed. Nala should return a non-zero value then, just like apt does. -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.8.12-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.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 nala depends on: ii apt 2.9.5 ii python3 3.11.8-1 ii python3-anyio 4.4.0-1 ii python3-apt 2.9.0 ii python3-debian 0.1.49 ii python3-httpx 0.27.0-1 ii python3-pexpect 4.9-2 ii python3-rich 13.7.1-1 ii python3-tomli 2.0.1-2 ii python3-typer 0.12.0-1 ii python3-typing-extensions 4.12.2-1 Versions of packages nala recommends: ii python3-socksio 1.0.0-3 nala suggests no packages. -- debconf-show failed