Clearing the apt packages cache does not help, neither do I have any extra update packages. Whenever I try to apt install something, it tells me I have no space left. df -h
says my /var/ is full, so I'm trying to resize it, but neither fdisk or lvextend seem to work. Do I need a reinstall?
edit: df output
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.8M 1.6G 1% /run
/dev/nvme0n1p6 23G 15G 7.3G 67% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/nvme0n1p9 1.8G 156K 1.7G 1% /tmp
/dev/nvme0n1p7 9.1G 8.6G 23M 100% /var
/dev/nvme0n1p10 864G 46G 775G 6% /home
tmpfs 1.6G 80K 1.6G 1% /run/user/1000
but neither fdisk or lvextend seem to work.
fdisk by itself won't help, it may allow you to increase the size of that partition if there is unused space directly after that partition, but then you'd still have to resize the partition into the newly added space ... lvextend would help if you were even using LVM, which does not seem to be the case - add the output offdisk -l /dev/nvme0n1
to the questiondu -s /var/* | sort -n
to find out which subdirectory occupies the most space, then drill down if necessary. Or use a user-friendly tool like ncdu. You may be able to delete some of the data in /var.