Fehler bei Installation von win 11

Hi,
per default überschreibt apt keine Konfigurationsänderungen auch bei reinstall (löschen einer Konfigurationsdatei zählt auch als Konfigurationsänderung). Dazu kann apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss benutzt werden.
Weltklasse!
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
gebt mir ein paar Minuten, ich muss die anderen Pakete auch noch nachinstallieren (die libs haben ja auch gefehlt), dann berichte ich.
 
gebt mir ein paar Minuten, ich muss die anderen Pakete auch noch nachinstallieren (die libs haben ja auch gefehlt), dann berichte ich.
so der Rest ist auch installiert, hat noch was für den apparmor gefehlt:
Code:
~# apt reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" libtpms0:amd64 swtpm swtpm-libs:amd64 swtpm-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/469 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 .../libtpms0_0.9.6+pve1_amd64.deb ...
Unpacking libtpms0:amd64 (0.9.6+pve1) over (0.9.6+pve1) ...
Preparing to unpack .../swtpm_0.8.0+pve1_amd64.deb ...
Unpacking swtpm (0.8.0+pve1) over (0.8.0+pve1) ...
Preparing to unpack .../swtpm-libs_0.8.0+pve1_amd64.deb ...
Unpacking swtpm-libs:amd64 (0.8.0+pve1) over (0.8.0+pve1) ...
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 libtpms0:amd64 (0.9.6+pve1) ...
Setting up swtpm-libs:amd64 (0.8.0+pve1) ...
Setting up swtpm (0.8.0+pve1) ...

Configuration file '/etc/apparmor.d/usr.bin.swtpm', does not exist on system.
Installing new config file as you requested.
Setting up swtpm-tools (0.8.0+pve1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
uuund
das Windows 11 startet ohne Fehlermeldung und möchte installiert werden.
 
Ich finde es unglaublich, dass jetzt nur das swtpm mit ca. 4 Dateien betroffen gewesen sein soll, aber im Zweifelsfalle wird halt neu installiert.

Ich danke allen Beteiligten und es war sehr lehrreich für mich.
den
Code:
apt reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" ...
schreibe ich mir hinter die Ohren.
 
  • Like
Reactions: ThoSo and UdoB
Ich bin echt erschüttert, dass bei den ersten Versuch kein "config wurde geändert. Diff?/Überschreiben?/Ignorieren?" kam! :-(


PS: oberhalb des ersten Posts ist ein Button "Edit Thread" - da kannst du noch "Solved" setzen...

Edit: das war schlicht falsch, das kann (natürlich) nur der Thread-Starter, sorry für die Irritation!
 
Last edited: