From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id nK/AMEADAGAGYQAA0tVLHw (envelope-from ) for ; Thu, 14 Jan 2021 08:39:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kGBbLEADAGDGFwAAB5/wlQ (envelope-from ) for ; Thu, 14 Jan 2021 08:39:28 +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 254BB9404CE for ; Thu, 14 Jan 2021 08:39:28 +0000 (UTC) Received: from localhost ([::1]:43930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzyAB-0007Ej-4Y for larch@yhetil.org; Thu, 14 Jan 2021 03:39:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzyA0-0007EG-QX for help-guix@gnu.org; Thu, 14 Jan 2021 03:39:16 -0500 Received: from ciao.gmane.io ([116.202.254.214]:58372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzy9y-0002y7-Ma for help-guix@gnu.org; Thu, 14 Jan 2021 03:39:16 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kzy9v-0005Jh-Ie for help-guix@gnu.org; Thu, 14 Jan 2021 09:39:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-guix@gnu.org From: Garjola Dindi Subject: Re: Guix installer on foreign distro breaks /usr/local/share/info/dir Date: Thu, 14 Jan 2021 09:39:01 +0100 Message-ID: <87pn273obe.fsf@pc-117-162.ovh.com> References: <87blds3sw1.fsf@pc-117-162.ovh.com> <86k0sgrlf0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:8jN0f0vINjUHnu07o4wuY6v9xLo= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggh-help-guix@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=no autolearn_force=no X-Spam_action: no action 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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 254BB9404CE X-Spam-Score: -1.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: bOwNih9dRtTb On Thu 14-Jan-2021 at 09:07:47 +01, zimoun wrote: > Hi, > > On Thu, 14 Jan 2021 at 08:00, Garjola Dindi wrote: > >> I recently installed the Guix package manager on Debian and found >> symlinks on /usr/local/share/info/. One of them looks like this >> >> ls -l /usr/local/share/info/dir >> lrwxrwxrwx 1 root staff 60 Jan 10 12:04 /usr/local/share/info/dir -> >> /var/guix/profiles/per-user/root/current-guix/share/info/dir >> >> This breaks the info directory. Is this a bug? I didn't do anything >> special during installation. > > The culprit seems these lines in etc/guix-install.sh: > > for i in "${var_guix}"/share/info/*; do > ln -sf "$i" "$info_path" > done > > You are expecting symlinks to all except this ’dir’ file, right? > I would expect that the installer does not replace existing things in /usr/local/. This is the list of symlinks to /var/guix/profiles/per-user/root/current-guix/share/info that I get in /usr/local/share/info/ ,---- | dir.de | dir.es | dir.fr | dir.ru | dir.zh_CN | gmp.info-1.gz | gmp.info-2.gz | gmp.info.gz | gnutls-client-server-use-case.png | gnutls-guile.info.gz | gnutls-handshake-sequence.png | gnutls-handshake-state.png | gnutls.info-1.gz | gnutls.info-2.gz | gnutls.info-3.gz | gnutls.info-4.gz | gnutls.info-5.gz | gnutls.info-6.gz | gnutls.info-7.gz | gnutls.info.gz | gnutls-internals.png | gnutls-layers.png | gnutls-logo.png | gnutls-modauth.png | gnutls-x509.png | guile-gcrypt.info.gz | guile-git.info.gz | guile-ssh.info.gz | guix-cookbook.de.info.gz | guix-cookbook.info.gz | guix.de.info-1.gz | guix.de.info-2.gz | guix.de.info-3.gz | guix.de.info-4.gz | guix.de.info-5.gz | guix.de.info-6.gz | guix.de.info.gz | guix.es.info-1.gz | guix.es.info-2.gz | guix.es.info-3.gz | guix.es.info-4.gz | guix.es.info-5.gz | guix.es.info-6.gz | guix.es.info.gz | guix.fr.info-1.gz | guix.fr.info-2.gz | guix.fr.info-3.gz | guix.fr.info-4.gz | guix.fr.info-5.gz | guix.fr.info-6.gz | guix.fr.info.gz | guix.info-1.gz | guix.info-2.gz | guix.info-3.gz | guix.info-4.gz | guix.info-5.gz | guix.info.gz | guix.ru.info-1.gz | guix.ru.info-2.gz | guix.ru.info-3.gz | guix.ru.info-4.gz | guix.ru.info-5.gz | guix.ru.info-6.gz | guix.ru.info.gz | guix.zh_CN.info-1.gz | guix.zh_CN.info-2.gz | guix.zh_CN.info-3.gz | guix.zh_CN.info-4.gz | guix.zh_CN.info-5.gz | guix.zh_CN.info.gz | images | libidn2.info.gz | libtasn1.info.gz | pkcs11-vision.png `---- While the guix* seem reasonable, things like =images= or =dir.*= may cause trouble for foreign distros where people may want to install things on /usr/local. At least, this is my uninformed opinion, since I am just discovering Guix. Thanks! > > All the best, > simon > > --