Thursday, May 2, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 887  / 1 Year ago, tue, may 16, 2023, 5:47:56

When trying this : How can I duplicate my existing software packages on a new system? , after fetching all the packages, during the process of unpacking, my 2.88GB /var partition ran out of space completely.



Now when I try to run an upgrade or even a partial upgrade of the softwares that I have downloaded, my update manager is crashing and failing complaining that I do not have enough memory left in my /var partition which unfortunately, is true.



Is there a workaround for this problem? Attaching a screen shot of my hard drive partitions : enter image description here



/dev/sda11 is the one that has run out of space.


More From » partitioning

 Answers
3

Your root partition seems to have more disk space. Boot into recovery console, mount /dev/sda10 and /dev/sda11 somewhere, copy all data keeping permissions from /dev/sda11 to /var directory on /dev/sda10.



Then edit /etc/fstab to comment out the line which mounts /var. Reboot. Have fun.



To prevent this from happening in the future, I would then delete /dev/sda10 and resize your root partition to use those additional 2.8Gb. There's really no benefit in having a separate /var partition if you have that little disk space.


[#38849] Wednesday, May 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suspengn

Total Points: 477
Total Questions: 104
Total Answers: 100

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
;