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

Re: Bug#225999: ITP: debsync -- installed packages synchronization tool



John Goerzen <jgoerzen@complete.org> writes:

> On Mon, Jan 05, 2004 at 01:26:47AM +0100, Wouter Verhelst wrote:
>> > I want a bunch of hosts to have a set of debs installed.  I don't want
>> > any excess packages removed, but I want this minimum set installed.
>> 
>> for host in $hostlist
>> do
>>   ssh -t $host apt-get install $pkglist
>> done
>> 
>> where $hostlist contains the names of the hosts, and $pkglist the list
>> of debs you want installed. If a package is already installed, apt will
>> skip it (unless a more recent version is available)...

Thanks Wouter ;) That's the loop I was talking about ;)

> Of course, all the alternatives to the ITP package require the user to
> know:
>
> 1. I/O redirection
> 2. Shell scripting
> 3. Details of pulling this info from dpkg/apt
>
> To someone that does not already posess those skills, having a simple
> command to do it could be valuable.  Not all Debian users are
> programmers or even desire to be.

Come on! Such scripts are for admins, not users! Users don't have access
to root on different hosts and are not able to update other hosts.

I'm really not a bash guru but I think the skills you refer to are the
minimum for an admin, don't you think so?

That said, I don't wanna flame. If you think your script is usefull,
upload it. But IMHO, it's really not necessary.

Cheers,

-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    



Reply to: