thomas.beckett at gmail.com
Tue Nov 30 15:32:27 UTC 2004
cheers michele! - thats what I was looking for. It also looks easy
enough to automate with a few scripts and a cron job.
Carrying on from this, once the repository is created and burnt to DVD
- the only way i can think of to update them is to copy it all back to
hard disk, update the package then rebuild the repository agian, blank
the DVD and write it all back again - not a problem from an automation
point of view but, but a bit time consuming and unnecessary imo - Is
there a way to implement a filesystem on the DVD+RW to allow full
random file read and writes so i can leave it all on the DVD, rsync
the updated files directly over the top, I would then recreate the
packages.gz and copy that to the DVD, replacing the previous one and
would have an up to date DVD repository with just the packages I use,
without thrashing my hard disk by copying the dvd to disk.
Anyone any pointers?
Ps. Sorry if i am asking questions that I really should be finding the
solutions to myslef, but Im at work at the moment so cant fiddle
arround with it. (Once i get it sorted - ill gladly write a wiki
Howto :D )
On Tue, 30 Nov 2004 15:16:58 +0100, Michele Cella
<michele.cella at gmail.com> wrote:
> Hi Thomas ;-)
> IIRC you have to manually create the two index files (Packages.gz and
> Sources.gz) for your repository.
> Take a look here:
> On Tue, 30 Nov 2004 13:41:49 +0000, Thomas Beckett
> <thomas.beckett at gmail.com> wrote:
> > Can anybody tell me how I would go about creating a repository
> > containing just seleced packages. The idea is that I want to write the
> > packages I download with apt from /var/cache/apt to DVD. This will
> > help when i frequently kill my compter whilst tinkering around and
> > also to use on my other machine that is not on a network. I could
> > install a copy of warty or hoary then copy them back over to
> > /var/cache/apt but this will waste time. Can I set it so that I just
> > need to refrence the DVD in my conf file and it will "download" from
> > the DVD.
> > If I want it updating further I can simply rsync the packages
> > individually... ooo any way to make rsync write to DVD RW so it will
> > be automated. I would then need to automatically rebuild the index or
> > whatever process defines a repository.
> > Any idas or help would be much apreciated!
> > Tom
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
More information about the ubuntu-users