Seite 1 von 1

ubuntu_4.3.1.0-1 > "additional_packages" fehlerhaft

Verfasst: 03 Aug 2026, 11:04
von KrawczykHIS
Moin!

Mir ist folgendes aufgefallen, viele Grüße!

Was sollte passieren?
netbook-produkt "ubuntu" -> property "additional_packages" mit "tmux, vim, wget" hinzugefügt
Was ist passiert?

Code: Alles auswählen

File "OPSI/System/Posix.py", line 1042, in execute
RuntimeError: Command 'chroot /mnt/hd /bin/bash /tmp/doit.sh' failed (100):
Reading package lists...
Building dependency tree...
Reading state information...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unable to locate package tmux,vim,wget
Bei welche Versionen der beteiligten Komponenten tritt das Problem auf?
ubuntu 4.3.1.0-1
release = "resolute"

Re: ubuntu_4.3.1.0-1 > "additional_packages" fehlerhaft

Verfasst: 14 Aug 2026, 09:00
von n.doerrer
Moin,

die additional_packages müssen "Leerzeichen"-separiert angegeben werden.
Verwendet wird das so:

Code: Alles auswählen

apt-get --yes --force-yes install {productProperties.get("additional_packages")}
Mit "tmux vim wget" sollte es klappen.

Re: ubuntu_4.3.1.0-1 > "additional_packages" fehlerhaft

Verfasst: 14 Aug 2026, 09:09
von SirTux
Ist die Property nicht Multi-Value? Sonst kann man doch einfach ein Paket pro Zeile eintragen.