On Sun, Jun 25, 2017 at 09:59:41PM +0200, darthcat wrote:
> I tried to import the apt cache with approx-import 
> /var/cache/apt/archive/*.deb
> and I simply get the message : "There are no Packages files in the approx
> cache.
> Please run "apt-get update" first." and /var/cache/approx is empty.
>
> So I ran "apt-get update" but I get the same message.
> I didn't find any Packages file in my computer.
>
> I get the same result with Jessie, now the old-stable.

Does your sources.list file on the machine on which you ran "apt-get
update" use your approx server in its "deb ..." lines?  That's what
will cause /var/cache/approx to contain the Packages and
other files.  Sorry if that's not clear in the documentation.

It's fine to do an initial "apt-get update" or upgrade against the approx
server even when its cache is empty.  The apt-import command is
optional, in case you already have a lot of .deb files locally.

If it *does* already point to your approx server, then please enable
debugging (set "$debug true" in /etc/approx/approx.conf), and send the log
output from the "apt-get update" run.

--
Eric Cooper             e c c @ c m u . e d u

Reply via email to