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

Re: local repo



On 10/30/13, Bob Proulx <bob@proulx.com> wrote:
> andrey.rybak@bilkent.edu.tr wrote:
>> I want to make local repositary on computer without internet connection.
>> Coze im bored with insertion of dvd to this computer. Will you give me
>> good recipe how to do that from CD or DVD set?
>
> I haven't used this tool so can only hint toward the documentation.
> But it reads as a perfect match for what you want.
>
>   man apt-move

apt-move works really well if you have packages downloaded (and still
cached) and want to turn them into a local repo - I used it for a
couple of years with great success. That could probably work quite
similarly to move the packages off of your DVDs to your local repo
too.

dpkg-scanpackages is all you need if you just want to copy each DVD to
a given directory and create a unified index for an "offline" repo
based on those DVD packages; I've used this with success.
dpkg-scanpackages . | gzip - > Packages.gz

Debmirror is what I've used the last few years with great success, for
maintaining local repo and updating it from online sources,
selectively to some degree.

One day I plan to learn dak (or whatever it's now called), for even
more control over my local repo(s).

Good luck
Zenaan


Reply to: