Hallo,
weil bei mir
Oder gibt es eine automatische Bereinigungsfunktion?
Gefunden habe ich auf die Schnelle folgende zwei Ordner:
Kann man den Inhalt von
bedenkenlos löschen?
Oder wenigstens einen Teil davon? Was dann behalten?
weil bei mir
/dev/mapper/pve-root zu 100% belegt war, bin ich auf der Suche, ob man alte Daten löschen kann.Oder gibt es eine automatische Bereinigungsfunktion?
Gefunden habe ich auf die Schnelle folgende zwei Ordner:
/var/cache/apt/archives/usr/srcKann man den Inhalt von
/var/cache/apt/archives/usr/srcbedenkenlos löschen?
Oder wenigstens einen Teil davon? Was dann behalten?
Code:
# du -ah / | sort -hr | head -n 50
...
6.4G /var/cache/apt/archives
...
3.0G /usr/src
Code:
# ls -lh /var/cache/apt/archives/
total 6.4G
-rw-r--r-- 1 root root 70K Mar 10 03:47 base-files_12.4+deb12u10_amd64.deb
-rw-r--r-- 1 root root 70K May 11 22:52 base-files_12.4+deb12u11_amd64.deb
-rw-r--r-- 1 root root 70K Oct 1 2023 base-files_12.4+deb12u2_amd64.deb
-rw-r--r-- 1 root root 70K Dec 3 2023 base-files_12.4+deb12u3_amd64.deb
-rw-r--r-- 1 root root 70K Feb 4 2024 base-files_12.4+deb12u5_amd64.deb
-rw-r--r-- 1 root root 70K Jun 23 2024 base-files_12.4+deb12u6_amd64.deb
-rw-r--r-- 1 root root 70K Aug 25 2024 base-files_12.4+deb12u7_amd64.deb
-rw-r--r-- 1 root root 70K Nov 3 2024 base-files_12.4+deb12u8_amd64.deb
-rw-r--r-- 1 root root 70K Jan 5 2025 base-files_12.4+deb12u9_amd64.deb
-rw-r--r-- 1 root root 1.5M Mar 29 2024 bash_5.2.15-2+b7_amd64.deb
-rw-r--r-- 1 root root 1.5M Apr 19 00:59 bash_5.2.15-2+b8_amd64.deb
-rw-r--r-- 1 root root 392K Sep 21 2023 bind9-dnsutils_1%3a9.18.19-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 394K Feb 12 2024 bind9-dnsutils_1%3a9.18.24-1_amd64.deb
-rw-r--r-- 1 root root 398K Jul 23 2024 bind9-dnsutils_1%3a9.18.28-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 398K Jul 27 2024 bind9-dnsutils_1%3a9.18.28-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 152K Jan 25 2025 bind9-dnsutils_1%3a9.18.33-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 296K Sep 21 2023 bind9-host_1%3a9.18.19-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 298K Feb 12 2024 bind9-host_1%3a9.18.24-1_amd64.deb
-rw-r--r-- 1 root root 300K Jul 23 2024 bind9-host_1%3a9.18.28-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 301K Jul 27 2024 bind9-host_1%3a9.18.28-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 53K Jan 25 2025 bind9-host_1%3a9.18.33-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 1.4M Sep 21 2023 bind9-libs_1%3a9.18.19-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 1.4M Feb 12 2024 bind9-libs_1%3a9.18.24-1_amd64.deb
-rw-r--r-- 1 root root 1.4M Jul 23 2024 bind9-libs_1%3a9.18.28-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 1.4M Jul 27 2024 bind9-libs_1%3a9.18.28-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 1.2M Jan 25 2025 bind9-libs_1%3a9.18.33-1~deb12u2_amd64.deb
-rw-r--r-- 1 root root 85K Mar 28 2024 bsdextrautils_2.38.1-5+deb12u1_amd64.deb
-rw-r--r-- 1 root root 85K Nov 2 2024 bsdextrautils_2.38.1-5+deb12u2_amd64.deb
-rw-r--r-- 1 root root 85K Dec 9 2024 bsdextrautils_2.38.1-5+deb12u3_amd64.deb
-rw-r--r-- 1 root root 93K Mar 28 2024 bsdutils_1%3a2.38.1-5+deb12u1_amd64.deb
-rw-r--r-- 1 root root 93K Nov 2 2024 bsdutils_1%3a2.38.1-5+deb12u2_amd64.deb
-rw-r--r-- 1 root root 93K Dec 9 2024 bsdutils_1%3a2.38.1-5+deb12u3_amd64.deb
-rw-r--r-- 1 root root 737K Oct 27 2024 btrfs-progs_6.2-1+deb12u1_amd64.deb
-rw-r--r-- 1 root root 442K Apr 21 14:55 busybox_1%3a1.35.0-4+b4_amd64.deb
-rw-r--r-- 1 root root 152K Jun 13 12:03 ca-certificates_20230311+deb12u1_all.deb
-rw-r--r-- 1 root root 26M Nov 2 2023 ceph-common_17.2.7-pve1_amd64.deb
-rw-r--r-- 1 root root 23M Jan 10 2024 ceph-common_17.2.7-pve2_amd64.deb
-rw-r--r-- 1 root root 25M Apr 8 2024 ceph-common_17.2.7-pve3_amd64.deb
-rw-r--r-- 1 root root 25M Nov 29 2024 ceph-common_17.2.8-pve1_amd64.deb
-rw-r--r-- 1 root root 25M Feb 28 16:09 ceph-common_17.2.8-pve2_amd64.deb
-rw-r--r-- 1 root root 785K Nov 2 2023 ceph-fuse_17.2.7-pve1_amd64.deb
-rw-r--r-- 1 root root 768K Jan 10 2024 ceph-fuse_17.2.7-pve2_amd64.deb
-rw-r--r-- 1 root root 785K Apr 8 2024 ceph-fuse_17.2.7-pve3_amd64.deb
-rw-r--r-- 1 root root 787K Nov 29 2024 ceph-fuse_17.2.8-pve1_amd64.deb
-rw-r--r-- 1 root root 787K Feb 28 16:09 ceph-fuse_17.2.8-pve2_amd64.deb
-rw-r--r-- 1 root root 243K Apr 3 16:01 corosync_3.1.9-pve1_amd64.deb
-rw-r--r-- 1 root root 9.4M Apr 15 05:11 cpp-12_12.2.0-14+deb12u1_amd64.deb
-rw-r--r-- 1 root root 650K Nov 25 2024 criu_3.17.1-2+deb12u1_amd64.deb
-rw-r--r-- 1 root root 308K Mar 9 16:25 curl_7.88.1-10+deb12u12_amd64.deb
-rw-r--r-- 1 root root 308K Oct 8 2023 curl_7.88.1-10+deb12u4_amd64.deb
-rw-r--r-- 1 root root 308K Apr 9 2024 curl_7.88.1-10+deb12u6_amd64.deb
-rw-r--r-- 1 root root 308K Aug 23 2024 curl_7.88.1-10+deb12u7_amd64.deb
-rw-r--r-- 1 root root 308K Nov 3 2024 curl_7.88.1-10+deb12u8_amd64.deb
-rw-r--r-- 1 root root 96K Sep 24 2023 dbus_1.14.10-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 103K Sep 24 2023 dbus-bin_1.14.10-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 180K Sep 24 2023 dbus-daemon_1.14.10-1~deb12u1_amd64.deb
-rw-r--r-- 1 root root 77K Sep 24 2023 dbus-session-bus-common_1.14.10-1~deb12u1_all.deb
-rw-r--r-- 1 root root 78K Sep 24 2023 dbus-system-bus-common_1.14.10-1~deb12u1_all.deb
-rw-r--r-- 1 root root 158K Aug 26 2023 debian-archive-keyring_2023.3+deb12u1_all.deb
-rw-r--r-- 1 root root 175K Apr 15 22:43 debian-archive-keyring_2023.3+deb12u2_all.deb
-rw-r--r-- 1 root root 101K Jul 31 2023 debianutils_5.7-0.5~deb12u1_amd64.deb
-rw-r--r-- 1 root root 6.0K Nov 5 2023 distro-info-data_0.58+deb12u1_all.deb
-rw-r--r-- 1 root root 6.1K May 12 2024 distro-info-data_0.58+deb12u2_all.deb
-rw-r--r-- 1 root root 6.2K Oct 27 2024 distro-info-data_0.58+deb12u3_all.deb
-rw-r--r-- 1 root root 6.3K Apr 26 21:05 distro-info-data_0.58+deb12u4_all.deb
...
usw.
Code:
# ls -lh /usr/src
total 92K
drwxr-xr-x 25 root root 4.0K Dec 11 2023 linux-headers-6.5.11-7-pve
drwxr-xr-x 25 root root 4.0K Feb 10 2024 linux-headers-6.5.11-8-pve
drwxr-xr-x 25 root root 4.0K Feb 23 2024 linux-headers-6.5.13-1-pve
drwxr-xr-x 25 root root 4.0K Apr 7 2024 linux-headers-6.5.13-3-pve
drwxr-xr-x 25 root root 4.0K Apr 15 2024 linux-headers-6.5.13-5-pve
drwxr-xr-x 25 root root 4.0K Jul 28 2024 linux-headers-6.5.13-6-pve
drwxr-xr-x 25 root root 4.0K Apr 24 07:51 linux-headers-6.8.12-10-pve
drwxr-xr-x 25 root root 4.0K May 27 08:09 linux-headers-6.8.12-11-pve
drwxr-xr-x 25 root root 4.0K Aug 9 17:15 linux-headers-6.8.12-13-pve
drwxr-xr-x 25 root root 4.0K Aug 9 2024 linux-headers-6.8.12-1-pve
drwxr-xr-x 25 root root 4.0K Sep 21 2024 linux-headers-6.8.12-2-pve
drwxr-xr-x 25 root root 4.0K Nov 4 2024 linux-headers-6.8.12-3-pve
drwxr-xr-x 25 root root 4.0K Nov 11 2024 linux-headers-6.8.12-4-pve
drwxr-xr-x 25 root root 4.0K Dec 10 2024 linux-headers-6.8.12-5-pve
drwxr-xr-x 25 root root 4.0K Jan 18 2025 linux-headers-6.8.12-6-pve
drwxr-xr-x 25 root root 4.0K Jan 21 2025 linux-headers-6.8.12-7-pve
drwxr-xr-x 25 root root 4.0K Jan 30 2025 linux-headers-6.8.12-8-pve
drwxr-xr-x 25 root root 4.0K Mar 26 08:46 linux-headers-6.8.12-9-pve
drwxr-xr-x 25 root root 4.0K May 17 2024 linux-headers-6.8.4-3-pve
drwxr-xr-x 25 root root 4.0K Jun 21 2024 linux-headers-6.8.8-1-pve
drwxr-xr-x 25 root root 4.0K Jul 7 2024 linux-headers-6.8.8-2-pve
drwxr-xr-x 25 root root 4.0K Jul 19 2024 linux-headers-6.8.8-3-pve
drwxr-xr-x 25 root root 4.0K Jul 28 2024 linux-headers-6.8.8-4-pve