GNU bug report logs - #40985
building profile with 1 package

Previous Next

Package: guix;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>

Date: Thu, 30 Apr 2020 16:59:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40985 in the body.
You can then email your comments to 40985 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40985; Package guix. (Thu, 30 Apr 2020 16:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 30 Apr 2020 16:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Alexandru-Sergiu Marton" <brown121407 <at> posteo.ro>
To: <bug-guix <at> gnu.org>
Subject: building profile with 1 package
Date: Thu, 30 Apr 2020 19:53:21 +0300
For more than a week now, whenever I do a guix pull, it tells me it's
building a profile with 1 package. If I do other operations, such as
removing a package, it displays the number of packages installed in my
profile correctly (180-ish).

Here's the bit that it's outputting at the end of guix pull:

building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
building /gnu/store/1lbks2qii5fdwigln34yd4cpvg5gxk7i-inferior-script.scm.drv...
building package cache...
building profile with 1 package...

I'm confused by this behaviour. It has not changed in the last two
`guix system reconfigure`s I did.




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 30 Apr 2020 18:16:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>:
bug acknowledged by developer. (Thu, 30 Apr 2020 18:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 40985-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
Cc: 40985-done <at> debbugs.gnu.org
Subject: Re: bug#40985: building profile with 1 package
Date: Thu, 30 Apr 2020 14:15:40 -0400
On Thu, Apr 30, 2020 at 07:53:21PM +0300, Alexandru-Sergiu Marton wrote:
> For more than a week now, whenever I do a guix pull, it tells me it's
> building a profile with 1 package. If I do other operations, such as
> removing a package, it displays the number of packages installed in my
> profile correctly (180-ish).
> 
> Here's the bit that it's outputting at the end of guix pull:
> 
> building CA certificate bundle...
> building fonts directory...
> building directory of Info manuals...
> building profile with 1 package...
> building /gnu/store/1lbks2qii5fdwigln34yd4cpvg5gxk7i-inferior-script.scm.drv...
> building package cache...
> building profile with 1 package...
> 
> I'm confused by this behaviour. It has not changed in the last two
> `guix system reconfigure`s I did.

Guix can manage multiple profiles, each with their own history, and that
is what's happening here. By default, there are two profiles: the one
that deals with Guix itself, and the one that contains your installed
packages.

`guix pull` uses the former, found at '~/.config/guix/current'.

You can interact with this profile using the '--profile' argument to
`guix package`. For example:

------
$ guix package --profile=$HOME/.config/guix/current --list-generations
Generation 115	Mar 27 2020 03:05:01
  guix	260eae7	out	/gnu/store/ynihdaa8ripvrw2mzxdslhl3av938jpp-guix-260eae789
[...]
$ guix package --profile=$HOME/.config/guix/current --switch-generation=115
switched from generation 121 to 115
------

On the other hand, when you install packages, Guix uses the default
profile, which is found at ~/.guix-profile.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 May 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.