On Tuesday, 11/17/26 at 02:08 Heime <[email protected]> wrote: On Tuesday, November 17th, 2026 at 12:45 PM, Mario Calcagno <[email protected]> wrote:
> On Tuesday, November 17th, 2026 at 12:33 AM, Heime > <[email protected]> wrote: > > > On Tuesday, November 17th, 2026 at 12:08 PM, Mario Calcagno > > <[email protected]> wrote: > > > > > > > > On Monday, November 16th, 2026 at 11:20 PM, Heime > > > <[email protected]> wrote: > > > > > > > Having installed the Guix Package Manager, I ran "guix pull" and > > > > "guix update". > > > > > > > > Have noticed that the updated acted upon a lot of packages, almost > > > > filling up root with 1GB left. > > > > > > > > I thought that guix would only update packages installed by Guix > > > > via "guix install". This is not so. > > > > > > > > It is very easy to end up out of space on root whilst doing an update. > > > > If the guix update fails due to lack of space, would the entire update > > > > fail? > > > > > > > > Is there the capability to complete an update leaving some space on > > > > root? > > > > Leaving some packages un-updated. > > > > > > You can use the "--do-not-upgrade" (see info manual "(guix) Invoking guix > > > package") > > > when running "guix upgrade" to avoid upgrading some packages. It would > > > still be better > > > to use guix gc to free some space. > > > > I did call "guix gc" before "guix pull" followed by "guix upgrade". Even > > so, > > I had only about 1 GB of space left. > > How many generations do you have? Unfortunaly guix uses a lot of space and > once I was > able to use all my available inode on my laptop so I understand the > frustation. You should > check how many generations you have with "guix package --list-generations" > and see if you can > delete some of them. After you delete some of them you should run "guix gc" > to free some space. >Could not understand generations very well. The >command shows Generation 33 >and Generation 34. No idea where the others are. You could check with "guix package --list-generations | grep "Generation" | wc -l" If the output is 2 then you have only the last two generation on your system, if it's a bigger number you need to remove some of them. Be aware that you need to change the word "Generation" depending on the language of the system. For example I have to change it to "Generazione" because I'm Italian. >Also, this is very confusing. In "5.6 Invoking guix gc" >The garbage collector has a set of known roots: any file under /gnu/store >reachable from a root is considered live and cannot be deleted; any other file is considered dead and may be deleted. > >What does it mean "reachable from a root". How >do files get considered dead? To my understanding a file is "dead" when: - it's not part of a profile - it's not part of a generation If you run "guix remove nano", nano is still alive because it's part of the last generation (not counting the current). This happen because you need a copy of every package present in a generation to their specific version to be able to roll back. To make nano a dead file you'd need to remove all the profiles that contain it or to remove all generation before the generation where you remove it. This also means that if you use guix shell to run a program that isn't part of your profile and then run guix gc, the garbage collector will see it as dead and it will be removed. > > TeX Live is too large for practical use, and I'd prefer it if they > > didn’t bundle everything together the way they do. Users should be > > able to install only the components they need. It's frustrating > > that the developers are unwilling to listen to users' build difficulties > > and continue to prioritize their own academic perspective. > > Did you read > https://guix.gnu.org/manual/1.5.0/en/html_node/Using-TeX-and-LaTeX.html ? > > Personally for TexLive I have the following packages inside my home config: > - "texlive-latex-bin" > - "texlive-dvipng-bin" > - "texlive-scheme-basic" > - "texlive-collection-luatex" > - "texlive-collection-langitalian" > - "texlive-collection-fontsextra" > - "texlive-collection-fontsrecommended" > - "texlive-tabularray" > > Then I just add the packages I need one by one. For now it's only > texlive-tabularray > > > > > It is not easy finding practical information about how the Guix Package > > > > Manager works, what it does, and how to manage packages practically. > > > > > > > Did you check the videos section on the website > > > (https://guix.gnu.org/en/videos/)? > > > > Something written would be more helpful. Material not overly long that > > distills the core workings and design. > > Personally I tend to read the man pages for the single subcommands. When I > need more > information (like when I need to setup something new) I search on the > CookBook or the > relevant section in the manual. I also found this repo: > https://gitlab.com/pjotrp/guix-notes/ > that contains a good amount of information in a digestable format (it's where > I learned about > garbage collection).
