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

Re: How can I make a local package repository available to apt?



"Daniel Haude" <musbur@web.de> writes:

> Hi folks,
>  
> I've got a collection of a bunch of debian packages. They're not
> organized in any way, just a directory full of .debs. How can I make
> apt recognize this repository? I tried adding
>  
> deb file:/home/dh/download/debian/
>  
> to the apt-sources file, but of course apt balks at this as it is
> "malformed" because it doesn't have the sections listed after the
> directory. The .debs come from all sorts of sections of the official
> debian distro. How can I make this work?

You need to run dpkg-scanpackages. Read the Debian Repository HOWTO
<http://www.isotton.com/debian/docs/repository-howto/repository-howto.html>.

Martin


-- 
   ,--.    Martin Dickopp, Dresden, Germany                 ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/                      ((_/)o o(\_))
  \ `-'                                                     `-'(. .)`-'
   `-.     Debian, a variant of the GNU operating system.       \_/



Reply to: