On Tue, 15 Jun 2004 08:22 am, Alexander Samad wrote:
> On Tue, Jun 15, 2004 at 02:30:18PM +1000, Roger Barnes wrote:
> > > On Tue, 15 Jun 2004, Roger Barnes wrote:
> > > > I think you need to point at a directory, not a particular

> package apt-move setups up the right structure
>
> > The debian-user thread below may provide some clues:
> > http://lists.debian.org/debian-user/2003/11/msg00617.html
> >
> > Short of running dpkg-scanpackages, you may be stuck with using "dpkg -i"
> > instead of "apt-get install"



To set up a local debian cache of deb files that you've created or downloaded 
separately:

  # mkdir -p /usr/local/cache/dists/local/local/binary-i386
  # cp *.deb /usr/local/cache/dists/local/local/binary-i386
  # cd /usr/local/cache
  # dpkg-scanpackages dists/local/local/binary-i386 /dev/null \
  $ dists/local/local/binary-i386/Packages

Then add the following line to /etc/apt/sources.list:

  deb file:/usr/local/cache local local

http://www.togaware.com/linux/survivor/Cache_Packages.shtml
-- 
Richard Hayes
Nada Marketing 
2/713 Pacific Hwy Gordon Australia 2072
Phone:+(61-2) 9418 4545 Fax:+(61-2) 9418 4348 Mob:+(61) 0414 618 425
http://www.nada.com.au 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to