GNU bug report logs - #76000
Installer adds "nss-certs" to generated operating-system packages list, but it is included in %base-packages

Previous Next

Package: guix;

Reported by: Laurence Rochfort <laurence.rochfort <at> gmail.com>

Date: Sat, 1 Feb 2025 21:23:02 UTC

Severity: normal

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

To reply to this bug, email your comments to 76000 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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#76000; Package guix. (Sat, 01 Feb 2025 21:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Laurence Rochfort <laurence.rochfort <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 01 Feb 2025 21:23:02 GMT) Full text and rfc822 format available.

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

From: Laurence Rochfort <laurence.rochfort <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Installer adds "nss-certs" to generated operating-system packages
 list, but it is included in %base-packages
Date: Sat, 1 Feb 2025 20:11:03 +0000
Guix System was installed via guix-system-install-1.4.0.x86_64-linux.iso

Running "guix system reconfigure" produces this message:

"guix system: warning: multiple 'nss-certs' packages found;
'nss-certs' is now included by default in '%base-packages'; ensure it
is not explicitly listed in the operating system 'packages' field"


The config.scm generated by the graphical installer has the following
packages section:

 (packages (append (list (specification->package "i3-wm")
                          (specification->package "i3status")
                          (specification->package "dmenu")
                          (specification->package "st")
                          (specification->package "emacs")
                          (specification->package "emacs-exwm")
                          (specification->package
                           "emacs-desktop-environment")
                          (specification->package "nss-certs"))
                    %base-packages))



Removing the "(specification->package "nss-certs")" line fixes the
problem, but perhaps the installer needs to be updated to no longer
add nss-certs?

--
Laurence




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Mon, 03 Feb 2025 02:40:02 GMT) Full text and rfc822 format available.

Notification sent to Laurence Rochfort <laurence.rochfort <at> gmail.com>:
bug acknowledged by developer. (Mon, 03 Feb 2025 02:40:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Laurence Rochfort <laurence.rochfort <at> gmail.com>
Cc: 76000-done <at> debbugs.gnu.org
Subject: Re: bug#76000: Installer adds "nss-certs" to generated
 operating-system packages list, but it is included in %base-packages
Date: Sun, 2 Feb 2025 21:38:57 -0500
On Sat, Feb 01, 2025 at 08:11:03PM +0000, Laurence Rochfort wrote:
> Running "guix system reconfigure" produces this message:
> 
> "guix system: warning: multiple 'nss-certs' packages found;
> 'nss-certs' is now included by default in '%base-packages'; ensure it
> is not explicitly listed in the operating system 'packages' field"
> 
> 
> The config.scm generated by the graphical installer has the following
> packages section:
[...] 
>                           (specification->package "nss-certs"))

Thanks for the report! Yes, that's the problem.

> Removing the "(specification->package "nss-certs")" line fixes the
> problem, but perhaps the installer needs to be updated to no longer
> add nss-certs?

The code that creates the installer has been adjusted, but we haven't
issued a new release since nss-certs was added to %base-packages:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=65e8472a4b6fc6f66871ba0dad518b7d4c63595e

So, unfortunately, this warning message will be seen by everyone who
installs Guix System 1.4.0.

However, I don't believe it will break anything. Let us know if it does
seem to cause a problem beyond the annoying warning.

It's not that easy to "just update the installer", so we'll have to wait
for 1.5, 2.0, or whatever the next release is before this warning goes
away.

Thanks again for the report!




This bug report was last modified 5 days ago.

Previous Next


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