Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235674
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How do I permanently disable unattended downloads of software/security updates? |
| Date | 2021-05-30 15:10 +0200 |
| Message-ID | <Cktmy-6CE-3@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <CjJtn-4rI-5@gated-at.bofh.it> <CjPIu-83W-1@gated-at.bofh.it> <Ck1gG-6M8-19@gated-at.bofh.it> <Ck3s6-7XZ-13@gated-at.bofh.it> <Ckrup-5xE-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, May 30, 2021 at 01:08:18PM +0200, Stella Ashburne wrote: > Question: Is it a prerequisite (pre-condition) that to set up a cron job to download updates at a fixed time every day, the OS must have the installed package "unattended-upgrades"? Nope. You can write your own cron job to do it. The thing is, the simple and obvious way to do it via cron is slightly dangerous. When cron runs apt-get or apt or whatever you choose, *you* have no ability to interact with it. If a package comes with a NEWS.Debian.gz file that it wants to display to you to warn you about some new incompatible change, or if it wants to ask you whether it should replace a conffile that has been altered, or *any* kind of question, it can't. So, the simple and obvious workaround for that, when writing a cron job to do this, would be to use apt-get's "-y" flag. This may not do what you want in all situations. On the other hand, your question is interesting, in that it says "download updates", not "install updates". If you really do mean "download the packages and let them sit in /var/cache but don't install them", then there's no danger. You can write a cron job to do that, no problem at all. Of course, then the question becomes one of your workflow. Are you going to look in /var/cache/apt/archives/ yourself once a day, to see whether there's a new file there? Are you going to set up your cron job to email you whenever a package is downloaded? Are you simply going to run "apt-get -u upgrade" or some equivalent once a day? There are lots of possibilities here. You just have to decide what you want, and then implement it.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-25 19:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Kenneth Parker <sea7kenp@gmail.com> - 2021-05-25 21:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-25 22:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-05-25 23:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-25 23:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Keith Bainbridge <keithrbaugroups@gmail.com> - 2021-05-26 01:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Jeremy Ardley <jeremy@ardley.org> - 2021-05-26 04:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-26 05:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-26 03:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Keith Bainbridge <keithrbaugroups@gmail.com> - 2021-05-26 06:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-05-26 14:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-27 08:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-05-27 22:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-28 02:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-29 08:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-29 19:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-30 09:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-05-28 13:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-05-28 14:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-28 20:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-05-28 21:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-29 01:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-29 09:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-05-29 11:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-30 13:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-05-30 15:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Charles Curley <charlescurley@charlescurley.com> - 2021-05-30 15:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Dan Ritter <dsr@randomstring.org> - 2021-05-30 17:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-06-02 09:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-02 13:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-06-02 13:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-02 18:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Reco <recoverym4n@enotuniq.net> - 2021-06-02 18:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-06-02 19:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Linux-Fan <Ma_Sys.ma@web.de> - 2021-06-02 21:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-06-02 21:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-03 21:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-06-03 04:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-04 02:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? "Thomas D. Dean" <tomdean@wavecable.com> - 2021-06-04 04:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-04 08:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? "Thomas D. Dean" <tomdean@wavecable.com> - 2021-06-04 12:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-04 12:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? David Wright <deblis@lionunicorn.co.uk> - 2021-06-04 17:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-06-04 14:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-04 14:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? David Wright <deblis@lionunicorn.co.uk> - 2021-06-04 17:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Reco <recoverym4n@enotuniq.net> - 2021-06-04 15:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-04 19:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-03 04:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-05-29 15:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-30 12:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-30 13:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? <tomas@tuxteam.de> - 2021-05-30 13:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-30 13:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-28 20:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-05-28 14:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-29 01:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-01 19:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Dan Ritter <dsr@randomstring.org> - 2021-06-01 20:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Reco <recoverym4n@enotuniq.net> - 2021-06-01 20:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-01 19:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Joe <joe@jretrading.com> - 2021-06-01 20:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-01 13:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Reco <recoverym4n@enotuniq.net> - 2021-06-01 15:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Joe <joe@jretrading.com> - 2021-06-01 15:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Charles Curley <charlescurley@charlescurley.com> - 2021-05-25 21:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-25 23:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Charles Curley <charlescurley@charlescurley.com> - 2021-05-25 23:40 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-05-25 23:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Tom Browder <tom.browder@gmail.com> - 2021-06-02 22:00 +0200
Re: How do I permanently disable unattended downloads of software/security updates? l0f4r0@tuta.io - 2021-06-02 22:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-03 21:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-03 03:50 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Tom Browder <tom.browder@gmail.com> - 2021-06-03 22:20 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Greg Wooledge <greg@wooledge.org> - 2021-06-03 22:30 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Stella Ashburne <rewefie@gmx.com> - 2021-06-04 02:10 +0200
Re: How do I permanently disable unattended downloads of software/security updates? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-04 11:10 +0200
csiph-web