Re: keeping multiple debian machines in sync / dselect & dependecies
This brings up another point -- why can't dselect list the order in which
deb files should be installed for me? Or can it and I just don't know?
Right now, when you use dselect, it seems to just try to install packages
in alphabetical-recursive order (which is why I run into catch-22 problems
such as not being able to install ghostview because gs-aladdin is not
installed, but not installing gs-aladdin because ghostview failed to
configure).
If I could get it to generate a script that issues dpkg -iOEGB <deb files>
in the right order without me having to manually construct such a tree as
you suggest below, that would be a large step in the right direction.
On Thu, 3 Apr 1997, Paul Wade wrote:
> On Thu, 3 Apr 1997, Rick Hawkins wrote:
> >
> > just off the top of my head, but how about using deselect to select the
> > packages, then replacing /var/lib/dpkg/status on the other machines with
> > this file from the master? Then master downloads the files by ftp (or
> > whatever), and the others get their files from master?
>
> This works for me. I often have to do this when playing with the bo
> packages. You could easily put it in a script with proper checking of
> dpkg exit() codes.
>
> 1) nfs is used (/mirrors/debian is a symlink to /mnt/dx2/mirrors/debian)
> 2) use dselect or view Packages to get dependencies
> 3) something like this:
> cd /mirrors/debian/bo/libs
> dpkg -i neededlib1*
> dpkg -i neededlib2*
> cd ../admin
> dpkg -i wantedapp*
Reply to: