GNU bug report logs - #44437
Best way to install package in Guix System

Previous Next

Package: guix;

Reported by: musics <at> tutanota.com

Date: Wed, 4 Nov 2020 13:15:02 UTC

Severity: normal

Done: musics <at> tutanota.com

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44437 in the body.
You can then email your comments to 44437 AT debbugs.gnu.org in the normal way.

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#44437; Package guix. (Wed, 04 Nov 2020 13:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to musics <at> tutanota.com:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 04 Nov 2020 13:15:03 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: bug-guix <at> gnu.org
Subject: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 08:25:05 +0100 (CET)
[Message part 1 (text/plain, inline)]
What is the best way to install a package in Guix System? For installation (network-manager-openvpn), I put "guix install network-manager-openvpn" then "guix pull" and then "sudo guix system reconfigure /etc/config.scm" to complete the installation, but the package Not installed!
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 13:37:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 44437 <at> debbugs.gnu.org, musics <at> tutanota.com
Subject: Re: bug#44437: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 14:36:23 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Wed, 4 Nov 2020 08:25:05 +0100 (CET)
musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> What is the best way to install a package in Guix System? For installation (network-manager-openvpn), I put "guix install network-manager-openvpn" then "guix pull" and then "sudo guix system reconfigure /etc/config.scm" to complete the installation, but the package Not installed!

That is the correct way to install a package into your default user profile.

If you want to install a system service, however, that needs to be declared in
/etc/config.scm instead.

In this case, the operating-system's network-manager-service-type has a
<network-manager-configuration> record containing a field VPN-PLUGINS which
should list the packages you want as VPN plugins.  The default is the empty
list.

If your "services" field in operating-system in /etc/config.scm has
%desktop-services (which is likely), then you need to replace the
text %desktop-services by

            (modify-services %desktop-services
              (network-manager-type config =>
                (network-manager-configuration
                  (inherit config)
                  (vpn-plugins
                   (list network-manager-openvpn)))))

after you added

(use-package-modules gnome)

at the top of /etc/config.scm .

After that, invoke

  sudo guix system reconfigure /etc/config.scm

.

I checked and saw that this is documented in our info manual.

However, long term it would be better if the system installer or a system
configurer could do that via a text or graphical user interface.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 13:37:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 13:49:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: musics <at> tutanota.com
Cc: 44437 <at> debbugs.gnu.org
Subject: Re: bug#44437: Best way to install package in Guix System
Date: Wed, 04 Nov 2020 14:48:25 +0100
[Message part 1 (text/plain, inline)]
Musics,

musics--- via Bug reports for GNU Guix 写道:
> "guix install network-manager-openvpn" then "guix pull" and then
> "sudo guix system reconfigure /etc/config.scm"

‘guix pull’ updates the versions of packages that are *available* 
(guix package --list-available), but does not update any packages 
currently *installed* on your system.  For example:

 $ guix package --list-available=icecat
 icecat	78.3.0-guix0-preview1	...

 $ guix install icecat

 $ icecat --version
 GNU IceCat 78.3.0esr

 $ guix pull

 $ guix package --list-available=icecat
 icecat	78.4.1-guix0-preview1	...

 $ icecat --version
 GNU IceCat 78.3.0esr

 $ guix upgrade icecat # or guix install icecat

 $ icecat --version
 GNU IceCat 78.4.1esr

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 15:23:01 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Subject: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 15:50:17 +0100 (CET)
[Message part 1 (text/plain, inline)]
Many thanks to Danny and Tobias
I changed the config.scm file, after running "sudo guix system reconfigure /etc/config.scm" it displayed:
/etc/config.scm:31:6: error: network-manager-type: unbound variable
hint: Did you forget a ʻuse-modules' form?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 15:57:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: musics <at> tutanota.com
Cc: bug-guix <at> gnu.org, 44437 <44437 <at> debbugs.gnu.org>
Subject: Re: bug#44437: Best way to install package in Guix System
Date: Wed, 04 Nov 2020 16:56:19 +0100
[Message part 1 (text/plain, inline)]
Musics,

musics--- via Bug reports for GNU Guix 写道:
> I changed the config.scm file, after running "sudo guix system 
> reconfigure /etc/config.scm" it displayed:
> /etc/config.scm:31:6: error: network-manager-type: unbound 
> variable
> hint: Did you forget a ʻuse-modules' form?

You need to import the module that provides 
‘network-manager-type’.  Sometimes Guix suggests the module name 
in the hint, but not here.

You can find out the file name with ‘guix system search 
network-manager’ (eventually you'll ‘just know’, or grep the 
source ;-)

If the file name is gnu/services/networking.scm, the Guile module 
name is (gnu services networking).  This is a rule.

If you're using regular Guile use-modules syntax:

 (use-modules ...
              (gnu services networking)
              ...)

Or the Guix-specific use-service-modules syntax:

 (use-service-modules ...
                      networking
                      ...)

The latter is less verbose over time but both do the exact same 
thing.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 15:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 16:49:01 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 44437 <44437 <at> debbugs.gnu.org>, musics <at> tutanota.com
Subject: Re: bug#44437: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 17:48:51 +0100
[Message part 1 (text/plain, inline)]
On Wed, 4 Nov 2020 15:50:17 +0100 (CET)
musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> Many thanks to Danny and Tobias
> I changed the config.scm file, after running "sudo guix system reconfigure /etc/config.scm" it displayed:
> /etc/config.scm:31:6: error: network-manager-type: unbound variable
> hint: Did you forget a ʻuse-modules' form?

I'm sorry, I made a typo in the suggestion.

It should have been:

            (modify-services %desktop-services
              (network-manager-service-type config =>
                (network-manager-configuration
                  (inherit config)
                  (vpn-plugins
                   (list network-manager-openvpn)))))
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 16:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 17:24:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Subject: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 17:55:43 +0100 (CET)
[Message part 1 (text/plain, inline)]
Thank you Tobias,

(use-modules ... (gnu services networking) ...)
Where do I put this? At top of the file?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 17:24:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Subject: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 18:20:09 +0100 (CET)
[Message part 1 (text/plain, inline)]
Thanks so much Danny, it's right.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 18:45:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Subject: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 19:44:44 +0100 (CET)
[Message part 1 (text/plain, inline)]
But now the Add option to save the VPN is disabled. Cannot add an ovpn file. Is this related to this issue?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 19:45:01 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 44437 <44437 <at> debbugs.gnu.org>, musics <at> tutanota.com
Subject: Re: bug#44437: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 20:44:07 +0100
[Message part 1 (text/plain, inline)]
On Wed, 4 Nov 2020 19:44:44 +0100 (CET)
musics--- via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> But now the Add option to save the VPN is disabled. Cannot add an ovpn file. Is this related to this issue?

I'm sorry, I do not understand what you mean.

Can you make a screenshot?
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 19:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:16:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Wed, 4 Nov 2020 21:15:01 +0100 (CET)
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]
[Screenshot.png (image/png, attachment)]
[60.127.203.32.ovpn (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:40:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: musics <at> tutanota.com
Cc: 44437 <44437 <at> debbugs.gnu.org>
Subject: Re: bug#44437:
Date: Wed, 04 Nov 2020 21:39:53 +0100
[Message part 1 (text/plain, inline)]
musics--- via Bug reports for GNU Guix 写道:
> 60.127.203.32.ovpn

I'm compelled to point out that this file contains private keys. 
You should change them immediately if that was unintentional.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:47:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: musics <at> tutanota.com
Cc: bug-guix <at> gnu.org, 44437 <44437 <at> debbugs.gnu.org>
Subject: Re: bug#44437:
Date: Wed, 04 Nov 2020 21:46:55 +0100
[Message part 1 (text/plain, inline)]
> a dummy pair of client certificate
> and private key

Never mind, I can't read.  Or rather I refuse to.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:48:01 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Wed, 4 Nov 2020 21:47:00 +0100 (CET)
[Message part 1 (text/plain, inline)]
I downloaded this from vpngate.net, I need a password?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 20:50:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Wed, 4 Nov 2020 21:49:40 +0100 (CET)
[Message part 1 (text/plain, inline)]
You can read it.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Wed, 04 Nov 2020 21:10:01 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Wed, 4 Nov 2020 22:09:37 +0100 (CET)
[Message part 1 (text/plain, inline)]
in Debian, I used this method to connect.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Thu, 05 Nov 2020 10:39:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Thu, 5 Nov 2020 11:38:37 +0100 (CET)
[Message part 1 (text/plain, inline)]
this is a Guix System bug?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44437; Package guix. (Fri, 06 Nov 2020 15:03:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437 <44437 <at> debbugs.gnu.org>
Date: Fri, 6 Nov 2020 16:01:56 +0100 (CET)
[Message part 1 (text/plain, inline)]
Fortunately, the problem was solved.
It had a simple solution,
I copied the private key of the last part of the ovpn file from under <key> and pasted it into another file and saved it with the "key" extension; In the last step, after inserting the ovpn file, I put the key file in the last place (called "User private key") and successfully turned on the VPN.
[Message part 2 (text/html, inline)]

Reply sent to musics <at> tutanota.com:
You have taken responsibility. (Fri, 06 Nov 2020 15:15:02 GMT) Full text and rfc822 format available.

Notification sent to musics <at> tutanota.com:
bug acknowledged by developer. (Fri, 06 Nov 2020 15:15:02 GMT) Full text and rfc822 format available.

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

From: musics <at> tutanota.com
To: 44437-done <at> debbugs.gnu.org
Date: Fri, 6 Nov 2020 16:14:24 +0100 (CET)
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Dec 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 256 days ago.

Previous Next


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