How to keep the downloaded files of the swupd installed?

I installed a clr-linux in one machine, and installed many packs, like vim, net-tools, service-os …
Now I want install clr-linux in another machine with the same version. I copied the folder /var/lib/swupd/ to the new machine.
But when I install vim/net-tools, it still need download the packs.
Does the clr-linux clean the packs after installed? If I want to keep the downloaded files to avoid downloading everytime, what should I do?


Yes, swupd clean is ran periodically by a systemd timer/service. You can mask it with sudo systemctl mask swupd-cleanup.timer as long as you’re aware of the disk space that will be consumed by those files in /var/lib/swupd

1 Like