From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Sorry, stupid question about guix pull Date: Tue, 08 Jan 2019 18:03:56 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gguo5-00063L-UV for help-guix@gnu.org; Tue, 08 Jan 2019 12:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gguo0-0007nI-Q5 for help-guix@gnu.org; Tue, 08 Jan 2019 12:04:48 -0500 Received: from lepiller.eu ([89.234.186.109]:45040) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggunt-0005t5-9c for help-guix@gnu.org; Tue, 08 Jan 2019 12:04:40 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jone Cc: help-guix 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 ' 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 :)