Click to See Complete Forum and Search --> : Need some Debian help...


milanuk
01-10-2001, 02:34 PM
Alrighty. I posted a version of this question in the Software-Related Forum, but didn't get any bites. Hopefully that just means you guys weren't paying attention, rather than nobody knows what I'm talking about http://www.linuxnewbie.org/ubb/wink.gif

What I want is to take my Debian Official 2.2r2 CD's, copy the appropriate files to the hard disk, and make a local package mirror, which I could then sync w/ the official mirror using 'mirror' or 'rsync' or whatever. The idea is that I want to start a mirror, but I have a very slow download link, so I don't want to download the entire freakin' 'stable' tree, just the diffs.

I've heard things like apt-move mentioned for making a mirror out of the local package cache; would it work for this? If so, how? I don't have a Debian box in front of me right now, but I'm looking for pointers for when I go home to RTFM tonite http://www.linuxnewbie.org/ubb/wink.gif

Monte

------------------
There are basically three kinds of men. There
are the ones who learn by reading. Then there are
the few who learn by observation. The rest just
have to pee on the electric fence for themselves.

sincka
01-10-2001, 05:37 PM
I know it's frustrating when no one answers, so I just wanted to let you know that I don't know so sorry http://www.linuxnewbie.org/ubb/frown.gif

Good luck.

------------------
Evil Is Good

milanuk
01-10-2001, 06:50 PM
Starting to think I must be asking something crazy, since I am getting basically no response here (other than Sincka), nor on the mailing list (yet).

Thanks,

Monte

sincka
01-10-2001, 06:55 PM
Originally posted by milanuk:
Starting to think I must be asking something crazy, since I am getting basically no response here

You probably are http://www.linuxnewbie.org/ubb/smile.gif
But who knows... maybe someone will answer http://www.linuxnewbie.org/ubb/smile.gif


------------------
Evil Is Good

demian
01-10-2001, 07:01 PM
Hi milanuk
Alrighty I waited a bit cause I never used apt-move and thought somebody else might jump in for an answer. I read the apt-man pages, some related stuff and tried what were describing on my system and it works LIKE A CHARME!! It really is great. So here's the deal:
Though the program is intended to sync with an ftp server, there is a getlocal option that allows you to extract the Packages.gz and Sources.gz from apt cache and create the archive structure on some local harddrive. Using the localupdate function which replaces old packages with available newer ones from any local source-dir you can always move any .deb files you have stored on any type of media to the proper place in your archive. It also uses rsync if you want to download directly from ftp to your mirror.

Give it a shot,
Cheers, demian