On Mon, Sep 13, 2010 at 07:54:30PM +0200, Patrick Matthäi wrote: > Am 13.09.2010 19:29, schrieb chrysn: > > apt-dater-host uses sudo without the need for it when doing "aptitude -v > > -y -q -s -f upgrade". in line 192, it prefixes the command with GETROOT, > > although aptitude -s does not need root privileges. > > You're right, is this on all installations the case, also etch, lenny > and squeeze?
it works on sarge (although back then, aptitude didn't know the -q option), lenny and sid; i currently don't have a squeeze box at hand but i don't think there is reason to assume it doesn't. > > i didn't try with DPKGTOOL=apt-get, but i assume the situation is > > similar. > > No, it needs root privileges. "apt-get -q -s -f upgrade" works for me (it does print a warning note at the top about locking, but we don't expect transactional logic anyway, do we?), and at least on my sid box, apt-dater works even after setting DPKGTOOL=apt-get and removing said GETROOT line.
signature.asc
Description: Digital signature

