unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Two copies of same library in store after cleaning generations and gc
@ 2022-08-14 11:31 Mike Jones
  2022-08-18 12:13 ` Hartmut Goebel
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Jones @ 2022-08-14 11:31 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-22 18:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-14 11:31 Two copies of same library in store after cleaning generations and gc Mike Jones
2022-08-18 12:13 ` 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

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).