all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: Jone <yeger9@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Sorry, stupid question about guix pull
Date: Tue, 8 Jan 2019 21:13:02 +0100	[thread overview]
Message-ID: <20190108211302.175220d0@lepiller.eu> (raw)
In-Reply-To: <CAH6o9V_+WUwVcAY2QfKfiKc02YW1wyFs-Rji+OVxXHubjmjG-A@mail.gmail.com>

Le Tue, 8 Jan 2019 17:49:40 +0000,
Jone <yeger9@gmail.com> a écrit :

> > this looks like it's part of an operating-system declaration. Is
> > that right?  
> 
> That's right.
> 
> > When you run guix pull, a new guix is installed for the user who
> > ran it.  
> 
> And who updates the system libraries and kernel? Root? Well, what is
> stated in  operating-system declaration?
> 
> > Try 'guix system reconfigure <path to config.scm>' instead.  
> 
> A! That is the question! So what to use for the upgrade system?!
> Upgrade or reconfigure? My operating-system declaration is the same.
> Not perfect, but I'll fix it later, with the help of 'reconfigure'
> (add noatime options as example).
> 
> > I'm not sure what that is... can you give a more concrete example?  
> 
> I'll leave it for later, it seems particular.
> 
> > I hope I could help a little :)  
> 
> In general, I understand everything. But! Update 0.15 -> 0.16 did not
> work. Errors are not saved, I will try again.

Generally speaking, you have to remember that there are at least three
profiles involved in Guix:

your user's profile (managed with 'guix package' as a user),
root's profile (managed with 'guix package' as root),
and the system profile when you use GuixSD (managed with 'guix system'
as root).

the operating-system declaration in your config.scm file is used to
instantiate a new system profile, which is separate from root's
profile. So you use that file with 'guix system reconfigure'. 'guix
package -u' will only upgrade root's or your user's profile.

The kernel is installed in the system profile, not in root's profile.
System libraries do not really exist in guix, because of the
functionnal model. So upgrading the system profile will upgrade system
software, grub and kernel as well as system services, but it doesn't
update anything in root or users' profiles.

A full upgrade consists in running 'guix pull' once as each user
(including root), then running 'guix package -u' (or 'guix package -m'
if you use a manifest) as every user, including root, and 'guix system
reconfigure' to also upgrade the system profile.

  reply	other threads:[~2019-01-08 20:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-08 16:52 Sorry, stupid question about guix pull Jone
2019-01-08 17:03 ` Julien Lepiller
2019-01-08 17:49   ` Jone
2019-01-08 20:13     ` Julien Lepiller [this message]
2019-01-09 18:27       ` Jone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190108211302.175220d0@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=yeger9@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.