unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix Pull - Device or Resource Busy
       [not found] <1827448990.5046781.1673202056151.ref@mail.yahoo.com>
@ 2023-01-08 18:20 ` mhrunnels@yahoo.com via
  2023-01-08 22:09   ` (
  2023-01-08 22:18   ` Timo Wilken
  0 siblings, 2 replies; 3+ messages in thread
From: mhrunnels@yahoo.com via @ 2023-01-08 18:20 UTC (permalink / raw)
  To: help-guix@gnu.org

Hi All,
I have installed the Guix system using the Guix 1.4 image and the graphical installer.
Following directions in the Guix 1.4 manual, I have tried to run the following command as root from within the newly installed and running system.
# guix pull
This produces the following error message.
# guix pull: error: while setting up the build environment: cannot remove real-root directory: device or resource busy
With that error message, the "guix pull" command fails.
I have also run the "guix pull" command with the following options to ascertain the error.
# guix pull --verbosity=3 --debug=5
However, I have been unable to capture the standard screen output for analysis.  All attempts to direct the output using pipes "|" or redirection ">" have failed.
Note as well that running the "guix install" command for a package produces a very similar error message.
So, with present Linux knowledge, Guix knowledge, the Guix 1.4 manual and various internet searches as resources, I have been unable to resolve this problem.
Any assistance or insight would be appreciated.
MH
PS - My "config.scm" file used to install and run the system is reproduced below.
;; This is an operating system configuration generated;; by the graphical installer.;;;; Once installation is complete, you can learn and modify;; this file to tweak the system configuration, and pass it;; to the 'guix system reconfigure' command to effect your;; changes.
;; Indicate which modules to import to access the variables;; used in this configuration.(use-modules (gnu))(use-service-modules cups desktop networking ssh xorg)
(operating-system  (locale "en_US.utf8")  (timezone "America/New_York")  (keyboard-layout (keyboard-layout "us"))  (host-name "L85")
  ;; The list of user accounts ('root' is implicit).  (users (cons* (user-account                  (name "J37")                  (comment "J37")                  (group "users")                  (home-directory "/home/J37")                  (supplementary-groups '("wheel" "netdev" "audio" "video")))                %base-user-accounts))
  ;; Packages installed system-wide.  Users can also install packages  ;; under their own account: use 'guix search KEYWORD' to search  ;; for packages and 'guix install PACKAGE' to install a package.  (packages (append (list (specification->package "nss-certs"))                    %base-packages))
  ;; Below is the list of system services.  To search for available  ;; services, run 'guix system search KEYWORD' in a terminal.  (services   (append (list (service tor-service-type)                 (service network-manager-service-type)                 (service wpa-supplicant-service-type)                 (service ntp-service-type)                 (service gpm-service-type)                 (service cups-service-type))
           ;; This is the default list of services we           ;; are appending to.           %base-services))
  (bootloader (bootloader-configuration                (bootloader grub-efi-bootloader)                (targets (list "/boot/efi"))                (keyboard-layout keyboard-layout)))
  ;; The list of file systems that get "mounted".  The unique  ;; file system identifiers there ("UUIDs") can be obtained  ;; by running 'blkid' in a terminal.  (file-systems (cons* (file-system                         (mount-point "")                         (device (uuid "BDAA-FF93"                                       'fat16))                         (type "vfat"))                       (file-system                         (mount-point "/")                         (device (uuid                                  "2c7a6854-30fd-44a9-92e5-cb04b834577e"                                  'ext4))                         (type "ext4"))                       (file-system                         (mount-point "/boot/efi")                         (device (uuid "6614-6330"                                       'fat32))                         (type "vfat")) %base-file-systems)))


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guix Pull - Device or Resource Busy
  2023-01-08 18:20 ` Guix Pull - Device or Resource Busy mhrunnels@yahoo.com via
@ 2023-01-08 22:09   ` (
  2023-01-08 22:18   ` Timo Wilken
  1 sibling, 0 replies; 3+ messages in thread
From: ( @ 2023-01-08 22:09 UTC (permalink / raw)
  To: mhrunnels@yahoo.com, help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

On Sun Jan 8, 2023 at 6:20 PM GMT, mhrunnels@yahoo.com via wrote:
> However, I have been unable to capture the standard screen output for analysis.  All attempts to direct the output using pipes "|" or redirection ">" have failed.

Have you tried redirecting stderr with ``2>''?

  guix pull --verbosity=3 --debug=5 2>guix-pull.log
    -- (

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guix Pull - Device or Resource Busy
  2023-01-08 18:20 ` Guix Pull - Device or Resource Busy mhrunnels@yahoo.com via
  2023-01-08 22:09   ` (
@ 2023-01-08 22:18   ` Timo Wilken
  1 sibling, 0 replies; 3+ messages in thread
From: Timo Wilken @ 2023-01-08 22:18 UTC (permalink / raw)
  To: mhrunnels@yahoo.com; +Cc: help-guix@gnu.org

Hi MH,

I don't have the solution to your problem unfortunately, but here are
a few hopefully-useful pointers:

On Sun, Jan 08, 2023 at 06:20:56PM +0000, mhrunnels@yahoo.com via wrote:
> I have also run the "guix pull" command with the following options
> to ascertain the error.
> 
> # guix pull --verbosity=3 --debug=5
> 
> However, I have been unable to capture the standard screen output
> for analysis.  All attempts to direct the output using pipes "|" or
> redirection ">" have failed.

Guix logs to stderr, not stdout. Use one of the following two
incantations to capture it:

$ guix pull ... 2>guix.log   # redirect stderr to guix.log
$ guix pull ... 2>&1 | cmd   # pipe stdout and stderr to "cmd"

> PS - My "config.scm" file used to install and run the system is
> reproduced below.

In your config.scm, you seem to have a file-system record with an
empty mountpoint:

(file-system
 (mount-point "")
 (device (uuid "BDAA-FF93" 'fat16))
 (type "vfat"))

Maybe that's causing problems?

Hope that helps,
Timo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-08 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1827448990.5046781.1673202056151.ref@mail.yahoo.com>
2023-01-08 18:20 ` Guix Pull - Device or Resource Busy mhrunnels@yahoo.com via
2023-01-08 22:09   ` (
2023-01-08 22:18   ` Timo Wilken

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).