From: "Mike Jones" <mike@mjones.io>
To: help-guix@gnu.org
Subject: Two copies of same library in store after cleaning generations and gc
Date: Sun, 14 Aug 2022 11:31:59 +0000 [thread overview]
Message-ID: <8b9f85d8-3899-44ed-b968-7714732c1beb@www.fastmail.com> (raw)
Hi Guix!
I've been running Guix System for a few weeks now, and I've noticed that
I have two copies of some libraries in my store (e.g. mesa, gtk) even
after updating all packages, deleting old profile generations, and
running gc.
This isn't a problem, as I have plenty of disk space, but I'm just
curious to understand why this happens.
For example, I have both
/gnu/store/lcqz4q3834bjd3dlc8zsr95mvzz9n006-mesa-21.3.8
/gnu/store/wj1nipayc74yalfmdg7wwimkfc1macbl-mesa-21.3.8
Using 'guix gc --referrers', I can see that:
- The first copy is referred to by all applications in my profile that
link against mesa, e.g. icecat.
- The second copy is referred to directly by my profile. Indeed, I can
see that, for example, ~/.guix-profile/lib/libGL.so is a symlink to
/gnu/store/wj1nipayc74yalfmdg7wwimkfc1macbl-mesa-21.3.8/lib/libGL.so.
So my question boils down to: why is the copy of mesa in
~/.guix-profile/lib different to the one to which programs in the same
profile are linked? And is there any guix command I can use to inspect
exactly how/why these copies differ?
Thanks!
- Mike
next reply other threads:[~2022-08-14 22:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 11:31 Mike Jones [this message]
2022-08-18 12:13 ` Two copies of same library in store after cleaning generations and gc Hartmut Goebel
2022-08-18 20:30 ` Mike Jones
2022-08-19 6:13 ` Ricardo Wurmus
2022-08-19 9:06 ` zimoun
2022-08-19 11:37 ` Mike Jones
2022-08-22 15:49 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b9f85d8-3899-44ed-b968-7714732c1beb@www.fastmail.com \
--to=mike@mjones.io \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).