From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id INyCFzH4C2IOCwAAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 20:00:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cHU3EDH4C2JRkwAAG6o9tA (envelope-from ) for ; Tue, 15 Feb 2022 20:00:01 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD5219148 for ; Tue, 15 Feb 2022 20:00:00 +0100 (CET) Received: from localhost ([::1]:53112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK33P-0002iI-Rc for larch@yhetil.org; Tue, 15 Feb 2022 13:59:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK33A-0002e7-TY for help-guix@gnu.org; Tue, 15 Feb 2022 13:59:45 -0500 Received: from mout01.posteo.de ([185.67.36.65]:54857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK336-0001lP-NZ for help-guix@gnu.org; Tue, 15 Feb 2022 13:59:44 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CFC1E24002B for ; Tue, 15 Feb 2022 19:59:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1644951577; bh=Ka5FIz0MJQHiIfcX383n0RIbdizB8DHm5Qkayly0gUk=; h=Date:Subject:To:From:From; b=JcQyS6p/qDvlfN6+y5IhspsqekI5+BMpASD9dsdVO33UOOoqaSdyGuB4OkK+QTbFt HPgTATTS6nVJLqbYb/WQ1tF5Fpm5C5ybZVVnR0jpPDXPsMcdugXMMnzNF2KS6zwfhu RIScNeBbS1TsDUn0OIVqcsy+UHaD+XEWJGBzpVBvsRrPrj9277sAaEzauJ6z7+ruSh DB5yGyr0LCz53no1LTFCsGhyvCv2ix/HWc0O0ZbpZvC8pKsOkygGhBzQtPAX/M4QhH s2hBRjA7NDb39gFUiZT662jMSFboZk2NGU8WB/iKF8ZCKGjG+yT5QISulE5Q7Cw5uR 0ug5u6Smvnadg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jyr473KMFz9rxM; Tue, 15 Feb 2022 19:59:35 +0100 (CET) Message-ID: Date: Tue, 15 Feb 2022 18:59:34 +0000 MIME-Version: 1.0 Subject: Re: install a Printer Content-Language: de-DE To: Julien Lepiller , help-guix@gnu.org References: <07dd192a-c66e-ab47-891c-7111c4bd7b12@posteo.de> <9930FFD6-CE4A-4D1F-9377-A5D9BED9ABA6@lepiller.eu> <546032bd-52fa-9970-9de9-f936e4a046df@posteo.de> <60426FD7-4AB0-4362-A89E-CEB6F14A7059@lepiller.eu> <5E9BC81E-7B19-4FF4-9279-B5A172CB73B2@lepiller.eu> From: Gottfried In-Reply-To: <5E9BC81E-7B19-4FF4-9279-B5A172CB73B2@lepiller.eu> Received-SPF: pass client-ip=185.67.36.65; envelope-from=gottfried@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644951600; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Myzbf/tRsimtV3ANOEAfWBEi7suTfXqpW07b3Q5/WaY=; b=i1tjEvpEZo9f7RNxmN+9EuXd03yLMxOvPYvuWQYFcDzvB1grchTISUMabMdibqZXbMyygt nv6LrZQRJUX4THslSFA6kb9q3I0OjazBbJ242kUYtFxkySol5vjM/4hrkq4GMCtlIQvpQA LlRhwNiWJlfaYBgHwGKvMn6YLDKBBC5Fu5fbT4zTF9aKuAxymFbtz6swcSvW/zdAiLPQEx XcUz7SPiJe5w/IOI2fCV9HkdlG8xApjDrZVL8pMGjYhJBiVskayH4Fuyz7E4O0dYxOAZIO kCTn2YAuyc15PNdL+uUt92ovO63PizDmr00ZeeurG8eTUrNjQmUGvBo0/kbQFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644951600; a=rsa-sha256; cv=none; b=POYNwr6318PT//tGkOnsa0Rn89+fmt0u8z1HXuYI50jrS1aj+EfNV6Mv/N/HVZToP/eXye KmofSqGLc7b5a7pDmH5zqF7mXTiR9egXWiDFXnjhr7Ds1snCCfnJcS/mbAysFqm/JOM6qt oZNjn/MN4H//Aomwwx4sFDHqMzxm4jUqGj2URPTiVdvyKDMnRgbPN+9VVXMIelzNYr4R8E ugXfu/ong0kINbZuNXJysu2VzHz2UUckD0k76m8Fpg4wEDeImQtj1Wl5Ub2rQkfWSorDn+ c7g9G8FSkAbTuJhCH3Cm8aL0dacLzKS6eyQvYW0xJyHGaF/bWQlqujtLxsmabw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b="JcQyS6p/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b="JcQyS6p/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BD5219148 X-Spam-Score: -2.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: AN3znvW0aD3f Hi, I did it, as You said, or did I do something wrong? because the message was again: */etc/config.scm:25:2: Fehler: (services (append (list (service mate-desktop-service-type) (service enlightenment-desktop-service-type) (service cups-service-type) (cups-configuration (web-interface? #t) (extensions list cups-filters hplip))) (service openssh-service-type) (service tor-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services): invalid field specifier* ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (operating-system   (locale "de_DE.utf8")   (timezone "Europe/Berlin")   (keyboard-layout (keyboard-layout "de"))   (host-name "Tuxedo")   (users (cons* (user-account                   (name "gfp")                   (comment "Gfp")                   (group "users")                   (home-directory "/home/gfp")                   (supplementary-groups                     '("wheel" "netdev" "audio" "video")))                 %base-user-accounts))   (packages     (append       (list (specification->package "awesome")             (specification->package "nss-certs"))       %base-packages))   (services     (append       (list (service mate-desktop-service-type)             (service enlightenment-desktop-service-type) *(service cups-service-type)** **                (cups-configuration** **                    (web-interface? #t)** **                    (extensions list cups-filters hplip))) *             (service openssh-service-type)             (service tor-service-type)             (set-xorg-configuration               (xorg-configuration                 (keyboard-layout keyboard-layout))))       %desktop-services))   (bootloader     (bootloader-configuration       (bootloader grub-efi-bootloader)       (target "/boot/efi")       (keyboard-layout keyboard-layout)))   (swap-devices     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))   (file-systems     (cons* (file-system              (mount-point "/boot/efi")              (device (uuid "BB77-FE3B" 'fat32))              (type "vfat"))            (file-system              (mount-point "/")              (device                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"                      'ext4))              (type "ext4"))            %base-file-systems))) Gottfried Am 15.02.22 um 19:34 schrieb Julien Lepiller: > Almost. Right place, wrong parenthesis. Please read my first message > again and use the snippet I gave you. What you add must start with > "(service". Make sure the parenthesis are exactly at the same place I > showed you in the example, otherwise you're creating separate objects. > They're used to group things together. service, cups-service-type and > its configuration need to be in the same group. > > On February 15, 2022 7:29:19 PM GMT+01:00, Gottfried > wrote: > > Hi, > > I did this: > > ;; This is an operating system configuration generated > ;; by the graphical installer. > > (use-modules (gnu)) > (use-service-modules desktop networking ssh xorg) > > (operating-system >   (locale "de_DE.utf8") >   (timezone "Europe/Berlin") >   (keyboard-layout (keyboard-layout "de")) >   (host-name "Tuxedo") >   (users (cons* (user-account >                   (name "gfp") >                   (comment "Gfp") >                   (group "users") >                   (home-directory "/home/gfp") >                   (supplementary-groups >                     '("wheel" "netdev" "audio" "video"))) >                 %base-user-accounts)) >   (packages >     (append >       (list (specification->package "awesome") >             (specification->package "nss-certs")) >       %base-packages)) >   (services >     (append >       (list (service mate-desktop-service-type) >             (service enlightenment-desktop-service-type) > *(cups-service-type)** > **            (cups-configuration)** > **            (web-interface? #t)** > **            (extensions list cups-filters hplip))) * >             (service openssh-service-type) >             (service tor-service-type) >             (set-xorg-configuration >               (xorg-configuration >                 (keyboard-layout keyboard-layout)))) >       %desktop-services)) > >   (bootloader >     (bootloader-configuration >       (bootloader grub-efi-bootloader) >       (target "/boot/efi") >       (keyboard-layout keyboard-layout))) >   (swap-devices >     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0"))) >   (file-systems >     (cons* (file-system >              (mount-point "/boot/efi") >              (device (uuid "BB77-FE3B" 'fat32)) >              (type "vfat")) >            (file-system >              (mount-point "/") >              (device >                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" >                      'ext4)) >              (type "ext4")) >            %base-file-systems))) > > *Answer was:* > > */etc/config.scm:25:2: Fehler: (services (append (list (service > mate-desktop-service-type) (service > enlightenment-desktop-service-type) (cups-service-type) > (cups-configuration) (web-interface? #t) (extensions list > cups-filters hplip))) (service openssh-service-type) (service > tor-service-type) (set-xorg-configuration (xorg-configuration > (keyboard-layout keyboard-layout)))): invalid field specifier > * > >  Gottfried > > > > Am 15.02.22 um 18:44 schrieb Julien Lepiller: >> Hi, >> >> I'm sorry if my answer was confusing. Do not modify the >> use-service-modules form. Instead, insert the snippet I gave you >> at the same position as the other (service …) forms, for instance >> right below (service enlightenment-desktop-service-type) >> >> On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried >> wrote: >> >> Hi, >> >> I changed my >> >> /etc/config.scm file,to: >> ;; This is an operating system configuration generated >> ;; by the graphical installer. >> >> (use-modules (gnu)) >> (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))*** >> (operating-system >> (locale "de_DE.utf8") >> (timezone "Europe/Berlin") >> (keyboard-layout (keyboard-layout "de")) >> (host-name "Tuxedo") >> (users (cons* (user-account >> (name "gfp") >> (comment "Gfp") >> (group "users") >> (home-directory "/home/gfp") >> (supplementary-groups >> '("wheel" "netdev" "audio" "video"))) >> %base-user-accounts)) >> (packages >> (append >> (list (specification->package "awesome") >> (specification->package "nss-certs")) >> %base-packages)) >> (services >> (append >> (list (service mate-desktop-service-type) >> (service enlightenment-desktop-service-type) >> (service openssh-service-type) >> (service tor-service-type) >> (set-xorg-configuration >> (xorg-configuration >> (keyboard-layout keyboard-layout)))) >> %desktop-services)) >> >> (bootloader >> (bootloader-configuration >> (bootloader grub-efi-bootloader) >> (target "/boot/efi") >> (keyboard-layout keyboard-layout))) >> (swap-devices >> (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0"))) >> (file-systems >> (cons* (file-system >> (mount-point "/boot/efi") >> (device (uuid "BB77-FE3B" 'fat32)) >> (type "vfat")) >> (file-system >> (mount-point "/") >> (device >> (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" >> 'ext4)) >> (type "ext4")) >> %base-file-systems))) >> >> >> *The answer was:* >> >> /etc/config.scm:5:0: Fehler: module (gnu services >> cups-service-type) not found Hinweis: Der Befehl `guix system >> search cups-service-type' sucht nach einem zu >> `cups-service-type' passenden Dienst. Wenn Sie eine Ausgabe >> wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie >> `foo' in Ihre `use-service-modules'-Form ein. >> >> Gottfried >> >> Am 15.02.22 um 17:54 schrieb Julien Lepiller: >>> Your service specification is not at the right place, and >>> incorrect. You have to be careful with parenthesis, as they >>> define the structure of things (similar to braces in other >>> programming languages). >>> >>> The service specification needs to be inside the list, at >>> the same level as all these (service …) forms. In the same >>> way, you declare a service with (service foo-service-type >>> ), and the configuration is usually a record, >>> so it has parenthesis too. >>> >>> For records, you do: >>> >>> ( >>> ( ) >>> …) >>> >>> With as many fields as you want, as long as they exist. In >>> your config, guix found (cups-service-type) at the same >>> level as other fields of the operating-system, but >>> operating-system doesn't support such a field directly, and >>> the field does not have a value. >>> >>> Overall, try something like this, at the same parenthetical >>> level as the other (service …) forms. >>> >>> (service cups-service-type) >>> (cups-configuration >>> (web-interface? #t) >>> (extensions list cups-filters hplip))) >>> >>> HTH! >>> >>> >>> On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried >>> wrote: >>> >>> Hi, >>> >>> I tried to adjust my /etc/config.scm file, but I made some mistake. >>> >>> Could anybody help me please? >>> >>> here the file: (my changes are in bold letters) >>> >>> (I have installed cups, cups-filters, hplip in my guix system) >>> >>> >>> ;; This is an operating system configuration generated >>> >>> ;; by the graphical installer. >>> >>> (use-modules (gnu)) >>> (use-service-modules desktop networking ssh xorg *cups*) >>> >>> (operating-system >>>   (locale "de_DE.utf8") >>>   (timezone "Europe/Berlin") >>>   (keyboard-layout (keyboard-layout "de")) >>>   (host-name "Tuxedo") >>>   (users (cons* (user-account >>>                   (name "gfp") >>>                   (comment "Gfp") >>>                   (group "users") >>>                   (home-directory "/home/gfp") >>>                   (supplementary-groups >>>                     '("wheel" "netdev" "audio" "video"))) >>>                 %base-user-accounts)) >>>   (packages >>>     (append >>>       (list (specification->package "awesome") >>>             (specification->package "nss-certs")) >>>       %base-packages)) >>>   (services >>>     (append >>>       (list (service mate-desktop-service-type) >>>             (service enlightenment-desktop-service-type) >>>             (service openssh-service-type) >>>             (service tor-service-type) >>>             (set-xorg-configuration >>>               (xorg-configuration >>>                 (keyboard-layout keyboard-layout)))) >>>       %desktop-services)) >>> *(cups-service-type)** >>> **            (cups-configuration** >>> **            (web-interface? #t** >>> **            (extensions list cups-filters hplip))))* >>>   (bootloader >>>     (bootloader-configuration >>>       (bootloader grub-efi-bootloader) >>>       (target "/boot/efi") >>>       (keyboard-layout keyboard-layout))) >>>   (swap-devices >>>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0"))) >>>   (file-systems >>>     (cons* (file-system >>>              (mount-point "/boot/efi") >>>              (device (uuid "BB77-FE3B" 'fat32)) >>>              (type "vfat")) >>>            (file-system >>>              (mount-point "/") >>>              (device >>>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" >>>                      'ext4)) >>>              (type "ext4")) >>>            %base-file-systems))) >>> >>> >>> After running: sudo guix system reconfigure /etc/config.scm >>> >>> it said: >>> >>> 35:16: Fehler: (cups-service-type): invalid field specifier >>> Fehler(german word means mistake) >>> >>> What do I have to change? >>> >>> >>> Gottfried >>>