I am trying to understand the
Unable to locate package error.
In my case I am trying to install zcash. After installing dependencies and following initial setup, I updated my sources.list file:
echo "deb [arch=amd64] https://apt.z.cash/ jessie main" | sudo tee /etc/apt/sources.list.d/zcash.list
Then I ran
sudo apt-get update
/var/lib/apt/lists I can see the installed packages (in this case from zcash):
/var/lib/apt/lists$ ls apt.z.cash_dists_jessie_main_binary-amd64_Packages apt.z.cash_dists_jessie_Release apt.z.cash_dists_jessie_Release.gpg
However when I run
sudo apt-get install zcash it seems to not recognise the name zcash:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package zcash
I imagine there should be a name translation file (e.g.
zcash to files referenced in
/var/lib/apt/lists) - am I correct?
In which file/directory should the name reference for an apt package be stored? How would I check and debug this?