Re: equivalent of *BSD's 'make world' in debian?
Daniel Burrows <Daniel_Burrows@brown.edu> writes:
> > Also what happens if you have a local apt repository with all your
> > selfbuild packages in it? Apt-get would get multiple entries for one
> > package with the same version. Which one would it use? The first? The
> > last? The most recent?
> Yuck. :) I think you'd have to look through the apt-pkg source to figure this
> out. My (un)educated guess is that it'll either take the first or the last one
> it sees, probably based on the ordering in sources.list. I have no real clue,
> though. Probably it's best to either test this empirically yourself or to
> do 'apt-get source apt' and see how it works..
If I would write an "autocompile and update" script I would make it
create Packages files for the locally compiled packages, so that
apt-get knows about already compiled stuff.
A nice effect is that "apt-get --print-uris" doesn´t print file:/ uris
and thus only packages that need downloading would be printed. By
using the "apt-get --print-uris" and other apt-get features to build
sources should make the downloading and ordering of dependencies
easy. Maybe apt-get should be tought an option to list all packages
that can be updated in ONE run and then stop (or better <n> runs with
some seperator inbetween the lists).
May the Source be with you.
PS: Maybe the apt maintainer reads this, so I will wait before
actually looking at the source or trying. :)