Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot instal NixOS on VirtualBox #3594

Closed
gusevalexey0 opened this issue May 18, 2020 · 4 comments
Closed

Cannot instal NixOS on VirtualBox #3594

gusevalexey0 opened this issue May 18, 2020 · 4 comments
Labels

Comments

@gusevalexey0
Copy link

Trying to install nixos-20.03.1896 on Virtualbox. Build constantly fails on different stages.

Steps To Reproduce

  1. Go to https://nixos.org/nixos/manual/index.html#sec-instaling-virtualbox-guest
  2. Follow the instructions
  3. run nixos-install
  4. See error
  5. Repeat
  6. See another error
[root@nixos:/home/nixos]# rm -rf /mnt/nix && nixos-install 
building the configuration in /mnt/etc/nixos/configuration.nix... 
error 9 while decompressing xz file 
cannot build derivation '/nix/store/vaqr0a09afgf262500cdyf1psab958q1-stage-1-init.sh.drv': 1 dependencies couldn't be built 
cannot build derivation '/nix/store/Ojyssicdfbrb11433qndy99ir6hckgsf-initrd-linux-5.4.41.drv': 1 dependencies couldn't be built 
cannot build derivation '/nix/store/jgjgb7rdr1f4f8r6qcmcpdmOnpzwscmk-nixos-system-nixos-20.03.1896.0 25deb80b24.drv': 1 dependencies couldn't be built
[0 built (1 failed), 17 copied (1 failed) (214.8 MiB), 5.6 Mi8 DL] 
error: build of '/nix/store/jgjgb7rdr1f4f8r6qcmcpdmOnpzwscmk-nixos-system-nixos-20.03.1896.025deb80b 24.drv' failed 
[root@nixos:/home/nixos]# rm -rf /mnt/nix && nixos-install 
building the configuration in /mnt/etc/nixos/configuration.nix... 
error 9 while decompressing xz file 
cannot build derivation '/nix/store/jaigzvlh1Odaq6pfwr1mkOzbymdw6c5g-fontconfig-etc.drv': 1 dependencies couldn't be built 
cannot build derivation '/nix/store/i3404rks1kyf6x5sxvwmnxya1mhdi1v9-system-path.drv': 1 dependenciess couldn't be built 
cannot build derivation '/nix/store/jgjgb7rdr1f4f8r6qcmcpdmOnpzwscmk-nixos-system-nixos-20.03.1896.0 25deb80624.drv': 1 dependencies couldn't be built 
[0 built (2 failed), 13 copied (1 failed) (212.9 MiB), 0.3 MiB DL] 
error: build of '/nix/store/jgjgb7rdr1f4f8r6qcmcpdmOnpzwscmk-nixos-system-nixos-20.03.1896.025deb80b 24.drv' failed 

Expected behavior

NixOS successfully installed

nix-env --version output
nix-env (Nix) 2.3.4

@refaelsh
Copy link

refaelsh commented Jun 10, 2020

I am experiencing exactly the same issue.

@refaelsh
Copy link

@gusevalexey0, where you able to workaround this issue?

@gleber
Copy link
Contributor

gleber commented Jun 10, 2020 via email

@refaelsh
Copy link

Oh, thanks. Then its not an issue with NixOS itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants