Skip to content

"Switching into this system is not recommended" message due to dbus implementation change #1039

Description

@alexvorobiev

Bug description

After updating the flake the new system configuration is not activated:

There are changes to critical components of the system:

dbus-implementation : dbus -> broker

Switching into this system is not recommended.

To Reproduce

nix flake update
nixos-rebuild  --flake /home/alex/nix-config#wsl switch -L

Logs

Checking switch inhibitors...
There are changes to critical components of the system:

dbus-implementation : dbus -> broker

Switching into this system is not recommended.
You probably want to run 'nixos-rebuild boot' and reboot your system instead.

If you really want to switch into this configuration directly, then
you can set NIXOS_NO_CHECK=1 to ignore pre-switch checks.

WARNING: doing so might cause the switch to fail or your system to become unstable.

Pre-switch check 'switchInhibitors' failed
Pre-switch checks failed
Command 'systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER -E NIXOS_NO_CHECK --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration /nix/store/acrlavaiawwhmg0fj0vnajnpb0nxckba-nixos-system-wsl-26.05.20260422.0726a0e/bin/switch-to-configuration switch' returned non-zero exit status 1.

WSL version

WSL version: 2.7.3.0
Kernel version: 6.6.114.1-1
WSLg version: 1.0.73
MSRDC version: 1.2.6676
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.8246

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions