when I update Garuda KDE it seems that the update uses too much space. Like the last time I updated it took over 15GB of hdd space. Is that normal or did something go wrong? I already reinstalled Garuda from scratch for the same reason. I ran out of hdd space just from updating the system. All I did was "pacman -Syyu" a few times and it ate up all the free storage space.
Please let me know if you need any more info. Also, I'm a noob so have patience.
Also, why is my pasted inxi output not formated right like in other posts? I did the "~~~" thing ...
edit:
In "Add/Remove Software" there is only 800MB of cache to be removed and the update took up 15GB. Number of versions of each package to keep is set to 3. If I set it to 0, then there is 15GB to remove. What is best practice? To keep 3 versions as this is set as default? Could it be that because this is a relatively fresh install and that the packages get piled up until they reach a count of 4 (current version + the 3 versions to keep)?
I think if he wants to clean space, he will have to clean some snapshots after cleaning pacman cache, because I am not seeing /var/cache in the subvolume list ( meaning that its under the root. I am assuming snapshots because its btrfs, but of course, there might not be any snapshots )
I have 5 snapshots and they take up 14.5GB of space and the unshared portion is 2GB in two snapshots and 100-250MB in the other three. So that shouldn't be the issue.
I cleaned the cache with "pacman -Sc" and that cleaned about 7GB of data. The last update used about 15GB of data.
I also cleaned the cache and package cache with Garuda Assistant but with no change to the free space. Looks like "pacman -Sc" deleted all that there was to delete.
The only difference I see is in the Add/Remove Software general settings under cache. There was 15GB to be removed (before cleaning the cache with pacman) if I set the number of versions of each package to keep to zero. Now there is 7.8GB to be removed. If you add that up with the 7GB cleaned with the "pacman -Sc" command you end up with 15GB. The only thing is that the last update didn't install/download three old package versions. It downloaded one, left three and deleted the fourth. That shouldn't be the issue.
Anyway I set it to zero and cleaned the cache and that freed up approx. 8GB. I'll keep the "versions to keep" at zero and track the changes while updating. Maybe that is the solution. To keep the count set to 0 instead of the default 3 versions to keep. But the question is why the default setting is to keep 3 old versions of a package?
I never had any space issues with updating on distributions like Manjaro so I don't think that it has something to do with Arch or pacman. It must be something with the settings or eventually with timeshift and btrfs?
@dalto
Yeah .. that part with the useless additional load makes sense!
I have no idea how to rollback to older versions so I'll keep it at zero for now (and learn to roll back along the way)
@SGS
Never came to my mind that it would be a script. Found the "lazy" comment looks like half gibberish to me the other half I understand
Every day I realize how much more there is to learn!
One quickie - how do you format output from the terminal when pasted to the forum? I did the ~~~ thing but it got messed up. Like the "inxi" output. In the terminal it has like two columns but when i pasted it to the forum it's just like normal text without columns. I see posts from other members where it is nice formatted --> readable.
That is how you do it. Something must have gotten messed up in the middle. Did you copy it directly from a terminal to the forum? Which terminal did you use?
I use Konsole (the default one on KDE?) and copied it directly to the forum. Selected the output in the terminal with the mouse → right click “copy” → right click “paste” to the forum and added the ~~~.