From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mMILK7xv+F4qawAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 10:23:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GNbCJrxv+F7DLgAAbx9fmQ (envelope-from ) for ; Sun, 28 Jun 2020 10:23:56 +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 3C92D9400BF for ; Sun, 28 Jun 2020 10:23:56 +0000 (UTC) Received: from localhost ([::1]:60144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpUTb-0000kA-7a for larch@yhetil.org; Sun, 28 Jun 2020 06:23:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpUSk-0000bq-HD for help-guix@gnu.org; Sun, 28 Jun 2020 06:23:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpUSh-0003HH-Ls for help-guix@gnu.org; Sun, 28 Jun 2020 06:23:02 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D5A342400FB for ; Sun, 28 Jun 2020 12:22:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1593339771; bh=2Z76NbklpNp7M+6Q5Nt95GHr9CY5zmTbP34dQH7Lq1g=; h=To:From:Subject:Date:From; b=XQt9JIHVIgxZSYg+Bj5OTth24f/Yw5SCzjH9f6KMl9gu4pQ4+3Qo8jIZkNRmUPgcS JeLSp60nup7Nvw3AOe9KP9iBHXUq1JBstt8Z8Nrjz1L+M/tcw9dbXgaUCfnxNrQ0Wd bKgqnafqE7VsYpNzgrrqgWDWnxhhsW7/dyKryannQPj31b5hScIj+tz0aHASp2QjcC io/kXch2I0uwgqt7221750vaZjCUX4d6deUx3jANsYubcILGkc97NNPiVCxH1CeRq/ 3wTZVpV+nRMoItAYnfw3xZwos+7NlcZ0Q18FQ35ftUMtUas1r3NSP/QNFXSPSZvXOW t+gOzz+RBYA0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49vmsR1yhZz9rxh for ; Sun, 28 Jun 2020 12:22:51 +0200 (CEST) To: help-guix From: Zelphir Kaltstahl Subject: Repair / reinstall Guix package manager (foreign distro) Message-ID: <25e841cb-66c3-0aeb-f3b5-ab380784a1a1@posteo.de> Date: Sun, 28 Jun 2020 12:22:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.8.0 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/28 06:22:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=posteo.de header.s=2017 header.b=XQt9JIHV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.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-Spam-Score: 0.09 X-TUID: QBJgWBaBlIb2 Hi Guix Users! I would like to repair or reinstall my Guix package manager installation, because it seems broken and nothing I tried fixes the problem. The problem: ~~~~ xiaolong@xlx200:~/Downloads$ guix pull Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'... guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/xiaolong/current-guix" ~~~~ It started appearing, when I once ran `guix pull` and `guix package -u` as `root` user, to update my locales in the root profile. Now I can only do a `guix pull` as `root` user, no longer as normal user. I've tried deleting the symlink, thinking: "Well if the error is, that a file exists in that place, it probably wants to write there and refuses to overwrite. I'll delete it for you then." That results in another error: ~~~~ xiaolong@xlx200:~/Downloads$ guix pull Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'... Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: failed open - '/home/xiaolong/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/.git/FETCH_HEAD' is locked: Permission denied ~~~~ I can get it back to previous state by running `guix pull` as `root` user again, but it does not fix the original problem then. Now I've gone 1 step further in frustration and deleted the whole `/var/guix/profiles/per-user/xiaolong` folder. OK, now guix does not know about any installed packages any more and the error becomes: ~~~~ xiaolong@xlx200:~$ guix pull guile: warning: failed to install locale Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'... Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: failed open - '/home/xiaolong/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/.git/FETCH_HEAD' is locked: Permission denied ~~~~ So I a basically giving up now and want to reinstall. I downloaded the install script `guix-install.sh` from the website and ran it: ~~~~ xiaolong@xlx200:~/Downloads$ sudo bash guix-install.sh (... big GUIX logo here ...) This script installs GNU Guix on your system https://www.gnu.org/software/guix/ Press return to continue... [1593338927.330]: Starting installation (So 28. Jun 12:08:47 CEST 2020) [1593338927.333]: [ PASS ] verification of required commands completed [1593338927.364]: [ INFO ] init system is: systemd [1593338927.368]: [ INFO ] system is x86_64-linux [1593338928.075]: [ PASS ] Release for your system: guix-binary-1.1.0.x86_64-linux [1593338928.077]: [ INFO ] Downloading Guix release archive guix-binary-1.1.0.x86_64 100%[==================================>] 70,14M 4,27MB/s in 21s guix-binary-1.1.0.x86_64 100%[==================================>] 833 --.-KB/s in 0s [1593338949.457]: [ PASS ] download completed. [1593338950.341]: [ PASS ] Signature is valid. [1593338959.807]: [ PASS ] unpacked archive [1593338959.808]: [ FAIL ] A previous Guix installation was found. Refusing to overwrite. ~~~~ "OK OK! I'll uninstall the previous one!" But how do I do it exactly? Or is there a flag or anything I can give to make it overwrite the previous installation? Regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl