[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorry, stupid question about guix pull

From: Julien Lepiller
Subject: Re: Sorry, stupid question about guix pull
Date: Tue, 08 Jan 2019 18:03:56 +0100
User-agent: Roundcube Webmail/1.3.8

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:

 (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>'

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 :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]