Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175322

Re: Detect upgradable packages in shell script ran as a non-root user

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: Detect upgradable packages in shell script ran as a non-root user
Date 2016-12-02 09:00 +0100
Message-ID <sJQVh-HL-25@gated-at.bofh.it> (permalink)
References <sJQVh-HL-27@gated-at.bofh.it> <sJeGd-7Ih-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2016-11-30 at 17:09 +0200, Martin T wrote:
> I would like to run a cron job which periodically checks if I have
> upgradable packages. One way to do it is probably like this:

What do you want to do with the information once you got it? I ask
because Debian includes some packages to do various periodic things for
updates and you might be reinventing the wheel. E.g. I use apticron [1]
on all the machines I manage which periodically checks if there's
upgradable packages an emails me a summary of them if there are. I
believe there are also means on doing other things.

[1] https://debian-administration.org/article/491/Automatic_package_update_nagging_with_apticron

-- 
Tixy  

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Detect upgradable packages in shell script ran as a non-root user Martin T <m4rtntns@gmail.com> - 2016-11-30 16:10 +0100
  Re: Detect upgradable packages in shell script ran as a non-root user Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-30 16:20 +0100
    Re: Detect upgradable packages in shell script ran as a non-root user Shin Ice <shin.ice@shinice.net> - 2016-11-30 16:40 +0100
  Re: Detect upgradable packages in shell script ran as a non-root user Liam O'Toole <liam.p.otoole@gmail.com> - 2016-11-30 18:50 +0100
  Re: Detect upgradable packages in shell script ran as a non-root  user Joe <joe@jretrading.com> - 2016-11-30 19:40 +0100
  Re: Detect upgradable packages in shell script ran as a non-root user kushal@locationd.net - 2016-12-01 06:20 +0100
  Re: Detect upgradable packages in shell script ran as a non-root  user Tixy <tixy@yxit.co.uk> - 2016-12-02 09:00 +0100
    RE: Detect upgradable packages in shell script ran as a non-root  user Bonno Bloksma <b.bloksma@tio.nl> - 2016-12-02 12:40 +0100
  Re: Detect upgradable packages in shell script ran as a non-root user Jonathan Dowland <jmtd@debian.org> - 2016-12-02 12:50 +0100

csiph-web