Package: fai-client
Version: 6.4.3
Severity: normal
Tags: patch
There is a typo in `/usr/sbin/install_packages` that disables filtering of
unknown packages:
```diff
--- /usr/sbin/install_packages.orig 2025-08-07 18:56:10.602397754 +0200
+++ /usr/sbin/install_packages 2025-08-07 19:13:33.965226946 +0200
@@ -402,7 +402,7 @@
# @known contains the known packages
# on Debian system, clean list of packages
- if ( ! $opt_N && -f "$FAI_ROOT/usr/sbin/apt-cache" ) {
+ if ( ! $opt_N && -f "$FAI_ROOT/usr/bin/apt-cache" ) {
@known = clean_pkg_list(@complete);
} else {
@known = @complete;
```
Result is that apt fails if there are any unknown or obsolete
packages in your config.
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.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 fai-client depends on:
ii debconf-utils 1.5.91
ii file 1:5.46-5
ii iproute2 6.15.0-1
ii libfile-lchown-perl 0.02-4
ii perl 5.40.1-6
ii procps 2:4.0.4-9
ii zstd 1.5.7+dfsg-1
Versions of packages fai-client recommends:
ii fdisk 2.41-5
ii util-linux 2.41-5
Versions of packages fai-client suggests:
pn libgraph-perl <none>
pn logtail <none>
-- Configuration Files:
/etc/fai/fai.conf changed [not included]
-- no debconf information
--
c u
henning