From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AFxEABEZbGJ9bgEAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 18:57:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UIa3OhAZbGKgLwAAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 18:57:52 +0200 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 90E6415F94 for ; Fri, 29 Apr 2022 18:57:52 +0200 (CEST) Received: from localhost ([::1]:60088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkTwF-0005T9-OS for larch@yhetil.org; Fri, 29 Apr 2022 12:57:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTvY-0005Rt-Fx for help-guix@gnu.org; Fri, 29 Apr 2022 12:57:08 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:38442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkTvW-0004iT-Ot for help-guix@gnu.org; Fri, 29 Apr 2022 12:57:08 -0400 Received: by mail-wm1-x331.google.com with SMTP id 1-20020a05600c248100b00393fbf11a05so6352725wms.3 for ; Fri, 29 Apr 2022 09:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=DMpgbb3Hkkh4wyyJmbohiHixMT9Smtt0mXJEFp5D1N4=; b=H/KHln4Da4x119Vik+LQs4df0UgVTIJVjiGbuW70Ac4GQ8YuXqqCdtMWtfODzAwHly gP2V370cfXd41czWsMCA/9No6dpvCLk69nISdqduhLaMwSWLZWItW2iEFmGbrUD1VKXu CUcKh+ZTah5M5uW5RTMzJ2Ke/0TvJNAvW4hohjHcYEvItz1sfgWiHqM6gQ0G7WTYmeBb S/m5v6IsDi3SdY+B0gAAi2kVIQ7HabsvwksJGyg4bXIabeAZ/PiDdGHyCU0OHijAEwte HfELvG8Syf34GLNkMV542zKqn/AsCJ+M3AjqU9xcFkzy3jxvvn88NhU30KGP6h9vNl+o umig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=DMpgbb3Hkkh4wyyJmbohiHixMT9Smtt0mXJEFp5D1N4=; b=PqzJxoEg2aPYCnqP70atCfeE4fAfCUDz7620um85/QjZ/e6UtMjYY8UsLC8B/yFFqt 38IcHn7KpqVcSaWXQ1GroNCZ/kj+80aNlAxPsaM7QMf1OCJbfpQtv7mdFToqupxwMoky Z5KDRH6x6iAPvhPclRER0tsh0IxN5dfR6JC2n5qFe5AcPT+O9biZ34NCNpHmpHqbs7ei 5+g3MAGhdDWLhD1EfIhFYVwxchavpDB38beBUkqDTXcosw/BxDPfBxlccDlsWJ89hdsQ nyZ4bm/CcoyqbUFNIdMt1q4VaZp1V0NDVByekhcKtJQ57gw0d2FQ/egX9znQ+lw00nXF d7rA== X-Gm-Message-State: AOAM531vknylhnh1p4aSqD2tiqkj8MzsqjDl2VTplJg+JytaRZsacccn HMya/LIl4dZ++KDT/X2gCxIdiEZ1Jv0= X-Google-Smtp-Source: ABdhPJx8GZ3hOi9LGohRxHsU5RqPulFJbLfOcB3G6CbAqgNt6AM31ylp2Gbv949/PD2ChNcceo22XA== X-Received: by 2002:a1c:f315:0:b0:381:1f6d:6ca6 with SMTP id q21-20020a1cf315000000b003811f6d6ca6mr4153218wmq.25.1651251425236; Fri, 29 Apr 2022 09:57:05 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n10-20020a5d588a000000b002052e4aaf89sm2731218wrf.80.2022.04.29.09.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 09:57:04 -0700 (PDT) From: zimoun To: Joey Dumont , help-guix@gnu.org Subject: Re: Delete all previous derivations In-Reply-To: References: Date: Fri, 29 Apr 2022 18:27:28 +0200 Message-ID: <87pmkzc0sv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651251472; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DMpgbb3Hkkh4wyyJmbohiHixMT9Smtt0mXJEFp5D1N4=; b=jz/Et9Xy5USVaIWRWg8JAZXkf15uRFeu5xeS7A3yFGcxLTmKWTc3fXLqMvzqnP+VS0049I yHBxozliJzH7TxfBYMHV+cAtlYte+0IuVRdg8R6bVFeH9uBg7WS3LhP6KfYd9uBDnB2f/J Wvk0Fd9VyjBYtq+VAFgJz/ixEH5R8Ea6ZOMolDlbDTnwApSxO3svhPUbjBSli4se9wA7FX h5KH3VL5zLm28J7YQqGJEMVT+fnHeYOXlZrXrdAcq5bOBIOq/35Hg7suRRbNLonZyAy/OF lVhATcfunTYO9Yt5C3/o6HcctTIpYn1fOkgX9HSe2OnEyvHIBpN/avdawHc3IA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651251472; a=rsa-sha256; cv=none; b=tGhrN3xr+fsDVioq09YsFfFME3D4xsAqf3c1bU5wH36GnP5cXmxwqOF6lpaqqiyS8Y6AUq K3pxPI/wIBTBLBTd0vO9koARbImHThuTaDzQPtFvK7SdfAPCFpf4bms9MWpP1HvzScaPKc 9YrLCGkYx9Thodi+LaT5oXoZbdJS0pp/F9OVrZz1yH6IlWd/HEzKseAtRI5LkybvqLIGAA p6UhKQi/91Y0tPtExBlEqRy13ktxx3jC6ox0tXgqUoKQeMJLOzORSYoGgv2AOLmDdkgzEH SYl3HWuqT5l7lKvvPCVodEUs0mYpzn2bL12QMFf/MFmaJr0ryFvCrO3dXefN1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="H/KHln4D"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="H/KHln4D"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 90E6415F94 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: NmvgFY1/82pz Hi, On Fri, 08 Apr 2022 at 23:14, Joey Dumont wrote: > I am using guix on Arch Linux, installed through the AUR package, but with > a custom store directory: --with-store-dir=3D/cvmfs/soft.valandil.ca/2022= .03. > I was running the daemon with options: > > # /etc/systemd/system/guix-daemon.service.d/override.conf > [Service] > ExecStart=3D > ExecStart=3D/usr/bin/guix-daemon --build-users-group=3Dguixbuild > --gc-keep-outputs=3Dyes --gc-keep-derivations=3Dyes > > I have since updated my guix install to point to a new store: /cvmfs/ > soft.valandil.ca/2022.04, but I keep getting errors when running guix pul= l: Hum, interesting setup=E2=80=A6 but then Guix will be confused, I guess. > $ guix pull > ;;; WARNING: loading compiled file /usr/lib/guile/2.2/site-ccache/gnutls.= go > failed: > ;;; In procedure load-thunk-from-file: Invalid argument > ;;; WARNING: loading compiled file /usr/lib/guile/2.2/site-ccache/gnutls.= go > failed: > ;;; In procedure load-thunk-from-file: Invalid argument > Updating channel 'guix-hpc' from Git repository at ' > https://gitlab.inria.fr/guix-hpc/guix-hpc'... > Updating channel 'guix' from Git repository at ' > https://git.savannah.gnu.org/git/guix.git'... > Authenticating channel 'guix', commits 9edb3f6 to 1d4f2cd (23 new > commits)... > Building from these channels: > guix https://git.savannah.gnu.org/git/guix.git 1d4f2cd > guix-hpc https://gitlab.inria.fr/guix-hpc/guix-hpc de22a12 > guix pull: error: derivation `/cvmfs/ > soft.valandil.ca/2022.03/compat/x86_64/linux/pf4z6hc1f9bwddsravnlacnb2i8p= 9xyl-guile-3.0.2.tar.xz.drv' > has incorrect output `/cvmfs/ > soft.valandil.ca/2022.04/compat/x86_64/linux/92ip5misld973bsm73hfazwmd4n9= d58z-guile-3.0.2.tar.xz', > should be `/cvmfs/ > soft.valandil.ca/2022.03/compat/x86_64/linux/9gc2alnhkrilqdch2xzjg0vq9b44= is43-guile-3.0.2.tar.xz > ' Ah, Guix is really confused. :-) > I tried stracing the guix pull, and deleted all cache entries I could, > ~/.cache/{guile,guix}, and the previous store, but the error persists. > Where is that derivation stored so that it can be compared against the new > derivation? How can I delete it? IIUC, you have 2 stores. It means now you have 2 SQLite databases and so on. Well, I do not know how it can work. You pulled with the old store. So the current guix command points to an item to this old store. To change the store location (--with-store-dir), you have recompiled Guix, right? Then, did you run ./pre-inst-env guix pull -p ~/.config/guix/current ~/.config/guix/current/bin/guix pull ? Cheers, simon