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, 08 Jan 2019 18:03:56 +0100 [thread overview]
Message-ID: <a9163f2bf9d44aa251111a0b96f2e090@lepiller.eu> (raw)
In-Reply-To: <CAH6o9V-yvi1HYqa+WL0nmp2VAQmjAvEp6N5_oTpQ7GRRwz659g@mail.gmail.com>
Le 2019-01-08 17:52, Jone a écrit :
> I need execute this as root? For upgrade system libraries and kernel.
> Part of my config:
>
> (packages
> (let ((trash (map specification->package
> '("zile" "wireless-tools"))))
> (append (map specification->package
> '("xfce" "slim" "gvfs" "xrandr" "unzip"
> "emacs" "w3m" "emacs-guix" "alsa-lib"
> "moreutils" "mlocate" "tree" "file"
> "autobuild" "autoconf" "autogen" "automake" "ccache"
> "cmake"
> "gcc-toolchain" "make"
> ;;; and dependences - visibly!
> "gnutls" "ncurses" "libx11" "gtk+" "imagemagick"
> "acl" "zlib"
> "dbus" "glibc-utf8-locales"
> ;;; new/additional
> "alsa-utils" "nss-certs"))
> (remove (lambda (pkg)
> (memq pkg trash))
> %base-packages)))) ;; %base-packages selected
> here!
Hi Jone,
don't be sorry, we're here to answer your questions anyway. And no
question is stupid ;)
this looks like it's part of an operating-system declaration. Is that
right?
>
> I don't really understand how it works, but it was OK before, and now
> I can't upgrade the system (the current version is 0.15).
> Many libraries have not been updated with this config when you try to
> update as 'su -l; guix pull'.
When you run guix pull, a new guix is installed for the user who ran it.
That new guix comes with updated package definitions, but it doesn't
update
anything by itself.
>
> What is my mistake - I would like to use simple package names, but I
> want them to be the latest versions. And after 'guix pull' I run 'guix
> package -u', but no upgrade.
'guix package -u' upgrades packages that are present in the user's
profile
according to package definitions that were updated with 'guix pull'.
But you want to update the system profile itself, which is managed
separately
from root's or you user's profile. Try 'guix system reconfigure <path to
config.scm>'
instead.
>
> I see a message when I try to update individual packages: "Need
> upgrade X with Y".
I'm not sure what that is... can you give a more concrete example?
I hope I could help a little :)
next prev parent reply other threads:[~2019-01-08 17:04 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 [this message]
2019-01-08 17:49 ` Jone
2019-01-08 20:13 ` Julien Lepiller
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=a9163f2bf9d44aa251111a0b96f2e090@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.