From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CDfdEDVZFmT+wAAASxT56A (envelope-from ) for ; Sun, 19 Mar 2023 01:37:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aLHGEDVZFmTPJAEAauVa8A (envelope-from ) for ; Sun, 19 Mar 2023 01:37:09 +0100 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 D00B41D1FF for ; Sun, 19 Mar 2023 01:37:07 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=IHNkHy6q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679186228; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QurlrlfG65Hf0uIJkR1oypfZYnF+0uBVPylupF+x4ec=; b=bJ12+XI28Ar4Cj5Smy3poV0FODefuLZyRHaMpZeBo/PDxlYaUqceC1SNduAP5Efx15uHDO I0TUKpKlbJznntmJLL5ngo7ZkSd/7FUvVrwfzBMfwW3A0mKR0faoZu/c5ZPz3KDX6WVKu7 aZ6F2AfYJ2nq3Wt9HWUvkwnLj2ks3NhzI/697W8qoHcZWdycBnuqdObMPvMdcwB+wiVuOB vG6eGvZ/TAC1PeSpTIb5ZNoQSMARst+PF4ZqI5ERxeB0LWlzluQZoKEbghs9KJ3WCVM3RK /vM85apAfEL2Ks1AYCpoWe6UCiSi50UBx/v90Lu68iEtJPKidSL4eDiUbkbWhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=IHNkHy6q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679186228; a=rsa-sha256; cv=none; b=LGDV2LqviZNbxW/rXbzJz4blrXFAbGdQm80kNVKWH2XID2wXgMlrFk7ENVI1+Cae+eikwY u4vYnWEdEum6LhwBExqI8Ng0F6HPIWAks9FnDg/1nxHRpiH4Fox7Gngdj1uqzPo/9AxgGS G870Ez9GQ/IuauZYDCoZRgO/PctTMXl03LcMHVj4CT+sPe6qnMcR3UR1cfGILJCt5zztfL ddllrtRC82tvNA2wgO9R8p6hZJ4V9xRcV5wp4OOYMibS117qKWsrqK0H2dTC95lLbmk7Bx E+EVAm15i0qt4ZzyL9mxZYynaIQNzz3Ot2rmptXGFDYsw5kaXlBhK3VBIv2qjg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdh2P-0007hh-B8; Sat, 18 Mar 2023 20:36:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdh2N-0007hX-AF for help-guix@gnu.org; Sat, 18 Mar 2023 20:36:39 -0400 Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdh2K-0008J2-JL for help-guix@gnu.org; Sat, 18 Mar 2023 20:36:39 -0400 Received: by mail-vs1-xe2d.google.com with SMTP id k11so7628833vsq.13 for ; Sat, 18 Mar 2023 17:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679186188; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FsXJ7ttSffL3cmlazr2KnGcpKZWkLQo48P0zJNi01pY=; b=IHNkHy6q1eTSZ7LUSlJY1KfCgEY/ElJrSmWlPdFNidmVQA8/Z0zZYxn9s41qqerdnZ 7yCG2oWD8n7Jdb6AA92gzyZv3u8f9KU0lj4iw8HJMdxNQ4iorhCi/ziD7zGBw0DzeTQ3 e87SnBTk66aw9pZ7cpzxryQhyX9gh7/CguOvCnDhSJ4wye2zEEv56h3ZYkdKLgGJOBOG 7OUuGz5twRHrYZ1vhE2zdjLN9FO5jzgp2myfLv8y87mU8zVOQLkVizPhR+12kEQni8QU 7K/TNshkasMqXp6S2nTnFp1/CloMy+8UNVA8WrlKTajf1l4U3K7gsFKocpCcrsuXEQHJ p9xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679186188; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FsXJ7ttSffL3cmlazr2KnGcpKZWkLQo48P0zJNi01pY=; b=AN1EgRtGRc9QY0x2vrXYl4SsxRW1Zv50QWm/RMHKakl/WDFCrcG3YYdvjbpWOI9CMq 7fxiguGb4A4A9pGWX/1+EPI9NPnlHXbZHfXjhNRX3m9T78aJYE+Yj65wUzof0AxlAona TX3H5H+gwwYnJa9AKve23V7qySqAMZOkOEUL+zwx/ytw78kePte0+0ECSFpFK+oafqGs UJl8uJXdAxB10l2hQT67NTCH/6XFC8hw/kXoE/Mnul+Smf1dZunrhxE/Kpk0nZanmzuQ 8AFLZllGNernylHhUhn+BKjXHfb746pYUtJT9A7+mfVni7gaWxUEpdMnzIKRx+cxfks7 AmcA== X-Gm-Message-State: AO0yUKWJaSMlnJHa3/1yuX7rdIIkus+py2gOnGSTKeBkLd7ATRE0H/Rn HH+Y9a08H2nSsdAqS226Qf4c490vaHip2+OmIkdDC2BfoS3FFg== X-Google-Smtp-Source: AK7set8Gu0hNPg5BDuMlvfN49pFEgZg31wy2DHsPAuNgIiBYtYkpsUtYwsBJ54uA1L7iAX6K2ThZ7Aj25Lgv7Nsd/xw= X-Received: by 2002:a67:d518:0:b0:402:999f:51dd with SMTP id l24-20020a67d518000000b00402999f51ddmr1741327vsj.3.1679186188556; Sat, 18 Mar 2023 17:36:28 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales Date: Sat, 18 Mar 2023 19:33:56 -0500 Message-ID: Subject: Newbie: Error when using "guix gc -D" to delete directory in /gnu/store To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: D00B41D1FF X-Spam-Score: -0.75 X-Migadu-Spam-Score: -0.75 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: rKrBEqv0/JeB Table of Contents _________________ 1. The context 2. What I've tried 3. Additional information 4. The question 1 The context ============= I had previously installed the package `rime-data'. One of the files that is installed by that package is called `wubi86.dict.yaml'. I'm currently experimenting with `ibus' and I need all files that exist in `/gnu/store' that are called `wubi86.dict.yaml' to be deleted from my system. I've located those files, but when I try to delete those files, I get the following error ,---- | guix gc -D /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile `---- ,---- | finding garbage collector roots... | guix gc: error: cannot delete path `/gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile' since it is still alive `---- See next section to see what I've tried to delete those directories. 2 What I've tried ================= I know how to locate all files that are called `wubi86,dict.yaml' and are located under `/gnu/store' ,---- | sudo updatedb `---- ,---- | locate 'wubi86.dict.yaml' `---- ,---- | /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile/share/rime-data/wubi86.dict.yaml | /gnu/store/b3f1s6nnj1rg7szcmb3n3y194ayhfgja-rime-data-0.38.20210802/share/rime-data/wubi86.dict.yaml | /gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile/share/rime-data/wubi86.dict.yaml `---- If I try to delete any of those directories using `guix gc -D', I get the same error (please see code blocks below) ,---- | guix gc -D /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile `---- ,---- | finding garbage collector roots... | guix gc: error: cannot delete path `/gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile' since it is still alive `---- ,---- | guix gc -D /gnu/store/b3f1s6nnj1rg7szcmb3n3y194ayhfgja-rime-data-0.38.20210802 `---- ,---- | finding garbage collector roots... | guix gc: error: cannot delete path `/gnu/store/b3f1s6nnj1rg7szcmb3n3y194ayhfgja-rime-data-0.38.20210802' since it is still alive `---- ,---- | guix gc -D /gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile/ `---- ,---- | finding garbage collector roots... | guix gc: error: cannot delete path `/gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile' since it is still alive `---- 3 Additional information ======================== I found [this thread] in the help-guix mailing list on the same topic. In [this reply], someone mentions that it is possible to list the referrers to see which directories are pointing to those directories. This is the output of those command. For the two directories that end in `*-profile', `guix gc --referrers' print the directory itself. ,---- | guix gc --referrers /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile `---- ,---- | /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile `---- ,---- | guix gc --referrers /gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile/ `---- ,---- | /gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile `---- For the directory, that has the files from the package, a lot of files ending with `drv' is shown. ,---- | guix gc --referrers /gnu/store/b3f1s6nnj1rg7szcmb3n3y194ayhfgja-rime-data-0.38.20210802 `---- ,---- | /gnu/store/0wr0x4v73wiks87843njqqf590fm0xix-glib-schemas.drv | /gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile | /gnu/store/4zpl6kqdb1ppnc0a1wbh50az8bhnzc4z-gtk-icon-themes.drv | /gnu/store/7qjr2v4w4m8kp1mzax2w840mg489120m-emacs-subdirs.drv | /gnu/store/8qjbmddr1x6v4pjwxm8i5alslxb7ca43-profile.drv | /gnu/store/8ziy5i9svd645iinf850cnca82vb154s-ca-certificate-bundle.drv | /gnu/store/a8n5pfdh03lwfrcpp6823bnwlgh5in13-xdg-desktop-database.drv | /gnu/store/ascqql7fl3c7r784hpnqcam3x8f78dmg-info-dir.drv | /gnu/store/bwlk4j71l97vk84pzdddra2fpvn9zvj5-fonts-dir.drv | /gnu/store/d9dhmxg8b87jj8n797vyabdc2dimr2aw-ibus-rime-1.5.0 | /gnu/store/h4qckgajdkz7rm8yrwrxqv882mr1mnnm-emacs-rime-1.0.5 | /gnu/store/hlrfay6rcgh9c5wzzcj7wf7iwzf87msc-gdk-pixbuf-loaders-cache-file.drv | /gnu/store/nbhwrpx1py3j4sivysv6xi5s4hx4ziqz-gtk-im-modules.drv | /gnu/store/px3idmv8x0ws0zs2n7scgbi302af7iaw-xdg-mime-database.drv | /gnu/store/qczdrj7c8wyszygw78yi9ngz46lhyylv-ibus-rime-1.5.0 | /gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile `---- [this thread] [this reply] 4 The question ============== How can I get rid of those three directories in `/gnu/store/' [1] so that I can make sure that my system has no file called `wubi86.dict.yaml'? [1] Namely + `/gnu/store/252h4ryvdj3d3bgnm1v47s7838wn86nz-profile' + `/gnu/store/b3f1s6nnj1rg7szcmb3n3y194ayhfgja-rime-data-0.38.20210802' + `/gnu/store/zj0cf20jk3qgl12451znx1n8rj13z2jg-profile'