[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: In bed with Apt



On Wed, Jul 07, 1999, Marant Jerome wrote:
> Is Apt rigid ? The answer is yes !
> Why not giving a simple directory where ou can find debs and
> Packages.gz and that's it ?
> Why keeping <dir>/dists/stable/<component>/binanary-<arch>/ . At the
> moment, apt won't install anything and update its cache neither if
> it can't find this directory structure.
> Imagine you download packages in a simple directory and you want
> to install them via apt. So, you have to create a special directory
> tree (as described) if you want apt to work!!!

You can have such a line in sources.list (note the trailing slash):

  deb file:/path/to/some/directory/ debian/

and apt should look for /path/to/some/directory/debian/Packages.gz

Sam.
-- 
Samuel Hocevar <sam@via.ecp.fr> - http://www.via.ecp.fr/~sam/
echo "what is the universe"|tr "a-z " 0-7-0-729|sed 's/9.//g;s/-/+/'|bc      


Reply to: