Re: OpenPKG vs. APT

2002-01-14 Thread Tille, Andreas
On Sun, 13 Jan 2002, Will Lowe wrote:

  Is there any deb available for it?

 Not currently.  If there's a lot of demand I'll package it, but it
 seemed silly to bloat the Packages file further by making a .deb
 containing 139 lines of perl.
Why not fileing a wishlist bug against an apropriate package which
could include this nice tool.  It has to be packaged in any way
to get public.  A not apt-get - installable aptwatcher makes no sense!

Kind regards

 Andreas.




Re: OpenPKG vs. APT

2002-01-13 Thread Petter Reinholdtsen
[Joerg Wendland]
 If you run stable, use aptwatcher
 (http://people.debian.org/~lowe/aptwatcher) and each box will mail you
 when you need to do something to it.
 
 Nice tool, seems to be going into some crontabs :-)

Is there any deb available for it?




Re: OpenPKG vs. APT

2002-01-13 Thread Will Lowe
 Is there any deb available for it?

Not currently.  If there's a lot of demand I'll package it, but it
seemed silly to bloat the Packages file further by making a .deb
containing 139 lines of perl.

-- 
thanks,

Will




Re: OpenPKG vs. APT

2002-01-13 Thread Marcin Owsiany
On Sun, Jan 13, 2002 at 11:37:41AM -0800, Will Lowe wrote:
  Is there any deb available for it?
 
 Not currently.  If there's a lot of demand I'll package it, but it
 seemed silly to bloat the Packages file further by making a .deb
 containing 139 lines of perl.

Maybe it should be just added to apt package as an example?

Marcin
-- 
Marcin Owsiany [EMAIL PROTECTED] http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216




Re: OpenPKG vs. APT

2002-01-13 Thread martin f krafft
also sprach Will Lowe [EMAIL PROTECTED] [2002.01.13.2037 +0100]:
  Is there any deb available for it?
 
 Not currently.  If there's a lot of demand I'll package it, but it
 seemed silly to bloat the Packages file further by making a .deb
 containing 139 lines of perl.

this runs from my cron btw, incidentally called aptwatcher too.

cat aptwatcher 12 | wc -l 21
apt-get update  /dev/null

tmpfile=`mktemp /tmp/aptwatcher.XX`
trap rm -f $tmpfile exit

echo n | apt-get -u dist-upgrade | \
  grep ^\(The following\|  \|[0-9]* packages upgraded\)  $tmpfile

[ ! -s $tmpfile ]  exit 0

grep -q ^0 packages upgraded $tmpfile  exit 0

cat  EOF | /usr/sbin/sendmail root
Subject: `hostname`: apt upgrades available

hi,
the following packages should be updated on $HOST:

`cat $tmpfile`
EOF
   20  lines

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED]
  
no keyboard present.
press f1 to continue.
zen engineering.


pgpKnXt1uWmkC.pgp
Description: PGP signature


OpenPKG vs. APT

2002-01-11 Thread Joerg Wendland
Hi fellows,

today I heard about OpenPGK[1] and read its feature list. Unfortunately
OpenPKG describes itself as ...the world of cross-platform RPM-based Unix
software packaging. It is RPM based but cross-platform. It came to my
mind that having a distributed APT would be a great help to administrators
managing big networks of Debian/GNU Linux machines (just as I do).
OpenPKG would solve this problem but as said is RPM based.

Features I would like to have in APT or a wrapper around it:
- Package installation, upgrade, deinstallation over the net[2]
- dpkg-database/apt-cache queries over the net[3]
- central debconf database to allow central administration like
  cfengine does.[4]

Is this functionality that would be interesting for more people?
Is anything like that in planning or even development?

I would be willing to implement something like that.

Regards, Joerg

Notes:
[1] http://www.openpgk.org
[2] think of 'apt-get --host webserver.my.org install apache'
or security updates to be done on numerous machines
[3] imagine 'apt-cache show apache' with output:
Package: apache
Priority: optional
Section: web
Hosts: webserver.my.org (1.3.22-5), intranet.my.org (1.3.19-3)
[4] Think of an SSHd installed suid which you want to reconf to not
to be suid anymore. The ssh package provides a debconf interface
for that. Having over 50 machines running the sshd you simply
could 'dpkg-reconfigure --all-hosts ssh' and change the config
for every machine running ssh.

-- 
Joerg joergland Wendland
GPG: 51CF8417 FP: 79C0 7671 AFC7 315E 657A  F318 57A3 7FBD 51CF 8417


pgp0Et6TDMYfE.pgp
Description: PGP signature


Re: OpenPKG vs. APT

2002-01-11 Thread Will Lowe
 - Package installation, upgrade, deinstallation over the net[2]
 [2] think of 'apt-get --host webserver.my.org install apache'
 or security updates to be done on numerous machines

Err, the security implications of such a scheme are kinda
imposing. Simpler to use an existing tool like ssh to do the
authentication.  I have a network of ~80 Debian boxen, and I do
something rougly like this:

for host in `cat hostlist`; do
ssh [EMAIL PROTECTED] apt-get update  apt-get upgrade
done

If you run stable, use aptwatcher
(http://people.debian.org/~lowe/aptwatcher) and each box will mail you
when you need to do something to it.

-- 
thanks,

Will




Re: OpenPKG vs. APT

2002-01-11 Thread Joerg Wendland
Will Lowe, on 2002-01-11, 16:12, you wrote:
 Err, the security implications of such a scheme are kinda
 imposing. 

Of course you are right.

 Simpler to use an existing tool like ssh to do the
 authentication.  I have a network of ~80 Debian boxen, and I do
 something rougly like this:
 
 for host in `cat hostlist`; do
   ssh [EMAIL PROTECTED] apt-get update  apt-get upgrade
 done

I meant such as I wrote 'or wrapper'. The problem is that every machine
maintains its very own dpkg/{status,available} etc. I thought of having
something central.
 
 If you run stable, use aptwatcher
 (http://people.debian.org/~lowe/aptwatcher) and each box will mail you
 when you need to do something to it.

Nice tool, seems to be going into some crontabs :-)

Joerg

-- 
Joerg joergland Wendland
GPG: 51CF8417 FP: 79C0 7671 AFC7 315E 657A  F318 57A3 7FBD 51CF 8417


pgp3nzCwZcTcb.pgp
Description: PGP signature