Re: RHN-like applet for APT?
På Sun, Jan 04, 2004 at 10:38:51PM +0100, Max Vozeler skrev:
> On Sat, Jan 03, 2004 at 09:25:04AM -0600, Jerry Haltom wrote:
> > Updating isnt' the problem. Asking for root access before updating is
> > definatly neccassary. What the problem is the applet sits passive in the
> > background at all times, monitoring for updates. It cannot check for
> > updates without root access,
> A non-privileged user can normally read /etc/apt/sources.list and check
> the timestamps in /var/cache/apt. Send those timestamps as If-Modified-Since
> header like apt does and the web server will tell whether they're up to
> date. Just checking for updates shouldn't require root privileges.
If the outcome of the check is that the lists are out of date, what action
should be performed? Blinking the icon to indicate that the lists are
outdated? An outdated lists doesn't mean that the user has outdated packages
:wq mail email@example.com
it feels like trading brains with an imbecile for real -- incubus