# Duplicate results in \`nix search\`

**URL:** https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922
**Category:** Help
**Created:** [November 25, 2019, 8:01pm UTC](https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922 "2019-11-25T20:01:32Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![trusktr](https://discourse.nixos.org/user_avatar/discourse.nixos.org/trusktr/32/1994_2.png) [@trusktr](https://discourse.nixos.org/u/trusktr)
#### Post date: [January 6, 2020, 8:36pm UTC](https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922/5 "2020-01-06T20:36:03Z")

</div>

Total newb here. I have this duplicate search results “issue”. I see results from both `nixos` and `nixpkgs`, like in the OP.

I followed the steps in [2.5.4. Installing from another Linux distribution](https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro).

I’m curious how to fix it, and also why it happened so I can learn.

I extracted the relevant commands that I ran, out of my `.bash_history`. I ran these before finally running the install step:

```sh
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos19
nix-channel --update
nix-channel --remove nixpkgs
nix-channel --remove nixos19
nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs
nix-channel --remove nixpkgs
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
nix-channel --remove nixos
nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs
nix-channel --update
sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt

```

I was toying around to learn what it does. I omitted `nix-channel --list` and `nix-channel --help` and other commands from above.

Any idea why the duplicate search results?

---

_[View the full topic](https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922)._
