Weltklasse!Hi,
per default überschreibt apt keine Konfigurationsänderungen auch beireinstall
(löschen einer Konfigurationsdatei zählt auch als Konfigurationsänderung). Dazu kannapt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss
benutzt werden.
Code:
~# apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" swtpm-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/98.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 64192 files and directories currently installed.)
Preparing to unpack .../swtpm-tools_0.8.0+pve1_amd64.deb ...
Unpacking swtpm-tools (0.8.0+pve1) over (0.8.0+pve1) ...
Setting up swtpm-tools (0.8.0+pve1) ...
Configuration file '/etc/swtpm-localca.conf', does not exist on system.
Installing new config file as you requested.
Configuration file '/etc/swtpm-localca.options', does not exist on system.
Installing new config file as you requested.
Configuration file '/etc/swtpm_setup.conf', does not exist on system.
Installing new config file as you requested.
Processing triggers for man-db (2.11.2-2) ...
root@proxmox-ve1:~# ls -l /etc/swtpm
swtpm-localca.conf swtpm-localca.options swtpm_setup.conf
~# ls -l /etc/swtpm*
-rw-r--r-- 1 root root 180 May 25 2023 /etc/swtpm-localca.conf
-rw-r--r-- 1 root root 76 May 25 2023 /etc/swtpm-localca.options
-rw-r--r-- 1 root root 289 May 25 2023 /etc/swtpm_setup.conf