From: Julien Lepiller <julien@lepiller.eu>
To: 36611@debbugs.gnu.org, help-guix@gnu.org
Subject: bug#36611: Installation of a new guix system -- summaries of the issues
Date: Fri, 12 Jul 2019 13:26:21 +0200 [thread overview]
Message-ID: <9A077709-1700-4649-8099-F5ADEBFD0023__5062.75456152565$1562930841$gmane$org@lepiller.eu> (raw)
In-Reply-To: <4554CC85-A1DE-4E43-BBD6-898B9558FEE7@lepiller.eu>
Le 12 juillet 2019 11:29:49 GMT+02:00, Julien Lepiller <julien@lepiller.eu> a écrit :
>Le 12 juillet 2019 11:04:00 GMT+02:00, racin@free.fr a écrit :
>>(Cross-posting to help-guix as it may be more appropriate)
>>
>>I now have two additional issues:
>>
>>13. My profile disappeared once again and guix package does not work
>>anymore (it says "guix package: error: unsupported manifest format").
>I
>>realize that my .guix-profile/etc/profile file has been emptied.
>>Maybe I had a problem during an upgrade, but aren't guix upgrades
>>supposed to be atomic?
>>
>>14. Also, my X server hangs unless I force the BIOS to use the
>>"discrete card", which uses more power. My laptop uses an hyprid
>>intel/nvidia configuration, is this supported by guix?
>>
>>Thanks,
>>Matthieu
>>
>>
>>
>>De: "racin" <racin@free.fr>
>>À: "bug-guix" <bug-guix@gnu.org>
>>Envoyé: Vendredi 12 Juillet 2019 00:32:37
>>Objet: Installation of a new guix system -- summaries of the issues
>>
>>Hi Guix!
>>
>>I have just installed (successfully?) my first guix system!
>>
>>As a newcomer (I know system administration quite well, but never used
>
>>guix before) I thought that I could share my experience (i.e. issues I
>
>>had ;)) installing Guix. Probably some of the issues are obvious once
>>you know Guix well, but they aren't when, like me, you don't. I hope
>>using this list for this post is not inappropriate.
>>
>>I did not find any solution for some of the issues yet, so I would
>>also welcome help on those!
>>
>>So, here is the list of issues I had.
>>
>>1. An easy one: on a new computer, you now have to desactive this
>>secure boot thingy, else the live CD won't boot. As I understand it
>>the guix live CD is not "signed", which was the reason why it did not
>>boot (while other live CDs did). This may sound obvious, except for
>>people whose previous computer was still using the BIOS; so maybe it
>>would be worth writing this in the installation instructions?
>>
>>2. I had a lot of trouble understanding how profile worked;
>>consequently I think I installed a lot of versions of different
>>packages, which took ages.
>>
>>After a while, I understood that
>>
>>- guix pull creates a new profile, but is not used by default: why?
>>Similarly, guix kept telling me that I should do
>>
>># GUIX_PROFILE="/home/matthieu/.guix-profile"
>># . "$GUIX_PROFILE/etc/profile"
>>
>>So my question is: shouldn't the default .bashrc uses the newest
>>guix command from guix pull, and contain these lines above?
>>
>>- sudo guix system reconfigure /etc/config.scm is very different from
>>sudo su; guix system reconfigure /etc/config.scm.
>>
>>This is written explicitly in the documentation, so that was clear,
>>but I fell into the trap.
>>
>>- guix system reconfigure /etc/config.scm (without sudo) fails at a
>>very late stage. Maybe this command should issue a warning when not
>>run with root rights?
>>
>>
>>3. At one time it seems that my entire user profile disappeared (maybe
>
>>I shut down my laptop at a wrong time). I had to reinstall every
>>package I had installed with guix package -i.
>>
>>4. I followed the initial exemple configuration of "A graphical system
>
>>with a choice of lightweight window managers", but it did not contain
>>any terminal emulator.
>>
>>5. I installed Icecat but I am missing some fonts: some websites do
>>not display properly (e.g. numbers do not show up), even if I untick
>>"do not load custom fonts" (unticking this improves things a bit). So
>>I believe some more font package should be installed with icecat.
>>
>>6. I had issues with gdm and lightdm, so I installed the xinit package
>
>>to start X sessions manually. But it seems that startx/xinit looks for
>
>>a X server in the same path than the xinit binary, which won't work on
>
>>guix.
>>
>>7. nm-applet fails with this warning Failed to add/activate
>connection:
>>(1) Not authorized to control networking.
>>I have to do sudo nm-applet to have it working (but it works well,
>wifi
>>and wired)
>>
>>8. Is there an equivalent to apt-file, e.g. a way to know in which
>>packages a file would be located? This would be very useful, for
>>instance I had trouble finding where the latex executable is
>>located, or ghc complaining about finding linux/errno.h when I
>>wanted to install xmonad. The problem is even more important for
>>guix, as in other systems the dependencies eventually show up in
>>your profile (e.g. installing texlive-latex-beamer would install
>>the latex binary), whereas in guix you have to explicitely install
>>the right package in Guix.
>>
>>9. nm-applet cannot find the right icon sets, so it uses a "forbidden
>>sign" icon everywhere (which is a bit scary). The error I get is
>>
>>failed to load icon "nm-stage03-connecting11": Icon
>>'nm-stage03-connecting11' not present in theme Adwaita
>>
>>so I guess some icon are missing; I tried to install
>>gnome-icon-theme with no luck.
>>
>>10. My latest problem happened when I tried to install slim (but the
>>problem remains when I switch back to gdm or tried to use a previous
>>system configuration, which surprised me). Now when I boot, I have a
>>"gdm" user that was created and which attemps to log 505 times, which
>>freezes my computer for 2 minutes (I I try to use it at the same
>>times, it hangs). My work-around is to switch to the console and wait
>>that all these unsuccessful connection stops, but this is not
>>ideal...
>>
>>11. Before I found this work-around I tried to fix the problem by
>>booting + chrooting from another OS, a solution I have often used to
>>fix my OS but could not do on guix... Which scares me a bit because I
>>fill that I have no easy way to fix my OS if it was broken. Is there
>>an easy way to do that in guix?
>>
>>12. I also remember that the installer said something like "I will
>>erase the whole disk and you would loose all your data", while I used
>>the manual partitionning scheme and asked to format only one
>>partition, and this was a bit scary.
>>
>>Wow, that was a long list. Obviously I did not write about everything
>>that went well during the installation, so thanks for your hard work!
>>By posting this, I just hope that it will help new users to have less
>>problems to solve in the future!
>>
>>Thanks,
>>Matthieu
>>
>>
>>PS: here is my config.scm file
>>
>>;; This is an operating system configuration generated
>>;; by the graphical installer.
>>
>>(use-modules (gnu))
>>(use-service-modules desktop networking ssh xorg)
>>(use-modules (nongnu packages linux))
>>(use-modules (srfi srfi-1)) ; for remove
>>
>>(operating-system
>>(locale "en_US.utf8")
>>(timezone "Europe/Paris")
>>(keyboard-layout
>>(keyboard-layout "us" "altgr-intl"))
>>(kernel linux)
>>(firmware (cons* iwlwifi-firmware %base-firmware))
>>(bootloader
>>(bootloader-configuration
>>(bootloader grub-efi-bootloader)
>>(target "/boot/efi")
>>(keyboard-layout keyboard-layout)))
>>(file-systems
>>(cons* (file-system
>>(mount-point "/")
>>(device
>>(uuid "7dd68b9b-26ba-47f7-aa82-3469060d2936"
>>'ext4))
>>(type "ext4"))
>>(file-system
>>(mount-point "/boot/efi")
>>(device (uuid "90D1-BAAF" 'fat32))
>>(type "vfat"))
>>%base-file-systems))
>>(host-name "x1")
>>(users (cons* (user-account
>>(name "matthieu")
>>(comment "Matthieu")
>>(group "users")
>>(home-directory "/home/matthieu")
>>(supplementary-groups
>>'("wheel" "netdev" "audio" "video")))
>>%base-user-accounts))
>>(packages
>>(append
>>(list (specification->package "xmonad")
>>(specification->package "awesome")
>>(specification->package "dmenu")
>>(specification->package "tlsdate") ; for initial time adjustment
>>(specification->package "nss-certs"))
>>%base-packages))
>>(services
>>(append
>>(list (service openssh-service-type)
>>
>>(set-xorg-configuration
>>(xorg-configuration
>>(keyboard-layout keyboard-layout)))
>>
>>(service slim-service-type (slim-configuration
>>(display ":0")
>>(vt "vt6")))
>>
>>)
>>
>>(remove (lambda (service)
>>(eq? (service-kind service) gdm-service-type))
>>
>>
>>%desktop-services
>>
>>))))
>
>Before you change anything, can you post your .guix-profile/manifest
>file? Maybe it will help us understand what's going on on your side.
>You're actually the second user we hear that from, but we thought they
>might have tried to install things in parallel. It could explain some
>of your symptoms too, but not the manifest issue.
>
>Whenever guix started acting crazy for me, it was because of a disk
>failure or corruption. You should probably try to run fsck on your root
>partition.
Matthieu if you can read me, note that your email provider (free) rejected my email to you with "spam detected".
next prev parent reply other threads:[~2019-07-12 11:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-11 22:32 bug#36611: Installation of a new guix system -- summaries of the issues racin
2019-07-12 9:04 ` racin
2019-07-12 9:29 ` Julien Lepiller
2019-07-12 11:26 ` Julien Lepiller [this message]
2019-07-14 13:59 ` Ludovic Courtès
2019-07-12 12:40 ` racin
2019-07-14 14:04 ` bug#36611: Disappearing profile? Ludovic Courtès
2019-07-16 7:42 ` racin
2019-07-16 20:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9A077709-1700-4649-8099-F5ADEBFD0023__5062.75456152565$1562930841$gmane$org@lepiller.eu' \
--to=julien@lepiller.eu \
--cc=36611@debbugs.gnu.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).