Problem solved! I changed the apt-ftparchive command to apt-ftparchive packages . | gzip > Packages.gz and executed the command from within the directory containing the debs.