Single Install CD ISO :-)

Colin Watson cjwatson at ubuntu.com
Tue Nov 22 20:51:12 UTC 2005


On Tue, Nov 22, 2005 at 03:13:54PM -0500, Michael Beattie wrote:
> No, not quite.  You need to have a directory tree set up the way apt
> expects.  So like dists/breezy/main/binary-i386/
> 
> And then in that place, you have Packages.gz Packages.bz2 and Release.
>  Apt gets these things and knows what version you are looking at and
> which version of the packages go along with this release and then you
> can go to like pool/main/[letter] to find the package you want.

apt doesn't really care all that much about the details of filesystem
layout, and certainly not about pool/. You can create an apt repository
that has all the indices (Packages*, Release, perhaps Release.gpg) in
the same directory as all the .debs; this will work perfectly well
provided that you generated the Packages files with Filename: fields
pointing to the right place, and that you use a line in
/etc/apt/sources.list line that looks something like this:

  deb http://people.ubuntu.com/~jbailey/snapshot/bzr/ ./

As long as you omit the components (main, restricted, etc.) and the path
at the end of the line ends with a slash, this should work fine. See the
sources.list(5) man page for more details.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list