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

Re: Howto set up a local apt - repository ?



On Sat, Feb 08, 2003 at 02:42:18AM +0100, mi wrote:
> Hello all.
> 
> I asked a friend to ftp and burn down openoffice for woody from
> deb ftp://ftp.uninett.no/pub/linux/packages/openoffice-debian woody main 
> contrib
> 
> - the only 'url' i knew. I wasn't sure what exactly is needed, though.
> Now i've got a cd here with the following:
> Two Packages-files located at
> cdrom/woody/main/binary-i386/contrib/Packages.gz 
> and
> ~~~~~~~~~~~~~~~~~~~~~~~~~~ /main/Packages.gz
> originating from this source-tree:
> ftp://ftp.uninett.no/pub/linux/packages/openoffice-debian/dists/woody/contrib/binary-i386 
> and
> ftp://~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~main/binary-i386
> 
> The 'contrib Packages.gz' contains the description for the package 
> <openoffice.org 1.0.1-6> with
> 
> 'filename: pool/openoffice.org/openoffice.org_1.0.1-6_all.deb' 
> 
> where the 'main' one is for <debhelper> with the filename
> 'pool/main/debhelper/debhelper_4.0.2.openoffice_all.deb'
> ( sounds like the right package for now....;-)
> 
> There's no further 'Packages' or 'Packages.gz' on cd.
>  
> Then there are the binaries. This deb-files are in cdrom/openoffice-org.
> Looking up their original source i found
> ftp://ftp.uninett.no/pub/linux/packages/openoffice-debian/pool/contrib/openoffice.org/
> 
> I got a little confused about it.
> It's quite a bunch of stuff.
> Are there all 'control files' apt needs to install ?
> And how to proceed ?   The cd-tree isn't in the right form, probably.
> But what then would it be ?
> Or can i tune apt to find things on CD anyway ?
> Perhaps i should create a local repository. But i didn't find a detailed 
> description how to do that yet.
> So what exactly is the 'physically' file path apt will accept ?
> Whrere to place the binaries, whrere the Packages.gz
> (if that's really enough...). How to set up sources.lst then.
> And what about the implied 'filename' paths ? I guess i have to change them.
> 
> 
> I hope this is quite a debian question, this time....
> any help greatly appreciated !

Not entirely sure what you want to do here. You have a CD-ROM and you
want to add it to your list of apt sources? You can do this with

apt-cdrom add -d=/cdrom (make sure the CD is in the drive!!! :-)   )

Pigeon



Reply to: