B
blendOSβ€’2mo 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
reDpzOPβ€’2mo 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
πŸŽ„ Asteriskβ€’2mo ago
the package data is cached so future builds won't take as long
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
you can add the pacman-contrib package and the command paccache -r -k 0 if you don't want that
reDpz
reDpzOPβ€’2mo 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
πŸŽ„ Asteriskβ€’2mo 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
reDpzOPβ€’2mo ago
they still have to be "installed"
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
yes because at reboot your old filesystem is swapped out for a new one
reDpz
reDpzOPβ€’2mo ago
so it is very much necessary
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
yes
reDpz
reDpzOPβ€’2mo ago
i see thanks for answering my questions
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
there might be ways to cache more of that process but for now that's the way it is
reDpz
reDpzOPβ€’2mo ago
the way you put it seems it will never be possible to rebuild without reinstalling all the packages on the new fs
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
because the new fs is a fresh system
reDpz
reDpzOPβ€’2mo ago
yeah i understand
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo 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
reDpzOPβ€’2mo ago
that makes sense
Want results from more Discord servers?
Add your server