Nala now supports apt policy command

Started by devil, 2026/10/29, 08:28:03

Previous topic - Next topic

devil

In 2022 I opened a feature request with Nala to include the often-used command apt policy Finally today the command was implemented in Rust Nala as nala policyincluding per-package policy output. You can grab the latest version from GitLab and give it a spin.

Im Jahr 2022 habe ich bei Nala einen Feature-Wunsch eingereicht, um den häufig verwendeten Befehl apt policy zu integrieren. Heute wurde der Befehl endlich in Rust Nala als nala policy implementiert, einschließlich der Ausgabe der Paketinformationen. Ihr könnt euch die neueste Version von GitLab herunterladen und sie ausprobieren.


DeepDayze

Awesome new feature, thanks Devil!

der_bud

The "latest Version from Github" (= 0.18.2) is also in Sid since last week, so should have come with normal upgrade ;)
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

titan

thought I would try Nala again but get error
Error: Failed to parse ⁨/etc/nala/nala.conf⁩. Nala will not ignore an existing configuration file. If this followed a package upgrade, compare it with ⁨/etc/nala/nala.conf⁩.dpkg-dist

[i][/i]
[i]Caused by:[/i]
[i]    TOML parse error at line 27, column 1[/i]
[i]      |[/i]
[i]    27 | filesize_binary = false[/i]
[i]      | ^^^^^^^^^^^^^^^[/i]
    unknown field `filesize_binary`, expected one of `auto_remove`, `auto_update`, `update_show_packages`, `full_upgrade`, `simple`, `assume_yes`

Should I delete nala.conf and just use nala.conf.dpkg-dist

edlin

Quote from: titan on Yesterday at 13:03:25 thought I would try Nala again but get error
Error: Failed to parse ⁨/etc/nala/nala.conf⁩. Nala will not ignore an existing configuration file. If this followed a package upgrade, compare it with ⁨/etc/nala/nala.conf⁩.dpkg-dist

[i][/i]
[i]Caused by:[/i]
[i]    TOML parse error at line 27, column 1[/i]
[i]      |[/i]
[i]    27 | filesize_binary = false[/i]
[i]      | ^^^^^^^^^^^^^^^[/i]
    unknown field `filesize_binary`, expected one of `auto_remove`, `auto_update`, `update_show_packages`, `full_upgrade`, `simple`, `assume_yes`

Should I delete nala.conf and just use nala.conf.dpkg-dist


filesize_binary
is depricated, i replaced the old config and it works fine.

edlin
,,Ein kluger Mann macht nicht alle Fehler selber. Er lässt auch anderen eine Chance."

Winston Churchill