Lidux schrieb:
root@Lenovo-M30-70:~# fdisk -l
Festplatte /dev/loop0: 274,45 MiB, 287776768 Bytes, 562064 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/loop1: 275,29 MiB, 288665600 Bytes, 563800 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/loop2: 349,7 MiB, 366682112 Bytes, 716176 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/loop3: 505,09 MiB, 529625088 Bytes, 1034424 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/loop4: 91,69 MiB, 96141312 Bytes, 187776 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/loop5: 44,44 MiB, 46596096 Bytes, 91008 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/sda: 447,13 GiB, 480103981056 Bytes, 937703088 Sektoren
Festplattenmodell: CT480BX500SSD1
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 45F52FB5-5FF3-4D46-A65A-6B45A10865C5
Gerät Anfang Ende Sektoren Größe Typ
/dev/sda1 2048 206847 204800 100M EFI-System
/dev/sda2 206848 239615 32768 16M Microsoft reserviert
/dev/sda3 239616 467728184 467488569 222,9G Microsoft Basisdaten
/dev/sda4 467728384 468846591 1118208 546M Windows-Wiederherstellungsumgebu
/dev/sda5 468846592 470943743 2097152 1G Linux-Dateisystem
/dev/sda6 470943744 937701375 466757632 222,6G Linux-Dateisystem
Festplatte /dev/mapper/sda6_crypt: 222,55 GiB, 238963130368 Bytes, 466724864 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/mapper/vgubuntu-swap: 10,4 GiB, 11169431552 Bytes, 21815296 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplatte /dev/mapper/vgubuntu-root: 212,15 GiB, 227792650240 Bytes, 444907520 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
root@Lenovo-M30-70:~#
Steht so in: snap/snapd deinstallieren
5. Um eine erneute Installation von snapd zu verhindern
sudo apt-mark hold snapd
Inhalt von den jeweiligen .pref Dateien ?
Ebenfalls genau wie aus snap/snapd deinstallieren entnommen (copy and paste)
# Verhindert die Installation von snapd
# und somit auch von Übergangspaketen,
# die snapd als Abhängigkeit benötigen
# Bsp. chromium-browser (ab 19.10), firefox (ab 22.04)
Package: snapd
Pin: release o=*
Pin-Priority: -1
/etc/apt/preferences.d/no_snap.pref (END)
# Verhindert die Installation des Firefox als Snap
# über das Paket aus den offiziellen Paketquellen
Package: firefox*
Pin: release o=ubuntu
Pin-Priority: -1
/etc/apt/preferences.d/firefox.pref (END)
# Verhindert die Installation des Thunderbird als Snap
# über das Paket aus den offiziellen Paketquellen
Package: thunderbird*
Pin: release o=ubuntu
Pin-Priority: -1
/etc/apt/preferences.d/thunderbird.pref (END)
Bis auf /etc/apt/preferences.d/thunderbird.pref alles copy and paste aus der Anleitung. Die thunderbird.pref ist einfach nur eine weitere Kopie der firefox.pref in der firefox durch thunderbird ersetzt wurde.
Bei einer Neuinstallation auf der Basis der 24.04 Server-Edition (minimal) auf einem anderen Notebook hat das auch gut geklappt. Da habe ich alle Schritte aus der Anleitung snap/snapd deinstallieren ebenfalls durchgeführt, noch in der Server-minimalversion. Erst danach habe ich dann den kompletten Xubuntu-Desktop mit alle Abhängigkeiten installiert, wie Libreoffice, GIMP, Firefox, Thunderbird.
Dieses Notebook aber wollte ich nicht vollständig neu installieren und habe eben ein
sudo do-release-upgrade
durchgeführt. Dort habe ich nun zwar auch Firefox ubnd Thunderbird aus den deb-Quellen statt snap, aber eben dennoch diese nun ja eigentlich überflüssigen Verzeichnisse /snap/ und /var/snap/ die ich gern ebenfalls los werden würde.