On 07/21/2014 04:43 AM, Roger Qiu wrote: > Hello, > > When I try running: > > `` > sudo nixos-rebuild switch --upgrade > ``` > > I get this message: > > ``` > /run/current-system/sw/bin/nix-channel: unable to check > `https://nixos.org/channels/nixos-14.04' > ``` > > What does that mean? And how can I fix it? > > It only happens when I use sudo with it. I cannot use the normal user > because of permission problems, so I end up have to switch to root user > and running it for it to succeed. But even as root, if I prefix the > command with `sudo` it still fails with that problem. > > Thanks, > Roger > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
While the other e-mails are workarounds, [1] is the actual issue in question in case you're interested why the problem occurs. [1]: https://github.com/NixOS/nixpkgs/pull/2688 -- Mateusz K. _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
