SMLM 5.02 - not able to bootstrap minion on debian 12

Hello,

I have followed the instructions to register an debian 12 agent, also added the software channel.
But adding the system to SMLM fails.
What to do, to get debian clients to be managed?

adm@srv185:/var/log$ sudo cat salt-ssh.log
[sudo] Passwort für adm:
2025-03-11 09:30:30,141 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724054] Command 'dpkg-query' failed with return code: 1
2025-03-11 09:30:30,141 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724054] stderr: dpkg-query: no packages found matching venv-salt-minion
2025-03-11 09:30:30,141 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724054] retcode: 1
2025-03-11 09:30:47,625 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724110] Command 'systemd-run' failed with return code: 100
2025-03-11 09:30:47,625 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724110] stdout: Reading package lists...
Building dependency tree...
Reading state information...
2025-03-11 09:30:47,625 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724110] stderr: Running scope as unit: run-r806aa08878f24372816c3053fb9b201d.scope
E: Unable to locate package venv-salt-minion
2025-03-11 09:30:47,625 [salt.loaded.int.module.cmdmod:300 ][ERROR   ][1724110] retcode: 100
2025-03-11 09:30:47,640 [salt.state       :300 ][ERROR   ][1724110] Problem encountered installing package(s). Additional info follows:

errors:
    - Running scope as unit: run-r806aa08878f24372816c3053fb9b201d.scope
      E: Unable to locate package venv-salt-minion

Which registration method are you using to register your Debian 12 client? See https://documentation.suse.com/suma/5.0/en/suse-manager/client-configuration/registration-methods.html

I’m not sure about Debian but with SUSE/openSUSE clients it now uses the venv-salt-minion package instead of the previous salt-minion package.

I have tried that via gui.
Now I have used the bootstrap script method, revealing a file not found (file “InRelease”) isn’t in the web directory

:

adm@srv184:~$ wget -qO- https://srv181.linux.lab/pub/bootstrap/bootstrap-debian12.sh | sudo /bin/bash
SUSE Manager Server Client bootstrap script v5.0.2


MINOR MANUAL EDITING OF THIS FILE MAY BE REQUIRED!
...

PREPARE GPG KEYS AND CORPORATE PUBLIC CA CERT
-------------------------------------------------
* no organizational GPG keys to import

* attempting to install corporate public CA cert
2025-03-11 13:54:47 URL:https://srv181.linux.lab/pub/RHN-ORG-TRUSTED-SSL-CERT [2329/2329] -> "RHN-ORG-TRUSTED-SSL-CERT" [1]
BEENDET --2025-03-11 13:54:47--
Verstrichene Zeit: 0,02s
Geholt: 1 Dateien, 2,3K in 0s (62,6 MB/s)
* update certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

CLEANING UP OLD SUSE MANAGER REPOSITORIES
-------------------------------------------------

CHECKING THE REGISTRATION STACK
-------------------------------------------------
* check for necessary packages being installed...
* client codebase is debian-12.
2025-03-11 13:54:48 URL:https://srv181.linux.lab/pub/repositories/debian/12/bootstrap/dists/bootstrap/Release [3034/3034] -> "Release" [1]
BEENDET --2025-03-11 13:54:48--
Verstrichene Zeit: 0,02s
Geholt: 1 Dateien, 3,0K in 0s (134 MB/s)
 adding client software repository at https://srv181.linux.lab/pub/repositories/debian/12/bootstrap
2025-03-11 13:54:48 URL:https://srv181.linux.lab/pub/repositories/debian/12/bootstrap/venv-enabled-amd64.txt [141/141] -> "venv-enabled-amd64.txt" [1]
BEENDET --2025-03-11 13:54:48--
Verstrichene Zeit: 0,02s
Geholt: 1 Dateien, 141 in 0s (420 MB/s)
Bootstrap repo 'https://srv181.linux.lab/pub/repositories/debian/12/bootstrap' contains salt bundle.
Ign:1 https://srv181.linux.lab/pub/repositories/debian/12/bootstrap bootstrap InRelease
OK:2 https://download.docker.com/linux/debian bookworm InRelease
OK:3 https://packages.gitlab.com/gitlab/gitlab-ce/debian bookworm InRelease
Ign:1 https://srv181.linux.lab/pub/repositories/debian/12/bootstrap bootstrap InRelease
Ign:1 https://srv181.linux.lab/pub/repositories/debian/12/bootstrap bootstrap InRelease
Fehl:1 https://srv181.linux.lab/pub/repositories/debian/12/bootstrap bootstrap InRelease
  Invalid response from proxy: HTTP/1.0 404 Not Found  Server: squid/3.1.23  Mime-Version: 1.0  Date: Tue, 11 Mar 2025 12:54:48 GMT  Content-Type: text/html  Content-Length: 3516  X-Squid-Error: ERR_DNS_FAIL 0  Vary: Accept-Language  Content-Language: en     [IP: 192.168.31.134 8080]
Paketlisten werden gelesen… Fertig
W: Fehlschlag beim Holen von https://srv181.linux.lab/pub/repositories/debian/12/bootstrap/dists/bootstrap/InRelease Invalid response from proxy: HTTP/1.0 404 Not Found  Server: squid/3.1.23  Mime-Version: 1.0  Date: Tue, 11 Mar 2025 12:54:48 GMT  Content-Type: text/html  Content-Length: 3516  X-Squid-Error: ERR_DNS_FAIL 0  Vary: Accept-Language  Content-Language: en     [IP: 192.168.31.134 8080]
W: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
* going to install missing packages...
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
E: Paket venv-salt-minion kann nicht gefunden werden.
ERROR: Failed to install all missing packages.

Found the problem in apt.conf to go direct for the local repository!

adm@srv184:/etc/apt$ cat apt.conf
Acquire::http::Proxy "http://192.168.1.1354:8080";
Acquire::http::Proxy::srv181.linux.lab DIRECT;