[Nix-dev] Upgrading NixOS with sudo results in some error

Luca Bruno lethalman88 at gmail.com
Mon Jul 21 20:58:42 CEST 2014


Use http in the channel, not https.


On Mon, Jul 21, 2014 at 4:43 AM, Roger Qiu <roger.qiu at polycademy.com> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
www.debian.org - The Universal Operating System
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140721/0bde96d2/attachment.html 


More information about the nix-dev mailing list