* bug#35541: Installer does not add %base-packages @ 2019-05-03 8:56 pelzflorian (Florian Pelz) 2019-05-03 10:08 ` Ludovic Courtès 2019-05-03 11:52 ` Ludovic Courtès 0 siblings, 2 replies; 16+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-05-03 8:56 UTC (permalink / raw) To: 35541 When and only when the Newt installer creates a packages field in the operating-system configuration e.g. for nss-certs, it does not add %base-packages to the packages field. (When no packages field is created, %base-packages is added by default.) ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 8:56 bug#35541: Installer does not add %base-packages pelzflorian (Florian Pelz) @ 2019-05-03 10:08 ` Ludovic Courtès 2019-05-03 10:26 ` Ricardo Wurmus 2019-05-03 10:30 ` Ludovic Courtès 2019-05-03 11:52 ` Ludovic Courtès 1 sibling, 2 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-03 10:08 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: 35541 "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > When and only when the Newt installer creates a packages field in the > operating-system configuration e.g. for nss-certs, it does not add > %base-packages to the packages field. (When no packages field is > created, %base-packages is added by default.) Ouch! That renders the installed system unusable, right? Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 10:08 ` Ludovic Courtès @ 2019-05-03 10:26 ` Ricardo Wurmus 2019-05-03 11:59 ` Ludovic Courtès 2019-05-03 10:30 ` Ludovic Courtès 1 sibling, 1 reply; 16+ messages in thread From: Ricardo Wurmus @ 2019-05-03 10:26 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 Ludovic Courtès <ludo@gnu.org> writes: > "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > >> When and only when the Newt installer creates a packages field in the >> operating-system configuration e.g. for nss-certs, it does not add >> %base-packages to the packages field. (When no packages field is >> created, %base-packages is added by default.) > > Ouch! That renders the installed system unusable, right? This might explain a report that we’ve seen on IRC on release day where a person was unable to use coreutils. So yes, the system would be hardly usable. -- Ricardo ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 10:26 ` Ricardo Wurmus @ 2019-05-03 11:59 ` Ludovic Courtès 2019-05-03 16:08 ` Timothy Sample 2019-05-04 12:40 ` Ludovic Courtès 0 siblings, 2 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-03 11:59 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 35541 Hello, I’d like us to better estimate the impact, communicate about workarounds, and have a bug-fix release plan. Like I wrote, in a bare-bones installation, Coreutils & co. are missing, but one can work around it by running, say: guix install coreutils grep sed findutils (Programs like ‘sudo’ and ‘passwd’ are available despite the bug because they are in /run/setuid-programs.) Has anyone tried on a GNOME, Xfce, or ratpoison install? I wonder if the problem is visible there (until you open a terminal, that is.) I think we should email info-guix@gnu.org and possibly write a post on the blog within at most two days with an explanation of the issue, workarounds, proper fix (which is to edit the config file and reconfigure), and an ETA for the bug-fix release. Thoughts? Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 11:59 ` Ludovic Courtès @ 2019-05-03 16:08 ` Timothy Sample 2019-05-03 18:42 ` Timothy Sample 2019-05-03 19:19 ` Ludovic Courtès 2019-05-04 12:40 ` Ludovic Courtès 1 sibling, 2 replies; 16+ messages in thread From: Timothy Sample @ 2019-05-03 16:08 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 Hi Ludo, Ludovic Courtès <ludo@gnu.org> writes: > Has anyone tried on a GNOME, Xfce, or ratpoison install? I wonder if > the problem is visible there (until you open a terminal, that is.) I just tried Xfce and it does not work. Adding “%base-packages” back into the config from the terminal fixed it, though. -- Tim ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 16:08 ` Timothy Sample @ 2019-05-03 18:42 ` Timothy Sample 2019-05-03 19:19 ` Ludovic Courtès 1 sibling, 0 replies; 16+ messages in thread From: Timothy Sample @ 2019-05-03 18:42 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 Hi, Timothy Sample <samplet@ngyro.com> writes: > Ludovic Courtès <ludo@gnu.org> writes: > >> Has anyone tried on a GNOME, Xfce, or ratpoison install? I wonder if >> the problem is visible there (until you open a terminal, that is.) > > I just tried Xfce and it does not work. Adding “%base-packages” back > into the config from the terminal fixed it, though. Just finished testing GNOME and it works. -- Tim ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 16:08 ` Timothy Sample 2019-05-03 18:42 ` Timothy Sample @ 2019-05-03 19:19 ` Ludovic Courtès 2019-05-03 20:39 ` Timothy Sample 1 sibling, 1 reply; 16+ messages in thread From: Ludovic Courtès @ 2019-05-03 19:19 UTC (permalink / raw) To: Timothy Sample; +Cc: 35541 Hi Tim, Timothy Sample <samplet@ngyro.com> skribis: > Ludovic Courtès <ludo@gnu.org> writes: > >> Has anyone tried on a GNOME, Xfce, or ratpoison install? I wonder if >> the problem is visible there (until you open a terminal, that is.) > > I just tried Xfce and it does not work. As in you can’t log in at all? > Just finished testing GNOME and it works. OK. Thanks for testing, Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 19:19 ` Ludovic Courtès @ 2019-05-03 20:39 ` Timothy Sample 0 siblings, 0 replies; 16+ messages in thread From: Timothy Sample @ 2019-05-03 20:39 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 Hi, > Timothy Sample <samplet@ngyro.com> skribis: > >> Ludovic Courtès <ludo@gnu.org> writes: >> >>> Has anyone tried on a GNOME, Xfce, or ratpoison install? I wonder if >>> the problem is visible there (until you open a terminal, that is.) >> >> I just tried Xfce and it does not work. > > As in you can’t log in at all? Exactly. It kicks me back out to GDM immediately. I assume that “xfce4-session” tries to find some utility in $PATH and fails when it can’t find it. -- Tim ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 11:59 ` Ludovic Courtès 2019-05-03 16:08 ` Timothy Sample @ 2019-05-04 12:40 ` Ludovic Courtès 2019-05-04 13:32 ` pelzflorian (Florian Pelz) 2019-05-04 16:49 ` Ricardo Wurmus 1 sibling, 2 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-04 12:40 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 35541 [-- Attachment #1: Type: text/plain, Size: 1087 bytes --] Hello, Ludovic Courtès <ludo@gnu.org> skribis: > I think we should email info-guix@gnu.org and possibly write a post on > the blog within at most two days with an explanation of the issue, > workarounds, proper fix (which is to edit the config file and > reconfigure), and an ETA for the bug-fix release. Unless there are objections, I will apply the patch below to the manual in the ‘version-1.0.0’ branch and update the on-line copies of the manual. That way the issue and workaround should be immediately visible to someone who follows the “Installation instructions” link on the download page. (This text won’t be translated, but we’ll have to live with it I guess.) I’ll also send roughly the same text to info-guix. Please tell me what you think! I think we can publish a release in two to four weeks. It should be an easier one anyway. We should take advantage of that time to gather installation bug reports and to address them, and also to see how we can automate the release process further. Thoughts? Thanks, Ludo’. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Type: text/x-patch, Size: 2460 bytes --] diff --git a/doc/guix.texi b/doc/guix.texi index 3b0517c5e3..2f1caf4659 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1774,6 +1774,11 @@ on a machine. Guix, as a package manager, can also be installed on top of a running GNU/Linux system, @pxref{Installation}. +@quotation Important Note +@xref{Guided Graphical Installation}, on how to work around a bug that affects +the graphical installer in version 1.0.0. +@end quotation + @ifinfo @quotation Note @c This paragraph is for people reading this from tty2 of the @@ -1992,6 +1997,56 @@ dependencies of your system configuration can be downloaded. See the The graphical installer is a text-based user interface. It will guide you, with dialog boxes, through the steps needed to install GNU@tie{}Guix System. +@quotation Important Note +Due to a @uref{https://issues.guix.info/issue/35541, bug}, the graphical +installer of Guix 1.0.0 may produce a system configuration where essential +commands such as @command{ls} or @command{grep} are missing. A new release +will be published in the coming weeks. Here is how you can work around it in +the meantime on your freshly installed system: + +@itemize +@item +Install packages that provide those commands, along with the text editor of +your choice (for example, @code{emacs} or @code{vim}): + +@example +guix install coreutils findutils grep procps sed emacs vim +@end example + +At this point, the essential commands you would expect are available. + +@item +Open your configuration file with your editor of choice, for example +@command{emacs}, running as root: + +@example +sudo emacs /etc/config.scm +@end example + +@item +Change the @code{packages} field to add the ``base packages'' to the list of +globally-installed packages, such that your configuration looks like this: + +@lisp +(operating-system + ;; ... snip ... + (packages (append (list (specification->package "nss-certs")) + %base-packages)) + ;; ... snip ... + ) +@end lisp + +@item +Reconfigure the system so that your new configuration is in effect: + +@example +sudo guix system reconfigure /etc/config.scm +@end example +@end itemize + +We apologize for this embarrassing mistake that we made. +@end quotation + The first dialog boxes allow you to set up the system as you use it during the installation: you can choose the language, keyboard layout, and set up networking, which will be used during the installation. The image below shows ^ permalink raw reply related [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-04 12:40 ` Ludovic Courtès @ 2019-05-04 13:32 ` pelzflorian (Florian Pelz) 2019-05-04 14:54 ` Ludovic Courtès 2019-05-04 16:49 ` Ricardo Wurmus 1 sibling, 1 reply; 16+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-05-04 13:32 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 On Sat, May 04, 2019 at 02:40:30PM +0200, Ludovic Courtès wrote: > Please tell me what you think! > It is a good text. However, I find it more tragic that Xfce and MATE do not work than that these commands are missing until installed, but it depends on the audience I guess. Regards, Florian ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-04 13:32 ` pelzflorian (Florian Pelz) @ 2019-05-04 14:54 ` Ludovic Courtès 2019-05-04 15:03 ` pelzflorian (Florian Pelz) 0 siblings, 1 reply; 16+ messages in thread From: Ludovic Courtès @ 2019-05-04 14:54 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: 35541 [-- Attachment #1: Type: text/plain, Size: 532 bytes --] "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > On Sat, May 04, 2019 at 02:40:30PM +0200, Ludovic Courtès wrote: >> Please tell me what you think! >> > > It is a good text. However, I find it more tragic that Xfce and MATE > do not work than that these commands are missing until installed, but > it depends on the audience I guess. Yeah, but note that the Xfce failure is due to this bug (confirmed by running ‘guix system vm desktop.tmpl’ with the attached patch.) Thanks, Ludo’. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Type: text/x-patch, Size: 968 bytes --] diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl index 3931bad60d..ff6e4e37dd 100644 --- a/gnu/system/examples/desktop.tmpl +++ b/gnu/system/examples/desktop.tmpl @@ -45,18 +45,14 @@ (users (cons (user-account (name "bob") (comment "Alice's brother") + (password (crypt "foo" "$6$abc")) (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) ;; This is where we specify system-wide packages. - (packages (append (list - ;; for HTTPS access - nss-certs - ;; for user mounts - gvfs) - %base-packages)) + (packages '()) ;; Add GNOME and Xfce---we can choose at the log-in screen ;; by clicking the gear. Use the "desktop" services, which ^ permalink raw reply related [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-04 14:54 ` Ludovic Courtès @ 2019-05-04 15:03 ` pelzflorian (Florian Pelz) 2019-05-04 21:16 ` Ludovic Courtès 0 siblings, 1 reply; 16+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-05-04 15:03 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 On Sat, May 04, 2019 at 04:54:23PM +0200, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > > On Sat, May 04, 2019 at 02:40:30PM +0200, Ludovic Courtès wrote: > >> Please tell me what you think! > >> > > > > It is a good text. However, I find it more tragic that Xfce and MATE > > do not work than that these commands are missing until installed, but > > it depends on the audience I guess. > > Yeah, but note that the Xfce failure is due to this bug (confirmed by > running ‘guix system vm desktop.tmpl’ with the attached patch.) > Hmm. Maybe mention that it fixes Xfce then. Regards, Florian ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-04 15:03 ` pelzflorian (Florian Pelz) @ 2019-05-04 21:16 ` Ludovic Courtès 0 siblings, 0 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-04 21:16 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: 35541 "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > On Sat, May 04, 2019 at 04:54:23PM +0200, Ludovic Courtès wrote: >> "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: >> > On Sat, May 04, 2019 at 02:40:30PM +0200, Ludovic Courtès wrote: >> >> Please tell me what you think! >> >> >> > >> > It is a good text. However, I find it more tragic that Xfce and MATE >> > do not work than that these commands are missing until installed, but >> > it depends on the audience I guess. >> >> Yeah, but note that the Xfce failure is due to this bug (confirmed by >> running ‘guix system vm desktop.tmpl’ with the attached patch.) >> > > Hmm. Maybe mention that it fixes Xfce then. Done, pushed to ‘version-1.0.0’, and published: https://gnu.org/software/guix/manual/en/html_node/Guided-Graphical-Installation.html Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-04 12:40 ` Ludovic Courtès 2019-05-04 13:32 ` pelzflorian (Florian Pelz) @ 2019-05-04 16:49 ` Ricardo Wurmus 1 sibling, 0 replies; 16+ messages in thread From: Ricardo Wurmus @ 2019-05-04 16:49 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 35541 Ludovic Courtès <ludo@gnu.org> writes: > Ludovic Courtès <ludo@gnu.org> skribis: > >> I think we should email info-guix@gnu.org and possibly write a post on >> the blog within at most two days with an explanation of the issue, >> workarounds, proper fix (which is to edit the config file and >> reconfigure), and an ETA for the bug-fix release. > > Unless there are objections, I will apply the patch below to the manual > in the ‘version-1.0.0’ branch and update the on-line copies of the > manual. That way the issue and workaround should be immediately visible > to someone who follows the “Installation instructions” link on the > download page. (This text won’t be translated, but we’ll have to live > with it I guess.) > > I’ll also send roughly the same text to info-guix. > > Please tell me what you think! This looks good. I just have a tiny nit to pick: > +We apologize for this embarrassing mistake that we made. I’d remove “that we made”. I’m looking forward to 1.0.1 :) -- Ricardo ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 10:08 ` Ludovic Courtès 2019-05-03 10:26 ` Ricardo Wurmus @ 2019-05-03 10:30 ` Ludovic Courtès 1 sibling, 0 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-03 10:30 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: 35541 Ludovic Courtès <ludo@gnu.org> skribis: > "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > >> When and only when the Newt installer creates a packages field in the >> operating-system configuration e.g. for nss-certs, it does not add >> %base-packages to the packages field. (When no packages field is >> created, %base-packages is added by default.) > > Ouch! That renders the installed system unusable, right? I did a full install for a bare-bones-like system with ‘nss-certs’ selected during the install. The resulting system has only ‘guix’ and ‘herd’ as useful commands in /run/current-system/profile/bin. You can log in but Coreutils commands etc. are missing. You can run: guix install coreutils grep sed findutils which solves the problem. It’s a serious issue nonetheless. :-/ Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#35541: Installer does not add %base-packages 2019-05-03 8:56 bug#35541: Installer does not add %base-packages pelzflorian (Florian Pelz) 2019-05-03 10:08 ` Ludovic Courtès @ 2019-05-03 11:52 ` Ludovic Courtès 1 sibling, 0 replies; 16+ messages in thread From: Ludovic Courtès @ 2019-05-03 11:52 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: 35541 "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis: > When and only when the Newt installer creates a packages field in the > operating-system configuration e.g. for nss-certs, it does not add > %base-packages to the packages field. (When no packages field is > created, %base-packages is added by default.) This is fixed here: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ecb0df6817eb3767e6b4dcf1945f3c2dfbe3b44f I’m keeping the bug open until we’ve come up with a plan. Ludo’. ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2019-05-04 21:18 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-05-03 8:56 bug#35541: Installer does not add %base-packages pelzflorian (Florian Pelz) 2019-05-03 10:08 ` Ludovic Courtès 2019-05-03 10:26 ` Ricardo Wurmus 2019-05-03 11:59 ` Ludovic Courtès 2019-05-03 16:08 ` Timothy Sample 2019-05-03 18:42 ` Timothy Sample 2019-05-03 19:19 ` Ludovic Courtès 2019-05-03 20:39 ` Timothy Sample 2019-05-04 12:40 ` Ludovic Courtès 2019-05-04 13:32 ` pelzflorian (Florian Pelz) 2019-05-04 14:54 ` Ludovic Courtès 2019-05-04 15:03 ` pelzflorian (Florian Pelz) 2019-05-04 21:16 ` Ludovic Courtès 2019-05-04 16:49 ` Ricardo Wurmus 2019-05-03 10:30 ` Ludovic Courtès 2019-05-03 11:52 ` Ludovic Courtès
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.