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

Re: Package Repository



> Okay, A simple question, for which a simple answer would be appreciated:
> 
> I am looking for a simple, step by set guide to turning a directory
> full of .deb files into something I can access with a sources.list entry.
> 
> In this case, /var/cache/apt/archives/.
> 
> it's currently set up as an nfs share accross the network, which is 
> sub-optimal. I can work out how to get at it via ftp or http, but I've 
> no idea how to make it able to be seen via an sources.list file.
> 
> -- 
> na@sacrifice.bedlam.ath.cx, Nicholas Avenell
> PGP key at http://www.aquarionics.com/klind.php?q=publickey
> Website at http://www.aquarionics.com
> ?|-|34|? |V|`/ 31173 ?@|\|70 5|<1||Z
> 


One option will be dpkg-scanpackages.
You probably need

    dpkg-scanpackages /var/cache/apt/archives/ /dev/null | gzip -c \
        > /var/cache/apt/archives/pacakges.gz

However do consult the manpage whether this line is correct.


-- 

    Shaul Karl
    email: shaulka(at-no-spam)bezeqint.net 
           Please replace (at-no-spam) with an at - @ - character.
           (at-no-spam) is meant for unsolicitate mail senders only.




Reply to: