On 09/10/2015 01:36 PM, Yasuaki Kudo wrote:
> [yasu@nixos:~]$ command-not-found DBI
> connect('dbname=/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite','',...)
> failed: unable to open database file at
> /run/current-system/sw/bin/command-not-found line 12. cannot open
> database
> `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite'
> at /run/current-system/sw/bin/command-not-found line 12.
> 
> Some articles on the Internet suggests I need to add the unstable
> channel.
> 
> Do i really need to do this?   I would rather not have anyting
> unstable because I am just a beginner...

Yes, you need to add a(ny) channel and update it, as root. That should
get the database of executables for the channel.

Vladimir

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to