Proxmox VE: Issues with updating and upgrading.

gristle4530

New Member
Aug 21, 2026
1
0
1
Hello there,

As a novice who's only recently gotten into this I have run into an issue that I've not been able to solve.


When running:
sudo apt update && sudo apt upgrade
My SSH is not functioning either, so I'm not typing over the entire standard return message.
148 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 300 MB of archives.
After this operation, 98.6 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.

I then try clear the cache with the following commands:
apt clean && apt autoclean && apt autoremove
Reading package lists... Done
Building depency tree... Done
Reading state information... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
Followed by:
sudo apt update && sudo apt upgrade
[...]
Code:
148 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 300 MB of archives.
After this operation, 98.6 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.

When running:
du -shc /* | sort -h
0 /bin
0 /lib
0 /proc
0 /sbin
0 /sys
4.0K /dev
4.0K /media
4.0K /srv
16K /lost+found
24K /opt
40K /root
360K /tmp
3.0M /run
5.4M /etc
128M /boot
320M /home
2.9G /usr
11G /var
2.0T /mnt
2.1T total

Which confirms to me there's plenty of room to be saved at /var indeed.

When running:
ls -la /var/cache/apt/archives
total 32
drwxr-xr-x 3 root root 20480 Aug 21 17:27 .
drwxr-xr-x 3 root root 4096 Aug 21 18:35 ..
-rw-r----- 1 root root 0 Nov 19 2024 lock
drwx------ 2 _apt root 4096 Aug 19 14:35 partial

However when running ls -la /var/cache/apt/archives
lock partial

It now seems that the larger file within /var/cache/apt/archives is a hidden file/directory.
Any wise ideas on how I may proceed?

Thank you so much for reading this far.
 
Last edited:
  • Like
Reactions: UdoB