all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* why 'package --remove' download stuff?
@ 2020-02-13 18:03 zimoun
  2020-02-13 18:30 ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2020-02-13 18:03 UTC (permalink / raw)
  To: help-guix

Dear,

In my '~/.guix-profile' managed in imperative style, I have a package
(Gmsh) installed with an old version Guix. Then updating a particular
package (Guile) in this very profile, there is conflicts (gmp) because
of the Gmsh. Well, I run "guix package -r gmsh" because I do not care.
Then:

--8<---------------cut here---------------start------------->8---
$ guix package -r gmsh
The following package will be removed:
   gmsh 2.16.0  /gnu/store/0hqlq7lgvgbkrw5nvqr4xcl14hmv78n0-gmsh-2.16.0

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/1h4iqwcbrzc313hs3sfdfiyn9cssfacv-profile.drv
   /gnu/store/b0rkfyyhnninw448q0m42lnaxhgsb8j6-config.scm.drv
116.6 MB will be downloaded:
   /gnu/store/fpj5mspa7jmksixqpnzbvzs3q2vbqq31-glib-2.60.6-bin
   /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6
   /gnu/store/7myzmxzapx7jnvbsyzv4xhfi2gg58d1w-module-import
   /gnu/store/cn5v2g0zihw9hdsgcnbl6knq4zincfdk-module-import-compiled
   /gnu/store/5686hrxkbsm6ycf1ks9nja3mjjxjpl9a-desktop-file-utils-0.23
   /gnu/store/k3m2kz55qiklkyihnnvhxhv0ylsyyaqc-module-import-compiled
   /gnu/store/pfqvay49nk9cja05sqw5cwm7fn3w4fn3-module-import-compiled
   /gnu/store/sclspjcznk50s894irfk2wzn6nfnxa2g-guile-gdbm-ffi-20120209.fa1d5b6
   /gnu/store/s2hqjjp057l2k6ix3yaa7cc2dpwxpfm7-module-import
   /gnu/store/gfpiq0nnv7wrbq5mdydyj5lkwa4hbbxk-ghc-8.6.5
   /gnu/store/05kyg8pg8zzbrn366imllhxavdcwqgsk-mkfontdir-1.0.7
   /gnu/store/0dsc5kh6qfwshfaq01iqrfpdhlaici8n-libfontenc-1.1.4
   /gnu/store/r1p07fn372rcxzvfzqwm44w16n8gcqfc-mkfontscale-1.2.1
   /gnu/store/zjnz5gg04zfyzn5gi66lay8sgv6i4rj8-module-import-compiled
   /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29
   /gnu/store/qky1x5bb2jygy58bn6y95ygfsmpakf52-glibc-2.29-static
   /gnu/store/irj21yhgls637jhhkb5yr79s76c96maq-texinfo-6.6
   /gnu/store/wwwnp8025yb7k6qbv28hi1l6qy6j7d9z-module-import-compiled
   /gnu/store/mxismwqg25ldc1g577xbnzs3yas3mp8y-module-import-compiled
The following graft will be made:
   /gnu/store/y3hbxqka580v0j3mnzm250vn7b87i0n5-glib-2.60.6.drv
The following profile hooks will be built:
   /gnu/store/0xf06lgy8lkfazvr9rqc9bbq2banjqnh-gtk-icon-themes.drv
   /gnu/store/7i46wdfzf8prxn2y250y814h2d7m7bi4-gtk-im-modules.drv
   /gnu/store/aa1knxy4jxyyczmc6rx15vs2i8g8zjqg-info-dir.drv
   /gnu/store/cf80ym34x9symcjwqkis1vkf0b2ng1gc-ca-certificate-bundle.drv
   /gnu/store/d9hy0lx7sl6fa67bihcdc0wdi5vg4nky-fonts-dir.drv
   /gnu/store/mq6mrjxsxl1ps4p3a2mx09ml883fhnvk-ghc-package-cache.drv
   /gnu/store/n03ihffbgdni1i8d3z6ij7f55d02qar3-manual-database.drv
   /gnu/store/n4y9gqay4568l436lz1w8r3yjm10ykm7-xdg-mime-database.drv
   /gnu/store/xamvw2jim6imh2wmm0wjk8hcwy26mzpk-xdg-desktop-database.drv
   /gnu/store/zhv4sy61srr8sw583khbqda255di3439-glib-schemas.drv
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
downloading from
https://ci.guix.gnu.org/nar/lzip/mxismwqg25ldc1g577xbnzs3yas3mp8y-module-import-compiled...
 module-import-compiled  87KiB

113.0MiB/s 00:00 [##################] 100.0%

downloading from
https://ci.guix.gnu.org/nar/gzip/cxdyd8w29ym0i4gdrmlfn0cbdzbnbsc2-config.scm...
 config.scm  189B

56KiB/s 00:00 [##################] 100.0%

downloading from
https://ci.guix.gnu.org/nar/lzip/5686hrxkbsm6ycf1ks9nja3mjjxjpl9a-desktop-file-utils-0.23...
 desktop-file-utils-0.23  43KiB

1.1MiB/s 00:00 [##################] 100.0%

downloading from
https://ci.guix.gnu.org/nar/lzip/9lcn7jl77sk1ps1idq47qhq4470ahfaa-ghc-8.6.5-doc...
 ghc-8.6.5-doc  4.8MiB

3.6MiB/s 00:01 [##################] 100.0%

downloading from
https://ci.guix.gnu.org/nar/lzip/fpj5mspa7jmksixqpnzbvzs3q2vbqq31-glib-2.60.6-bin...
 glib-2.60.6-bin  105KiB

1.6MiB/s 00:00 [##################] 100.0%

downloading from
https://ci.guix.gnu.org/nar/lzip/gfpiq0nnv7wrbq5mdydyj5lkwa4hbbxk-ghc-8.6.5...
 ghc-8.6.5  97.6MiB

3.1MiB/s 00:32 [##################] 100.0%

^C
--8<---------------cut here---------------end--------------->8---

Why?
Is it expected?


All the best,
simon

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

* Re: why 'package --remove' download stuff?
  2020-02-13 18:03 why 'package --remove' download stuff? zimoun
@ 2020-02-13 18:30 ` Julien Lepiller
  2020-02-14  0:54   ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: Julien Lepiller @ 2020-02-13 18:30 UTC (permalink / raw)
  To: help-guix, zimoun

Le 13 février 2020 13:03:02 GMT-05:00, zimoun <zimon.toutoune@gmail.com> a écrit :
>Dear,
>
>In my '~/.guix-profile' managed in imperative style, I have a package
>(Gmsh) installed with an old version Guix. Then updating a particular
>package (Guile) in this very profile, there is conflicts (gmp) because
>of the Gmsh. Well, I run "guix package -r gmsh" because I do not care.
>Then:
>
>--8<---------------cut here---------------start------------->8---
>$ guix package -r gmsh
>The following package will be removed:
>   gmsh 2.16.0  /gnu/store/0hqlq7lgvgbkrw5nvqr4xcl14hmv78n0-gmsh-2.16.0
>
>substitute: updating substitutes from 'https://ci.guix.gnu.org'...
>100.0%
>substitute: updating substitutes from 'https://ci.guix.gnu.org'...
>100.0%
>substitute: updating substitutes from 'https://ci.guix.gnu.org'...
>100.0%
>The following derivations will be built:
>   /gnu/store/1h4iqwcbrzc313hs3sfdfiyn9cssfacv-profile.drv
>   /gnu/store/b0rkfyyhnninw448q0m42lnaxhgsb8j6-config.scm.drv
>116.6 MB will be downloaded:
>   /gnu/store/fpj5mspa7jmksixqpnzbvzs3q2vbqq31-glib-2.60.6-bin
>   /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6
>   /gnu/store/7myzmxzapx7jnvbsyzv4xhfi2gg58d1w-module-import
>   /gnu/store/cn5v2g0zihw9hdsgcnbl6knq4zincfdk-module-import-compiled
>   /gnu/store/5686hrxkbsm6ycf1ks9nja3mjjxjpl9a-desktop-file-utils-0.23
>   /gnu/store/k3m2kz55qiklkyihnnvhxhv0ylsyyaqc-module-import-compiled
>   /gnu/store/pfqvay49nk9cja05sqw5cwm7fn3w4fn3-module-import-compiled
>/gnu/store/sclspjcznk50s894irfk2wzn6nfnxa2g-guile-gdbm-ffi-20120209.fa1d5b6
>   /gnu/store/s2hqjjp057l2k6ix3yaa7cc2dpwxpfm7-module-import
>   /gnu/store/gfpiq0nnv7wrbq5mdydyj5lkwa4hbbxk-ghc-8.6.5
>   /gnu/store/05kyg8pg8zzbrn366imllhxavdcwqgsk-mkfontdir-1.0.7
>   /gnu/store/0dsc5kh6qfwshfaq01iqrfpdhlaici8n-libfontenc-1.1.4
>   /gnu/store/r1p07fn372rcxzvfzqwm44w16n8gcqfc-mkfontscale-1.2.1
>   /gnu/store/zjnz5gg04zfyzn5gi66lay8sgv6i4rj8-module-import-compiled
>   /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29
>   /gnu/store/qky1x5bb2jygy58bn6y95ygfsmpakf52-glibc-2.29-static
>   /gnu/store/irj21yhgls637jhhkb5yr79s76c96maq-texinfo-6.6
>   /gnu/store/wwwnp8025yb7k6qbv28hi1l6qy6j7d9z-module-import-compiled
>   /gnu/store/mxismwqg25ldc1g577xbnzs3yas3mp8y-module-import-compiled
>The following graft will be made:
>   /gnu/store/y3hbxqka580v0j3mnzm250vn7b87i0n5-glib-2.60.6.drv
>The following profile hooks will be built:
>   /gnu/store/0xf06lgy8lkfazvr9rqc9bbq2banjqnh-gtk-icon-themes.drv
>   /gnu/store/7i46wdfzf8prxn2y250y814h2d7m7bi4-gtk-im-modules.drv
>   /gnu/store/aa1knxy4jxyyczmc6rx15vs2i8g8zjqg-info-dir.drv
>  /gnu/store/cf80ym34x9symcjwqkis1vkf0b2ng1gc-ca-certificate-bundle.drv
>   /gnu/store/d9hy0lx7sl6fa67bihcdc0wdi5vg4nky-fonts-dir.drv
>   /gnu/store/mq6mrjxsxl1ps4p3a2mx09ml883fhnvk-ghc-package-cache.drv
>   /gnu/store/n03ihffbgdni1i8d3z6ij7f55d02qar3-manual-database.drv
>   /gnu/store/n4y9gqay4568l436lz1w8r3yjm10ykm7-xdg-mime-database.drv
>   /gnu/store/xamvw2jim6imh2wmm0wjk8hcwy26mzpk-xdg-desktop-database.drv
>   /gnu/store/zhv4sy61srr8sw583khbqda255di3439-glib-schemas.drv
>substitute: updating substitutes from 'https://ci.guix.gnu.org'...
>100.0%
>downloading from
>https://ci.guix.gnu.org/nar/lzip/mxismwqg25ldc1g577xbnzs3yas3mp8y-module-import-compiled...
> module-import-compiled  87KiB
>
>113.0MiB/s 00:00 [##################] 100.0%
>
>downloading from
>https://ci.guix.gnu.org/nar/gzip/cxdyd8w29ym0i4gdrmlfn0cbdzbnbsc2-config.scm...
> config.scm  189B
>
>56KiB/s 00:00 [##################] 100.0%
>
>downloading from
>https://ci.guix.gnu.org/nar/lzip/5686hrxkbsm6ycf1ks9nja3mjjxjpl9a-desktop-file-utils-0.23...
> desktop-file-utils-0.23  43KiB
>
>1.1MiB/s 00:00 [##################] 100.0%
>
>downloading from
>https://ci.guix.gnu.org/nar/lzip/9lcn7jl77sk1ps1idq47qhq4470ahfaa-ghc-8.6.5-doc...
> ghc-8.6.5-doc  4.8MiB
>
>3.6MiB/s 00:01 [##################] 100.0%
>
>downloading from
>https://ci.guix.gnu.org/nar/lzip/fpj5mspa7jmksixqpnzbvzs3q2vbqq31-glib-2.60.6-bin...
> glib-2.60.6-bin  105KiB
>
>1.6MiB/s 00:00 [##################] 100.0%
>
>downloading from
>https://ci.guix.gnu.org/nar/lzip/gfpiq0nnv7wrbq5mdydyj5lkwa4hbbxk-ghc-8.6.5...
> ghc-8.6.5  97.6MiB
>
>3.1MiB/s 00:32 [##################] 100.0%
>
>^C
>--8<---------------cut here---------------end--------------->8---
>
>Why?
>Is it expected?
>
>
>All the best,
>simon

I think this is due to profile hooks.

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

* Re: why 'package --remove' download stuff?
  2020-02-13 18:30 ` Julien Lepiller
@ 2020-02-14  0:54   ` zimoun
  2020-02-14  1:16     ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2020-02-14  0:54 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix

Hi Julien,

Thank you for the explanations.

On Thu, 13 Feb 2020 at 19:30, Julien Lepiller <julien@lepiller.eu> wrote:
> Le 13 février 2020 13:03:02 GMT-05:00, zimoun <zimon.toutoune@gmail.com> a écrit :

> >--8<---------------cut here---------------start------------->8---
> >$ guix package -r gmsh
> >The following package will be removed:
> >   gmsh 2.16.0  /gnu/store/0hqlq7lgvgbkrw5nvqr4xcl14hmv78n0-gmsh-2.16.0
> >
> >substitute: updating substitutes from 'https://ci.guix.gnu.org'...
> >100.0%
> >substitute: updating substitutes from 'https://ci.guix.gnu.org'...
> >100.0%
> >substitute: updating substitutes from 'https://ci.guix.gnu.org'...
> >100.0%
> >The following derivations will be built:
> >   /gnu/store/1h4iqwcbrzc313hs3sfdfiyn9cssfacv-profile.drv
> >   /gnu/store/b0rkfyyhnninw448q0m42lnaxhgsb8j6-config.scm.drv
> >116.6 MB will be downloaded:

[...]

> >^C
> >--8<---------------cut here---------------end--------------->8---

> I think this is due to profile hooks.

Hmm? Okish... but it is really annoying. And I do not understand the
reason of this.
I mean try to remove a package and see that ~120MB will be downloaded,
it appears at best awkward.

What should be the workaround?



Cheers,
simon

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

* Re: why 'package --remove' download stuff?
  2020-02-14  0:54   ` zimoun
@ 2020-02-14  1:16     ` Leo Famulari
  2020-02-14 11:20       ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2020-02-14  1:16 UTC (permalink / raw)
  To: zimoun; +Cc: help-guix

On Fri, Feb 14, 2020 at 01:54:53AM +0100, zimoun wrote:
> Hmm? Okish... but it is really annoying. And I do not understand the
> reason of this.

The reason is that, after you made the last profile, you ran `guix
pull`.

Some package that is used to build profiles was updated in the `guix
pull` and now, to make a new profile, you need to use that updated
package. There are profile hooks that do things like build the man page
database, and maybe those packages were updated.

Does that make sense?

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

* Re: why 'package --remove' download stuff?
  2020-02-14  1:16     ` Leo Famulari
@ 2020-02-14 11:20       ` zimoun
  0 siblings, 0 replies; 5+ messages in thread
From: zimoun @ 2020-02-14 11:20 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

Hi Leo,,

Thank you for the explanations.

On Fri, 14 Feb 2020 at 02:16, Leo Famulari <leo@famulari.name> wrote:
>
> On Fri, Feb 14, 2020 at 01:54:53AM +0100, zimoun wrote:
> > Hmm? Okish... but it is really annoying. And I do not understand the
> > reason of this.
>
> The reason is that, after you made the last profile, you ran `guix
> pull`.
>
> Some package that is used to build profiles was updated in the `guix
> pull` and now, to make a new profile, you need to use that updated
> package. There are profile hooks that do things like build the man page
> database, and maybe those packages were updated.
>
> Does that make sense?

Yes, it makes sense but it is totally counter-intuitive. :-)

Well, it is a bit hard: remove a tiny package and then big packages
such as GHC are downloaded.
I will see if I can improve the doc or something else.


Thanks,
simon

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

end of thread, other threads:[~2020-02-14 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-13 18:03 why 'package --remove' download stuff? zimoun
2020-02-13 18:30 ` Julien Lepiller
2020-02-14  0:54   ` zimoun
2020-02-14  1:16     ` Leo Famulari
2020-02-14 11:20       ` zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.