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

Read-only filesystem when upgrade system #11596

Open
machadofguilherme opened this issue Sep 26, 2024 · 4 comments
Open

Read-only filesystem when upgrade system #11596

machadofguilherme opened this issue Sep 26, 2024 · 4 comments
Labels

Comments

@machadofguilherme
Copy link

Describe the bug

The error occurs when I try to run nixos-rebuild switch --upgrade. During the execution of the command, the following error message appears:

building Nix...
/nix/store/xdnq3gpfj095i4rca1b7hya4zryvs7ia-nixos-rebuild/bin/nixos-rebuild: line 594: /nix/var/nix/profiles/per-user/root/channels/nixos/.version-suffix: Read-only file system
building the system configuration...

After the command finishes and restarts the computer, the changes proposed by the Nix configuration file have no effect.

Steps To Reproduce

  1. Switch to unstable branch.
  2. Run nixos-rebuild switch --upgrade

Expected behavior

A successful construction and upgrade.

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

@jkotran
Copy link

jkotran commented Sep 28, 2024

I would like to validate the OP's bug report. I'm experiencing this too. I'm on STABLE. It occurs after running:

nix-channel --update

nixos-rebuild switch --upgrade

@ZengarZombolt
Copy link

I'm on unstable and getting the same thing with the same commands.

/nix/store/xdnq3gpfj095i4rca1b7hya4zryvs7ia-nixos-rebuild/bin/nixos-rebuild: line 594: /nix/var/nix/profiles/per-user/root/channels/nixos/.version-suffix: Read-only file system

@TudbuT
Copy link

TudbuT commented Sep 29, 2024

Same issue here (also on unstable), but nothing appears broken except for the error message.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/read-only-file-system-at-nixos-rebuild-switch/53352/5

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

5 participants