LINUX.ORG.RU

Ошибки при установке NixOS

 ,


0

1

Попробовал установить NixOs из Debian по инструкции https://nixos.wiki/wiki/Installing_from_Linux

На этапе chroot . /$INIT возникают ошибки:

<<< NixOS Stage 2 >>>

mount: /: mount point not mounted or bad option.
running activation script...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
setting up /etc...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
unpacking the NixOS/Nixpkgs sources...
error: writing to file: Operation not permitted
ln: failed to create symbolic link '/root/.nix-defexpr/channels': File exists
starting systemd...

nix-channel –update выдаёт

warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: writing to file: Operation not permitted
error: program '/nix/store/0id2fghs79xqjq0fs0zyns0qqakl25bb-nix-2.3.3/bin/nix-env' failed with exit code 1

Написано же:

This article or section is out of date.

В мануале есть соответствующий раздел.

Есть инструкция для UEFI по которой я много раз успешно ставил систему на VPS.

Если нужна более интерактивная помощь, заходи на https://t.me/ru_nixos

Tsukasa ()
Последнее исправление: Tsukasa (всего исправлений: 1)