[Nix-dev] How do I install nslookup?

Vladimír Čunát vcunat at gmail.com
Fri Sep 11 11:49:21 CEST 2015


On 09/10/2015 01:36 PM, Yasuaki Kudo wrote:
> [yasu at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150911/b004afed/attachment-0001.bin 


More information about the nix-dev mailing list