From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SF0sFdqAn2GCAwEAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 13:26:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qEvxENqAn2GVHQAA1q6Kng (envelope-from ) for ; Thu, 25 Nov 2021 12:26:02 +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 0AE651A572 for ; Thu, 25 Nov 2021 13:26:02 +0100 (CET) Received: from localhost ([::1]:38274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqDpA-0001wk-Jg for larch@yhetil.org; Thu, 25 Nov 2021 07:26:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqDov-0001w4-O8 for help-guix@gnu.org; Thu, 25 Nov 2021 07:25:45 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:45032 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 1mqDos-0008Mt-60 for help-guix@gnu.org; Thu, 25 Nov 2021 07:25:44 -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 1APCPch0009986 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Nov 2021 13:25:38 +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: Thu, 25 Nov 2021 13:17:12 +0100 In-reply-to: <871r34xwne.fsf@h-brs.de> Message-ID: <87wnkwwhfq.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=1637843162; 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=7Yb8giBvezjaUP613dRRNAv4jnldHp6zdTln3LTYmdA=; b=uoZSe9LU8n3bX9LqFKJ9PECPIPZyraEMypPDUaMojw7CVXgM6zItIcn6/c8NeZKAYokIA7 x/fpz8fjNsARauY/y5vRAa5Jou3c5vwhBWBOTX5wz1ZRhSoZDNBNDAl/TxAjYedBCTrk1B 8mQ1eXJylG7liGTV0MEG87CxOxB4uc0yyT79ff8u4Mp91zK4rA0kJUUNtS87bLz5frXO1u SESSZYOV1ZfV/iz9iZ+nKlHt3YtE+6xI3PIWLKO4ReBelfW5hzgFr6lnWTqAm9kBcs35ni WTBzfgjqj7HW24XGfdsAU6wgattuo9jN5OXZQtjWWSgGk3o44rpZCaWdTfQ8pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637843162; a=rsa-sha256; cv=none; b=VE9FXFxw3UDLrOrZse8ISgUMRt8/iZ2S/OMJj29G/4kDTEMGn92E62mlGaDV65OLXdos4Z g9X9SapmyinFLMDt1FSF60jg2Y6iR1hnRvqFcUJ8Ht3Mw1xcEYq5jbieI6XiKBPVqrC+zc 61lZq/qvEkQExBdauIxMZqrAeSRWGxRAFXQ2Dk0alykzritg/EHK7uTLrxkf+M3EdD5pgX XsmCAUiU43KKGuzMuztHEYUT3dJ1uOveEyk82rh6rAGeLIrtnLbly+uOdjzIfM94u6wxF1 SU4mynSI8P5kM2qZQ64uaB36DgxCVXvK8qem7emrc3UEhWJEAD7x0u4YRsW7ag== 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.89 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: 0AE651A572 X-Spam-Score: -4.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: eCYmSSjdvvhi --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Found the cause. To reconfigure I "sudo -s" first. But if I run=20 > GUIX_PROFILE=3D"~/.guix-profile" && . "$GUIX_PROFILE/etc/profile" guix profile is sourced but PATH is still the original users path und guix is found there (causing the error). If I do > GUIX_PROFILE=3D"/root/.guix-profile" && echo "$GUIX_PROFILE/etc/profile" the result is as expected: > /root/.guix-profile/etc/profile but PATH is not updated afterwards (=3D> error). If do do a regular login as root then everything is fine! Cheers, Alex On Thu, Nov 25 2021, 13:06:19, Alexander Asteroth wrote: > [[PGP Signed Part:Undecided]] > 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 > > 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? > > -- 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 worrying and you were right to stop there. >> >> Note that running guix pull will update guix in a separate >> profile. Make sure it's loaded: that you have >> ~/.config/guix/current/bin in your path and 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 different 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 bd2aa8031ba= bdca5f574fca52e025d6794f08d82 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 > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFQBAEBCAA6FiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmGfgLkcHGFsZXhhbmRl ci5hc3Rlcm90aEBoLWJycy5kZQAKCRAuD8bEakc8LPivCACENrDjmhcMngD8biaF AJROUyjbrQpPSIBzIa6OIk3YVYHj6yM81RxugrJTwJ8UfySY5QK2LgfIMxQAo6Y9 5h0B9eP/j3vD8eZ/Mc2vPc5ufgo5hH0hbvkArMRTxXnaEm2Rc0aPikubpZtySX6U 4ynlauANzHtN4Haojf8vLFym1qFROo9gZS/OBm4Ei6F6WQZDD18oCTmJ2T0kaJY4 6cSNxnN1juIbuovL3O59om8uqZPn4VVRbBGhCoVcWOO4YdCbqxkqqATQaQg2AuYV OUPVFE2Bc/ec2nwImJnMF492Z7s5vLw32aieCtec6Jttfl30CRQoRIXETnBwjgz6 juVG =hQb+ -----END PGP SIGNATURE----- --=-=-=--