Announcement

Collapse
No announcement yet.

root partition full

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Schwarzer Kater
    replied
    Originally posted by Robert24 View Post
    […]
    Schwarzer Kater
    I'm not sure what you meant about the formatting but I think that I removed all the tags in my previous posts and I will try to keep doing it.
    […]
    Thank you - I think Snowhog already was so kind to edit it.

    You could also leave out the loop devices in the output of sudo fdisk -l (I did not take into account that you have some Snaps mounted by the system - and they are not needed for partitioning information of a drive).

    Have you already done some "little things" like cleaning the APT cache, shrinking or removing the log files and purging all residual configs for uninstalled packages yet? This might not have that much of an effect, but it will not do any harm either and is worth a try with only 133 MB of free space left…

    Moving the /swapfile to another partition and/or uninstalling and replacing the Firefox Snap will give you even more free space.

    How much free space do you have now?


    And slightly OT:
    Originally posted by vanadiumboy View Post
    […]
    I make a swap partition of 50 GB.
    […]
    There is at least some minimal context needed, because a 50 GB swap partition certainly is not best for everyone (but I do prefer swap partitions to swap files and to zram swap myself, for several reasons):

    Which use case? Gaming? Database server? And did you thoroughly test (and optimize) the swap behaviour of your system under heavy load?
    How much physical memory do you have?
    Do you use hibernation?
    Last edited by Schwarzer Kater; Jul 08, 2023, 05:58 PM. Reason: added OT stuff, typos

    Leave a comment:


  • vanadiumboy
    replied
    Originally posted by Snowhog View Post
    No. What oshunluvr is saying is that with btrfs you can have a single 180GB partition instead of the two separate partitions you have now.
    Oh ok.
    But you can do that with any filesystem format, of course.
    25 GB as the OP has and even 180 GB is puny by today's standards. That's like a HDD from 2000 and 2005.

    I would say, give it 1 TB.
    If you are going to be installing a bunch games, each one 50 GB, then get yourself a minimum of 2 TB.

    I just make a root partition of about 1 TB where everything is. I make a swap partition of 50 GB.
    Eventually, I had to mount another 1 TB for the games.

    Since Steam installs the games in my home folder, I mounted a 1 TB HDD disk to the Steam folder and copied all of it to that folder, which results in the files getting copied to HDD 2.
    I think the folder is /home/john/.local/share/Steam

    Leave a comment:


  • kubicle
    replied
    Originally posted by Snowhog View Post
    The OP’s output shows a lot of status ‘rc’ kernels.
    Yes, that's a lot of residual config-files for removed kernels...IMHO purging config-files definitely should be set as the default when removing packages.

    One should be able to purge all residual configs for uninstalled packages with (for example):
    Code:
    sudo apt purge $(dpkg -l | awk '/^rc/ {print $2}')​
    How much space is freed depends on how many packages have been removed instead of purged

    Leave a comment:


  • Snowhog
    replied
    No. What oshunluvr is saying is that with btrfs you can have a single 180GB partition instead of the two separate partitions you have now.

    Leave a comment:


  • vanadiumboy
    replied
    Originally posted by oshunluvr View Post
    Finally, I wouldn't be me if I didn't point out how using BTRFS instead of EXT4 would have avoided this problem. Instead of having a less than half empty /home and a full /, you would have one 180GB (sda5+sda6) partition at about 50% full and both the root OS and Home subvolumes sharing the free space. Kind of a difficult transition at this point, but maybe for a later install...
    I don't understand.
    You can have a single partition and format it as ext4.
    Are you saying you can have multiple partitions, each one formated as BTRFS and it presents itself as a single partition?

    Leave a comment:


  • Snowhog
    replied
    Originally posted by kubicle View Post
    It would probably be better to use something like:

    dpkg --list | grep linux-image

    Which should show installed kernel image packages, including ones that have not been completely removed (the ones that start with 'rc').
    The OP’s output shows a lot of status ‘rc’ kernels.
    Last edited by Snowhog; Jul 08, 2023, 10:08 AM.

    Leave a comment:


  • Robert24
    replied
    Snowhog I did indeed an upgrade from ubuntu 20.04 to 22.04 not so long ago. Here is the output of
    ls -la /usr/src
    (base)blabla:~$ ls -la /usr/src
    total 24
    drwxr-xr-x 6 root root 4096 Jun 29 09:10 .
    drwxr-xr-x 14 root root 4096 Jul 31 2020 ..
    drwxr-xr-x 25 root root 4096 Jun 19 20:50 linux-headers-5.15.0-75
    drwxr-xr-x 7 root root 4096 Jun 19 20:50 linux-headers-5.15.0-75-generic
    drwxr-xr-x 25 root root 4096 Jun 29 09:08 linux-headers-5.15.0-76
    drwxr-xr-x 7 root root 4096 Jun 29 09:08 linux-headers-5.15.0-76-generic
    kubicle here is the output of
    dpkg --list | grep linux-image
    (base) blabla:~$ dpkg --list | grep linux-image
    rc linux-image-5.15.0-70-generic 5.15.0-70.77 amd64 Signed kernel image generic
    rc linux-image-5.15.0-71-generic 5.15.0-71.78 amd64 Signed kernel image generic
    rc linux-image-5.15.0-72-generic 5.15.0-72.79 amd64 Signed kernel image generic
    rc linux-image-5.15.0-73-generic 5.15.0-73.80 amd64 Signed kernel image generic
    ii linux-image-5.15.0-75-generic 5.15.0-75.82 amd64 Signed kernel image generic
    ii linux-image-5.15.0-76-generic 5.15.0-76.83 amd64 Signed kernel image generic
    rc linux-image-5.4.0-100-generic 5.4.0-100.113 amd64 Signed kernel image generic
    rc linux-image-5.4.0-104-generic 5.4.0-104.118 amd64 Signed kernel image generic
    rc linux-image-5.4.0-105-generic 5.4.0-105.119 amd64 Signed kernel image generic
    rc linux-image-5.4.0-107-generic 5.4.0-107.121 amd64 Signed kernel image generic
    rc linux-image-5.4.0-109-generic 5.4.0-109.123 amd64 Signed kernel image generic
    rc linux-image-5.4.0-110-generic 5.4.0-110.124 amd64 Signed kernel image generic
    rc linux-image-5.4.0-113-generic 5.4.0-113.127 amd64 Signed kernel image generic
    rc linux-image-5.4.0-117-generic 5.4.0-117.132 amd64 Signed kernel image generic
    rc linux-image-5.4.0-120-generic 5.4.0-120.136 amd64 Signed kernel image generic
    rc linux-image-5.4.0-121-generic 5.4.0-121.137 amd64 Signed kernel image generic
    rc linux-image-5.4.0-122-generic 5.4.0-122.138 amd64 Signed kernel image generic
    rc linux-image-5.4.0-124-generic 5.4.0-124.140 amd64 Signed kernel image generic
    rc linux-image-5.4.0-125-generic 5.4.0-125.141 amd64 Signed kernel image generic
    rc linux-image-5.4.0-126-generic 5.4.0-126.142 amd64 Signed kernel image generic
    rc linux-image-5.4.0-128-generic 5.4.0-128.144 amd64 Signed kernel image generic
    rc linux-image-5.4.0-131-generic 5.4.0-131.147 amd64 Signed kernel image generic
    rc linux-image-5.4.0-132-generic 5.4.0-132.148 amd64 Signed kernel image generic
    rc linux-image-5.4.0-135-generic 5.4.0-135.152 amd64 Signed kernel image generic
    rc linux-image-5.4.0-136-generic 5.4.0-136.153 amd64 Signed kernel image generic
    rc linux-image-5.4.0-137-generic 5.4.0-137.154 amd64 Signed kernel image generic
    rc linux-image-5.4.0-139-generic 5.4.0-139.156 amd64 Signed kernel image generic
    rc linux-image-5.4.0-144-generic 5.4.0-144.161 amd64 Signed kernel image generic
    rc linux-image-5.4.0-147-generic 5.4.0-147.164 amd64 Signed kernel image generic
    rc linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
    rc linux-image-5.4.0-62-generic 5.4.0-62.70 amd64 Signed kernel image generic
    rc linux-image-5.4.0-64-generic 5.4.0-64.72 amd64 Signed kernel image generic
    rc linux-image-5.4.0-65-generic 5.4.0-65.73 amd64 Signed kernel image generic
    rc linux-image-5.4.0-66-generic 5.4.0-66.74 amd64 Signed kernel image generic
    rc linux-image-5.4.0-67-generic 5.4.0-67.75 amd64 Signed kernel image generic
    rc linux-image-5.4.0-70-generic 5.4.0-70.78 amd64 Signed kernel image generic
    rc linux-image-5.4.0-71-generic 5.4.0-71.79 amd64 Signed kernel image generic
    rc linux-image-5.4.0-72-generic 5.4.0-72.80 amd64 Signed kernel image generic
    rc linux-image-5.4.0-73-generic 5.4.0-73.82 amd64 Signed kernel image generic
    rc linux-image-5.4.0-74-generic 5.4.0-74.83 amd64 Signed kernel image generic
    rc linux-image-5.4.0-77-generic 5.4.0-77.86 amd64 Signed kernel image generic
    rc linux-image-5.4.0-80-generic 5.4.0-80.90 amd64 Signed kernel image generic
    rc linux-image-5.4.0-81-generic 5.4.0-81.91 amd64 Signed kernel image generic
    rc linux-image-5.4.0-84-generic 5.4.0-84.94 amd64 Signed kernel image generic
    rc linux-image-5.4.0-86-generic 5.4.0-86.97 amd64 Signed kernel image generic
    rc linux-image-5.4.0-88-generic 5.4.0-88.99 amd64 Signed kernel image generic
    rc linux-image-5.4.0-89-generic 5.4.0-89.100 amd64 Signed kernel image generic
    rc linux-image-5.4.0-90-generic 5.4.0-90.101 amd64 Signed kernel image generic
    rc linux-image-5.4.0-91-generic 5.4.0-91.102 amd64 Signed kernel image generic
    rc linux-image-5.4.0-92-generic 5.4.0-92.103 amd64 Signed kernel image generic
    rc linux-image-5.4.0-94-generic 5.4.0-94.106 amd64 Signed kernel image generic
    rc linux-image-5.4.0-96-generic 5.4.0-96.109 amd64 Signed kernel image generic
    rc linux-image-5.4.0-97-generic 5.4.0-97.110 amd64 Signed kernel image generic
    rc linux-image-5.4.0-99-generic 5.4.0-99.112 amd64 Signed kernel image generic
    ii linux-image-generic 5.15.0.76.74 amd64 Generic Linux kernel image

    Thanks again for all your messages and support. It's very helpful.

    PS: I see that my previous message where I tried to reply to most of your question, is marked as "Unapproved". I don't know if it's a temporary measure or if it's something else. I tried to use the QUOTE where there was too much bold or stuff like this in the terminal output, but maybe I missed something. Please, don't hesitate to correct me if I did something wrong.
    Last edited by Robert24; Jul 08, 2023, 06:34 AM.

    Leave a comment:


  • Robert24
    replied
    Thank you all for your answers. Your support is very much appreciated.
    I will try to reply to you one by one. (I started writing my reply but I realize that I won't have the time to finish it now because I have an appointment. I will come back and write a second message where I reply to all your other messages as soon as I can. Sorry for the delay, today I need to run everywhere)

    Schwarzer Kater
    I'm not sure what you meant about the formatting but I think that I removed all the tags in my previous posts and I will try to keep doing it.

    Here is the output of sudo du -hd1 -x /:
    Code:
    blabla:~$ sudo du -hd1 -x /
    [sudo] password for me:  
    13M     /root
    8.0K    /media
    68K     /snap
    4.0K    /cdrom
    4.0K    /mnt
    256M    /boot
    16K     /lost+found
    du: cannot access '/tmp/.mount_jetbrazEc1eK': Permission denied
    780K    /tmp
    11G     /usr
    4.0K    /srv
    13M     /etc
    12G     /var
    679M    /opt
    23G     /
    I looked at the size of /var/lib and it takes 9.4G of space, 6.1G of which are allocated to /var/lib/snapd and 2.8G to /var/lib/docker.
    Here is the detailed content of this last directory:
    Code:
    blabla:~$ sudo du -hd1 -x /var/lib/snapd
    60K     /var/lib/snapd/cookie
    1.1M    /var/lib/snapd/apparmor
    2.3G    /var/lib/snapd/cache
    4.0K    /var/lib/snapd/environment
    4.0K    /var/lib/snapd/auto-import
    284K    /var/lib/snapd/seccomp
    8.0K    /var/lib/snapd/ssl
    4.0K    /var/lib/snapd/void
    4.0K    /var/lib/snapd/inhibit
    3.9G    /var/lib/snapd/snaps
    4.0K    /var/lib/snapd/hostfs
    12K     /var/lib/snapd/dbus-1
    68K     /var/lib/snapd/sequence
    20K     /var/lib/snapd/lib
    64K     /var/lib/snapd/mount
    12K     /var/lib/snapd/device
    40K     /var/lib/snapd/desktop
    1.4M    /var/lib/snapd/assertions
    4.0K    /var/lib/snapd/features
    4.0K    /var/lib/snapd/firstboot
    6.1G    /var/lib/snapd
    Here are the output of the commands you suggested (I use the QUOTE tag because ther is a lot of bold).

    sudo fdisk -l
    blabla:~$ sudo fdisk -l
    Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop1: 118.23 MiB, 123973632 bytes, 242136 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop2: 118.23 MiB, 123973632 bytes, 242136 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop3: 55.64 MiB, 58339328 bytes, 113944 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop4: 55.66 MiB, 58368000 bytes, 114000 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop5: 245 MiB, 256905216 bytes, 501768 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop6: 63.45 MiB, 66527232 bytes, 129936 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
    Disk model: SAMSUNG MZ7LN512
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: DBAF1448-9672-4366-8996-CE771EE12CB2

    Device Start End Sectors SizeType
    /dev/sda1 2048 534527 532480 260M EFI System
    /dev/sda2 534528 567295 32768 16M Microsoft reserved
    /dev/sda3 567296 559597567 559030272 266.6G Microsoft basic data
    /dev/sda4 998166528 1000214527 2048000 1000M Windows recovery environment
    /dev/sda5 559597568 610797567 51200000 24.4G Linux filesystem
    /dev/sda6 610797568 948389887 337592320 161G Linux filesystem
    /dev/sda7 948389888 956778495 8388608 4G Linux swap
    /dev/sda8 956778496 998166527 41388032 19.7G Linux filesystem

    Partition table entries are not in disk order.


    Disk /dev/loop9: 73.86 MiB, 77443072 bytes, 151256 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop8: 73.85 MiB, 77438976 bytes, 151248 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop10: 244.48 MiB, 256360448 bytes, 500704 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop11: 164.82 MiB, 172830720 bytes, 337560 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop12: 164.82 MiB, 172830720 bytes, 337560 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop13: 349.69 MiB, 366673920 bytes, 716160 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop14: 349.69 MiB, 366678016 bytes, 716168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop15: 63.45 MiB, 66531328 bytes, 129944 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop16: 466.54 MiB, 489201664 bytes, 955472 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop17: 81.26 MiB, 85209088 bytes, 166424 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop18: 91.69 MiB, 96141312 bytes, 187776 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop19: 76 KiB, 77824 bytes, 152 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop20: 141.37 MiB, 148238336 bytes, 289528 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop21: 180.46 MiB, 189227008 bytes, 369584 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop22: 322.95 MiB, 338636800 bytes, 661400 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop23: 347.02 MiB, 363876352 bytes, 710696 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop24: 347.15 MiB, 364011520 bytes, 710960 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop25: 485.52 MiB, 509100032 bytes, 994336 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

    lsblk -e7
    (base) blabla:~$ lsblk -e7
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    sda 8:0 0 476.9G 0 disk
    ├─sda1 8:1 0 260M 0 part /boot/efi
    ├─sda2 8:2 0 16M 0 part
    ├─sda3 8:3 0 266.6G 0 part /media/me/Windows
    ├─sda4 8:4 0 1000M 0 part
    ├─sda5 8:5 0 24.4G 0 part /var/snap/firefox/common/host-hunspell
    │ /
    ├─sda6 8:6 0 161G 0 part /home
    ├─sda7 8:7 0 4G 0 part [SWAP]
    └─sda8 8:8 0 19.7G 0 part /media/me/backup
    lsblk -f -e7
    blabla:~$ lsblk -f -e7
    NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
    sda
    ├─sda1
    │ vfat FAT32 SYSTEM
    │ D83C-5AC4 221M 14% /boot/efi
    ├─sda2

    ├─sda3
    │ ntfs Windows
    │ 96943F91943F733B 9.5G 96% /media/me/Windows
    ├─sda4
    │ ntfs WinRE_DRV
    │ 5C2C3FDF2C3FB33E
    ├─sda5
    │ ext4 1.0 8e00456f-4fe4-4faf-b820-75e735c5f8db 303.4M 94% /var/snap/f
    irefox/common/host-hunspell
    │ /
    ├─sda6
    │ ext4 1.0 c49de744-7baa-4273-980b-0ffcf1bd9808 80.5G 44% /home
    ├─sda7
    │ swap 1 00072d64-416d-4566-8c59-0a3b469c6524 [SWAP]
    └─sda8
    ext4 1.0 backup
    302f611e-26af-483d-aa59-81f160509a14 18.3G 0% /media/me/backup
    oshunluvr I have to admit that I'm very ignorant when it comes to types of partitions. The closer I get to the physical machine the less idea I have about what's going on. I would actually love to understand these topics better. I'm trying to become a decent software engineer and I reduced my work percentage to have time to study a bit. Do you (or anyone else) have any recommendation regarding some resource which could provide me with a minimal background to understand these topics? I like reading books so if you have a reference on the topic, that would be great. Or maybe just some good blog because I'm not planning on becoming a specialist of the topic. I would just like to understand what you guys are talking about.
    For the back-up, I made one yesterday on an external hard drive. I'm thinking of buying a second one just in case. I will aslo try to see if I can make a drop box account.
    Concerning the back-up partition, I honestly don't remember where this comes from. As you realize I'm a bit lost so I tend to follow instructions like a monkey, which explains why I have empty partitions on my disk...
    I have a bad memory of moving partitions on my disk (even if I have amazing memories of the support I received on this forum for solving this issue years ago), so I would prefer the safer option (2). Maybe next year, I'll reinstall the system with Kubuntu 24.04 and I'll try to make it as clean as possible.
    About BTRFS and EXT4, I really have no clue what these represent and what are the difference. But I would love to learn.



    Last edited by Robert24; Jul 09, 2023, 05:54 AM.

    Leave a comment:


  • Schwarzer Kater
    replied
    Originally posted by kubicle View Post
    […]
    (do you need gnome snaps installed?)
    I think the Firefox Snap and the Wine Snap depend on them. On all of them? I don't know…
    Unfortunately I have not come across something like flatpak uninstall --unused for Snaps yet.
    Last edited by Schwarzer Kater; Jul 08, 2023, 04:24 AM.

    Leave a comment:


  • kubicle
    replied
    Originally posted by Snowhog View Post
    Easy 'nough to check. In a konsole, type: ls -la /usr/src
    This is not a surefire way check installed kernels (as normally only the kernel headers are shown...and these can be installed separately from the kernel images)

    It would probably be better to use something like
    Code:
    dpkg --list | grep linux-image
    ​
    Which should show installed kernel image packages, including ones that have not been completely removed (the ones that start with 'rc').

    That said, I don't think excessive kernel installations are the main problem here (according to the outputs). I'd clean the apt cache first, like SK mentioned [EDIT on second look, /var/cache looks rather clean], and then look into the snaps (do you need gnome snaps installed?)
    Last edited by kubicle; Jul 07, 2023, 11:15 PM.

    Leave a comment:


  • GreyGeek
    commented on 's reply
    I kept wanting to mention BTRFS but I didn't want to sound like a one trick pony, even if that one trick solves a LOT of filesystem problems.
    It's never too early to do a fresh install and use BTRFS as the root filesystem.

  • Snowhog
    replied
    Easy 'nough to check. In a konsole, type: ls -la /usr/src

    Leave a comment:


  • claydoh
    replied
    Originally posted by Schwarzer Kater View Post
    Don't the standard update settings in *ubuntu clean out old kernels automatically?
    At least "too many old kernels" doesn't seem to be shown by the ncdu output of post # 1 AFAIKT.
    It is supposed to, but can be broken, especially in older releases, before Debian built it into Apt instead of being separately scripted. Also, upgrades to new releases, or adding different 'tracks (Adding HWE to an .0 or .1 LTS install) or manually installing individual kernels (say, from Mainline) can make it grow.
    I don't think autoremove cleans these out.

    Leave a comment:


  • Schwarzer Kater
    replied
    Don't the standard update settings in *ubuntu clean out old kernels automatically?
    At least "too many old kernels" doesn't seem to be shown by the ncdu output of post # 1 AFAIKT.

    Leave a comment:


  • Snowhog
    replied
    What everyone is missing, IMO, and haven't (yet) asked about, is how many kernels are installed. Generally, in my experience, the number one cause of a / partition reaching near capacity and presenting the problem the OP is experiencing, is a BUTT LOAD of installed kernels.

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X