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.listThen I ran sudo apt-get updateLooking at /var/lib/apt/lists I can see the installed packages (in this case from zcash):/var/lib/apt/lists$ lsapt.z.cash_dists_jessie_main_binary-amd64_Packagesapt.z.cash_dists_jessie_Releaseapt.z.cash_dists_jessie_Release.gpgHowever 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 zcashI 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?
apt-get; understanding where are package names referenced?
apt;package management
Just saw this and so I tested... On a base install of Jessie in VirtualBox (amd64 netinstall, only standard system utilities and ssh server) I had no problems getting zcash installed... However, my guess is that you didn't add the key to the repo... Edited /etc/apt/sources.list and added the linedeb https://apt.z.cash/ jessie mainAdd the apt-transport-httpsapt-get install apt-transport-httpsDo an apt-get update.  Argh... repo gpg key error.  Import/add the key for the repository -wget -qO - https://apt.z.cash/zcash.asc | sudo apt-key add -Then did apt-get update and then apt-get install zcashroot@templatevm:~# apt-get install zcashReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following extra packages will be installed:  libgomp1The following NEW packages will be installed:  libgomp1 zcash0 upgraded, 2 newly installed, 0 to remove and 55 not upgraded.Need to get 3,185 kB of archives.After this operation, 12.6 MB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://ftp.us.debian.org/debian/ jessie/main libgomp1 amd64 4.9.2-10 [37.8 kB]Get:2 https://apt.z.cash/ jessie/main zcash amd64 1.0.10+1 [3,147 kB]Fetched 3,185 kB in 8s (359 kB/s)                                                                                    Selecting previously unselected package libgomp1:amd64.(Reading database ... 29996 files and directories currently installed.)Preparing to unpack .../libgomp1_4.9.2-10_amd64.deb ...Unpacking libgomp1:amd64 (4.9.2-10) ...Selecting previously unselected package zcash.Preparing to unpack .../zcash_1.0.10+1_amd64.deb ...Unpacking zcash (1.0.10+1) ...Processing triggers for man-db (2.7.0.2-5) ...Setting up libgomp1:amd64 (4.9.2-10) ...Setting up zcash (1.0.10+1) ...Processing triggers for libc-bin (2.19-18+deb8u7) ...root@templatevm:~# 