From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#36611: Installation of a new guix system -- summaries of the issues Date: Fri, 12 Jul 2019 13:26:21 +0200 Message-ID: <9A077709-1700-4649-8099-F5ADEBFD0023__5062.75456152565$1562930841$gmane$org@lepiller.eu> References: <475952466.1050924121.1562884357218.JavaMail.zimbra@free.fr> <834194262.1058652910.1562922240277.JavaMail.zimbra@free.fr> <4554CC85-A1DE-4E43-BBD6-898B9558FEE7@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49451) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlthg-0003GM-Dz for bug-guix@gnu.org; Fri, 12 Jul 2019 07:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlthe-0007PD-ML for bug-guix@gnu.org; Fri, 12 Jul 2019 07:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlthe-0007P6-Il for bug-guix@gnu.org; Fri, 12 Jul 2019 07:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlthe-00019F-DX for bug-guix@gnu.org; Fri, 12 Jul 2019 07:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <4554CC85-A1DE-4E43-BBD6-898B9558FEE7@lepiller.eu> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36611@debbugs.gnu.org, help-guix@gnu.org Le 12 juillet 2019 11:29:49 GMT+02:00, Julien Lepiller a =C3=A9crit : >Le 12 juillet 2019 11:04:00 GMT+02:00, racin@free=2Efr a =C3=A9crit : >>(Cross-posting to help-guix as it may be more appropriate)=20 >> >>I now have two additional issues:=20 >> >>13=2E My profile disappeared once again and guix package does not work >>anymore (it says "guix package: error: unsupported manifest format")=2E >I >>realize that my =2Eguix-profile/etc/profile file has been emptied=2E=20 >>Maybe I had a problem during an upgrade, but aren't guix upgrades >>supposed to be atomic?=20 >> >>14=2E Also, my X server hangs unless I force the BIOS to use the >>"discrete card", which uses more power=2E My laptop uses an hyprid >>intel/nvidia configuration, is this supported by guix?=20 >> >>Thanks,=20 >>Matthieu=20 >> >> >> >>De: "racin" =20 >>=C3=80: "bug-guix" =20 >>Envoy=C3=A9: Vendredi 12 Juillet 2019 00:32:37=20 >>Objet: Installation of a new guix system -- summaries of the issues=20 >> >>Hi Guix!=20 >> >>I have just installed (successfully?) my first guix system!=20 >> >>As a newcomer (I know system administration quite well, but never used > >>guix before) I thought that I could share my experience (i=2Ee=2E issues= I > >>had ;)) installing Guix=2E Probably some of the issues are obvious once= =20 >>you know Guix well, but they aren't when, like me, you don't=2E I hope= =20 >>using this list for this post is not inappropriate=2E=20 >> >>I did not find any solution for some of the issues yet, so I would=20 >>also welcome help on those!=20 >> >>So, here is the list of issues I had=2E=20 >> >>1=2E An easy one: on a new computer, you now have to desactive this=20 >>secure boot thingy, else the live CD won't boot=2E As I understand it=20 >>the guix live CD is not "signed", which was the reason why it did not=20 >>boot (while other live CDs did)=2E This may sound obvious, except for=20 >>people whose previous computer was still using the BIOS; so maybe it=20 >>would be worth writing this in the installation instructions?=20 >> >>2=2E I had a lot of trouble understanding how profile worked;=20 >>consequently I think I installed a lot of versions of different=20 >>packages, which took ages=2E=20 >> >>After a while, I understood that=20 >> >>- guix pull creates a new profile, but is not used by default: why?=20 >>Similarly, guix kept telling me that I should do=20 >> >># GUIX_PROFILE=3D"/home/matthieu/=2Eguix-profile"=20 >># =2E "$GUIX_PROFILE/etc/profile"=20 >> >>So my question is: shouldn't the default =2Ebashrc uses the newest=20 >>guix command from guix pull, and contain these lines above?=20 >> >>- sudo guix system reconfigure /etc/config=2Escm is very different from= =20 >>sudo su; guix system reconfigure /etc/config=2Escm=2E=20 >> >>This is written explicitly in the documentation, so that was clear,=20 >>but I fell into the trap=2E=20 >> >>- guix system reconfigure /etc/config=2Escm (without sudo) fails at a=20 >>very late stage=2E Maybe this command should issue a warning when not=20 >>run with root rights?=20 >> >> >>3=2E At one time it seems that my entire user profile disappeared (maybe > >>I shut down my laptop at a wrong time)=2E I had to reinstall every=20 >>package I had installed with guix package -i=2E=20 >> >>4=2E I followed the initial exemple configuration of "A graphical system > >>with a choice of lightweight window managers", but it did not contain=20 >>any terminal emulator=2E=20 >> >>5=2E I installed Icecat but I am missing some fonts: some websites do=20 >>not display properly (e=2Eg=2E numbers do not show up), even if I untick= =20 >>"do not load custom fonts" (unticking this improves things a bit)=2E So= =20 >>I believe some more font package should be installed with icecat=2E=20 >> >>6=2E I had issues with gdm and lightdm, so I installed the xinit package > >>to start X sessions manually=2E 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=2E=20 >> >>7=2E nm-applet fails with this warning Failed to add/activate >connection: >>(1) Not authorized to control networking=2E=20 >>I have to do sudo nm-applet to have it working (but it works well, >wifi >>and wired)=20 >> >>8=2E Is there an equivalent to apt-file, e=2Eg=2E a way to know in which= =20 >>packages a file would be located? This would be very useful, for=20 >>instance I had trouble finding where the latex executable is=20 >>located, or ghc complaining about finding linux/errno=2Eh when I=20 >>wanted to install xmonad=2E The problem is even more important for=20 >>guix, as in other systems the dependencies eventually show up in=20 >>your profile (e=2Eg=2E installing texlive-latex-beamer would install=20 >>the latex binary), whereas in guix you have to explicitely install=20 >>the right package in Guix=2E=20 >> >>9=2E nm-applet cannot find the right icon sets, so it uses a "forbidden= =20 >>sign" icon everywhere (which is a bit scary)=2E The error I get is=20 >> >>failed to load icon "nm-stage03-connecting11": Icon=20 >>'nm-stage03-connecting11' not present in theme Adwaita=20 >> >>so I guess some icon are missing; I tried to install=20 >>gnome-icon-theme with no luck=2E=20 >> >>10=2E My latest problem happened when I tried to install slim (but the= =20 >>problem remains when I switch back to gdm or tried to use a previous=20 >>system configuration, which surprised me)=2E Now when I boot, I have a= =20 >>"gdm" user that was created and which attemps to log 505 times, which=20 >>freezes my computer for 2 minutes (I I try to use it at the same=20 >>times, it hangs)=2E My work-around is to switch to the console and wait= =20 >>that all these unsuccessful connection stops, but this is not=20 >>ideal=2E=2E=2E=20 >> >>11=2E Before I found this work-around I tried to fix the problem by=20 >>booting + chrooting from another OS, a solution I have often used to=20 >>fix my OS but could not do on guix=2E=2E=2E Which scares me a bit becaus= e I=20 >>fill that I have no easy way to fix my OS if it was broken=2E Is there= =20 >>an easy way to do that in guix?=20 >> >>12=2E I also remember that the installer said something like "I will=20 >>erase the whole disk and you would loose all your data", while I used=20 >>the manual partitionning scheme and asked to format only one=20 >>partition, and this was a bit scary=2E=20 >> >>Wow, that was a long list=2E Obviously I did not write about everything= =20 >>that went well during the installation, so thanks for your hard work!=20 >>By posting this, I just hope that it will help new users to have less=20 >>problems to solve in the future!=20 >> >>Thanks,=20 >>Matthieu=20 >> >> >>PS: here is my config=2Escm file=20 >> >>;; This is an operating system configuration generated=20 >>;; by the graphical installer=2E=20 >> >>(use-modules (gnu))=20 >>(use-service-modules desktop networking ssh xorg)=20 >>(use-modules (nongnu packages linux))=20 >>(use-modules (srfi srfi-1)) ; for remove=20 >> >>(operating-system=20 >>(locale "en_US=2Eutf8")=20 >>(timezone "Europe/Paris")=20 >>(keyboard-layout=20 >>(keyboard-layout "us" "altgr-intl"))=20 >>(kernel linux)=20 >>(firmware (cons* iwlwifi-firmware %base-firmware))=20 >>(bootloader=20 >>(bootloader-configuration=20 >>(bootloader grub-efi-bootloader)=20 >>(target "/boot/efi")=20 >>(keyboard-layout keyboard-layout)))=20 >>(file-systems=20 >>(cons* (file-system=20 >>(mount-point "/")=20 >>(device=20 >>(uuid "7dd68b9b-26ba-47f7-aa82-3469060d2936"=20 >>'ext4))=20 >>(type "ext4"))=20 >>(file-system=20 >>(mount-point "/boot/efi")=20 >>(device (uuid "90D1-BAAF" 'fat32))=20 >>(type "vfat"))=20 >>%base-file-systems))=20 >>(host-name "x1")=20 >>(users (cons* (user-account=20 >>(name "matthieu")=20 >>(comment "Matthieu")=20 >>(group "users")=20 >>(home-directory "/home/matthieu")=20 >>(supplementary-groups=20 >>'("wheel" "netdev" "audio" "video")))=20 >>%base-user-accounts))=20 >>(packages=20 >>(append=20 >>(list (specification->package "xmonad")=20 >>(specification->package "awesome")=20 >>(specification->package "dmenu")=20 >>(specification->package "tlsdate") ; for initial time adjustment=20 >>(specification->package "nss-certs"))=20 >>%base-packages))=20 >>(services=20 >>(append=20 >>(list (service openssh-service-type)=20 >> >>(set-xorg-configuration=20 >>(xorg-configuration=20 >>(keyboard-layout keyboard-layout)))=20 >> >>(service slim-service-type (slim-configuration=20 >>(display ":0")=20 >>(vt "vt6")))=20 >> >>)=20 >> >>(remove (lambda (service)=20 >>(eq? (service-kind service) gdm-service-type))=20 >> >> >>%desktop-services=20 >> >>))))=20 > >Before you change anything, can you post your =2Eguix-profile/manifest >file? Maybe it will help us understand what's going on on your side=2E >You're actually the second user we hear that from, but we thought they >might have tried to install things in parallel=2E It could explain some >of your symptoms too, but not the manifest issue=2E > >Whenever guix started acting crazy for me, it was because of a disk >failure or corruption=2E You should probably try to run fsck on your root >partition=2E Matthieu if you can read me, note that your email provider (free) rejected= my email to you with "spam detected"=2E