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

Re: keeping multiple debian machines in sync / dselect & dependecies

On Thu, 3 Apr 1997, Steve Hsieh wrote:

> 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.

Okay, I'll work on that. Besides, the current method of recursing through
stable, non-free, and contrib just to install one or two packages takes
way too long on my 386-40 or 486-66. When dselect is loaded, it locks the
database. You can't use it as a viewer/selector and run dpkg on another
console at the same time.

When do you want it ready? Probably yesterday, like me.
> 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*

Paul Wade - Greenbush Technologies Corporation
Linux CD's sent worldwide

Reply to: