From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6CGsIZsLomHgQgEAgWs5BA (envelope-from ) for ; Sat, 27 Nov 2021 11:42:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kL5SHZsLomFIegAAbx9fmQ (envelope-from ) for ; Sat, 27 Nov 2021 10:42:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7D5D146F6 for ; Sat, 27 Nov 2021 11:42:34 +0100 (CET) Received: from localhost ([::1]:57676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqvA9-0005fK-QZ for larch@yhetil.org; Sat, 27 Nov 2021 05:42:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvA0-0005f2-2R for help-guix@gnu.org; Sat, 27 Nov 2021 05:42:24 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:38884 helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqv9x-0008Lj-2M for help-guix@gnu.org; Sat, 27 Nov 2021 05:42:22 -0500 Received: from condor.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1ARAgGlg032655 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Nov 2021 11:42:17 +0100 References: <87a6hsxxyv.fsf@h-brs.de> <3752917B-C6D6-4557-84E9-B5D4C37D1ADA@lepiller.eu> <871r34xwne.fsf@h-brs.de> User-agent: mu4e 1.6.10; emacs 27.2 From: Alexander Asteroth To: Julien Lepiller Subject: Re: downgrade issue on guix system Date: Sat, 27 Nov 2021 11:36:40 +0100 In-reply-to: Message-ID: <87lf19q3r3.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=alexander.asteroth@h-brs.de; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638009754; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=cDKWWxP2J/PhdUJiwyhMZbiD8cgH03l4XneEWtbMAyc=; b=LDq1rxEPeWY4nBuqWOUMB1HA6pO2LJ6Tr1wBJkdeBmSPmQV6rfbALKnXJ2z71jlHclUG6C FKDwkw/gCEexdmdjDnYRlhytR4KWugIPzUwpoFGIYDTJH+KRJYeTs1jjYayUNx6RNE6rqI rco2ExPWyTbZsjImHKmjZ20pdq06pUQCEC1a4euTLXhbN4XgEVA5l36QWKVezJOE9uV9Vw 6CUbFsiVzk9I+Y79poQ8vh38weAdMwpJVERHD6TpzyJMN+n/UyGkA5EpBjJYfxYd/ya/2K emnr45GHNCRlshBG8WkSGAQW947qWyqaovcG5GQ0f8bnYhF/ObeWPOO7OAL5tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638009754; a=rsa-sha256; cv=none; b=sRWR8516KaGHDWnI3dZtRPr2stILCs77K+d8s1jqX/EQI3iKxI87vXwv0m/zWfV1b1V7Sm OXsbBd8+gMfiG5n3Gq1IwG0DjqdWAkq7Idlg8i05HsqIfbXDAfw6rdYmwHi/iEmSo6Yhy0 UCUVgM/wtwZxaIw2iuo5sGzKT7N2YaLvu64nbBMY7TZ+nOgjwg1mAUPSZ4LMciaCl+KaWX zQEAKLjfYbhtbLNBhlLEhQn/7E8PxDMs69SW3MqkWN3tDkcDT6UpNDIWOzZfoTEpapP6ay J+JnCSiDzEO/SjRRiHSEj20s/KWU4lKy/GcwfO9Bznji/KbLbut+w/yP9Hew9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B7D5D146F6 X-Spam-Score: -4.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: UU3I3ouEBlrU --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear all, just to close this thread... The fault was to "sudo -s" to reconfigure the system which did not comletely set all neccessary variables (guix was pulled into roots profile but run from users profile). Either *really* logging in as root or probably much better (which I do now) just "sudo guix system reconfigure ..." resolves the issue (because the path to guix refers to the correct location in either cases). Thank's Julien for pointing me into the right direction. Cheers, Alex On Thu, Nov 25 2021, 07:23:03, Julien Lepiller wrote: > Le 25 novembre 2021 07:06:19 GMT-05:00, Alexander Asteroth a =C3=A9crit=C2=A0: >>No I did not play around with branches. What I did was >>- changed my config >>- reconfigured >>- rebooted >>- failed >>- booted second last config >>- fixed config >>- reconfigured >>- rebooted >>- OK >>- pulled >>- added cups >>- reconfigured >>---->>> ERROR >> >>I just tried again. Did a >> >>GUIX_PROFILE=3D"~/.guix-profile" && . "$GUIX_PROFILE/etc/profile" >>hash guix >>guix system reconfigure .../config.scm > > This is not enough: you need to also load the "current" profile. Check th= e output of "type guix" too. > >> >>Same error. >> >>Is there a way to find out what goes wrong? And why I have something >>installed that is newer than what I get over the guix channel? > > I think this is because you're not actually running guix from the latest = you pulled. Make sure it's running from ~/.config/guix/current, not ~/.guix= -profile nor /var/guix. > > This should already be taken care of by default, but if this is your firs= t guix pull you might need a reboot (or at least log out, and in again). > >> >>-- Alex >> >>On Thu, Nov 25 2021, 06:53:59, Julien Lepiller wrote: >> >>> Hi Alexander, >>> >>> Since you did a guix pull, you should have a newer version of guix than= you had before, unless you played with branches. So the downgrade is worry= ing and you were right to stop there. >>> >>> Note that running guix pull will update guix in a separate profile. Mak= e sure it's loaded: that you have ~/.config/guix/current/bin in your path a= nd that "type guix" is this path. If not, fix >>> your $PATH and run "hash guix" (no output) and check again. >>> >>> Note that, if you're running reconfigure as root (instead as with sudo)= you'll need to pull and do the above as root, since each user has a differ= ent guix current profile. >>> >>> HTH! >>> >>> Le 25 novembre 2021 06:38:29 GMT-05:00, Alexander Asteroth a =C3=A9crit : >>> >>> Dear all, >>> >>> I just wanted to install cups service on my guix system. I recofigured >>> the system without an error one hour ago (introduced seperate home >>> filesystem) and now, when I try to add the cups service (I did a guix >>> pull in between as well) I get: >>> >>> guix system: error: aborting reconfiguration because commit bd2aa8031b= abdca5f574fca52e025d6794f08d82 of channel 'guix' is not a descendant of >>> 7f974548ac20cab88b9bb589a5e1d85ee3b8d337 >>> hint: Use `--allow-downgrades' to force this downgrade. >>> >>> I have no clue what caused that error therefor I also don't know if it's >>> a good idea to allow downgrades. ... or what es to do to resolve the >>> issue. >>> >>> Cheers, >>> >>> Alex >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFQBAEBCAA6FiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmGiC4AcHGFsZXhhbmRl ci5hc3Rlcm90aEBoLWJycy5kZQAKCRAuD8bEakc8LIv6B/49pNcIqJqnXWjIo7yg LAFUQEgcW8tsDsG6aXO/yGUmKjT6ZToImlPzAwKDwQoK0z+XA57L4lle8n5PUP0s LJHi8bnnN5kVcspcbSZTjrXpV9LGiJqul07XYhFUwvVbMs4To3fGwisSNEsaxpMe SchQ37YjzCcFMVnypGjm8T5kIAFS5Dj8JwwpOsWRiTwuRcb+f+DIimw5U20OIi5a vrs49+8Mvd0wLinxr+JWWOF1Ie6eOKL8BjABBjkjwTsmIF0LQIrvuJZXaJmvH8zo +k+RD36ZpyyUsfcoGtxBsJ51KSikZIccxkGBcG941djaCWg7pB9KWPxuCplhGerE LhMB =Jbnm -----END PGP SIGNATURE----- --=-=-=--