I guess I'm still a little confused. Suppose that I want to update all
packages, on my system.  The ones owned by root, and the ones owned by
all other users.  Then I'd do this?

$ guix pull && guix package -u

$ logout

$ login DifferentUser

$ guix pull && guix package -u

 ...repeat for all other users...

$ su

# guix pull && guix package -u && guix system reconfigure /etc/config.scm

Does that look right?

Mark H Weaver <[email protected]> writes:

> Hi Joshua,
>
> Joshua Branson <[email protected]> writes:
>> Maybe I'm being really silly, but don't you just do a guix pull as a
>> root user not as a normal user?
>
> No.  Guix is not like most distros where you have to be root to update
> the package list, and where root's package list is used by all other
> users.
>
> In the Guix model, each user has their own version of Guix and its
> package list.  When a user runs "guix pull", it only updates Guix for
> that particular user, by changing the symlink ~/.config/guix/latest.
>
> If root runs "guix pull", it only updates the package list for root, by
> changing the symlink ~root/.config/guix/latest.
>
>     Regards,
>       Mark

Reply via email to