B
blendOS3w ago
reDpz

Updates reinstall every app and take forever

It makes sense it takes very long to update since i have quite a few packages to install but blendos is seemingly reinstalling every single package I list in system.yaml? Am I using this wrong? Whenever I want a new package I put it into system.yaml then run sudo akshara update. With nixos I could just rebuild my system and it would take much less time while only installing and updating stuff that needs to be installed and updated
Solution:
the package data is cached so future builds won't take as long
Jump to solution
16 Replies
reDpz
reDpz3w ago
my install is relatively new (so it still doesn't have every single package I'm going to end up needing) and its not on my main machine, I'm worried that eventually as I keep adding packages I need the update time will end up ballooning to the point its unusable.
Solution
Asterisk
Asterisk3w ago
the package data is cached so future builds won't take as long
Asterisk
Asterisk3w ago
you can add the pacman-contrib package and the command paccache -r -k 0 if you don't want that
reDpz
reDpz3w ago
when you say repeat builds do you mean like before rebooting or after? since i can only update my system once per boot
Asterisk
Asterisk3w ago
just the package files themselves, so they still have to be installed and built the system is only rebuilt when you run the command the first time the packages are downloaded they're saved so if you rebuild on the next boot or later on they're already downloaded
reDpz
reDpz3w ago
they still have to be "installed"
Asterisk
Asterisk3w ago
yes because at reboot your old filesystem is swapped out for a new one
reDpz
reDpz3w ago
so it is very much necessary
Asterisk
Asterisk3w ago
yes
reDpz
reDpz3w ago
i see thanks for answering my questions
Asterisk
Asterisk3w ago
there might be ways to cache more of that process but for now that's the way it is
reDpz
reDpz3w ago
the way you put it seems it will never be possible to rebuild without reinstalling all the packages on the new fs
Asterisk
Asterisk3w ago
because the new fs is a fresh system
reDpz
reDpz3w ago
yeah i understand
Asterisk
Asterisk3w ago
the arch rootfs is extracted into a folder to become the start of your new filesytsem so it has to install your packages to it for it to be your system
reDpz
reDpz3w ago
that makes sense
Want results from more Discord servers?
Add your server