Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235675
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How do I permanently disable unattended downloads of software/security updates? |
| Date | 2021-05-30 15:50 +0200 |
| Message-ID | <CktZf-6OK-1@gated-at.bofh.it> (permalink) |
| References | (7 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 | occasionally |
On Sun, 30 May 2021 13:08:18 +0200 Stella Ashburne <rewefie@gmx.com> wrote: > My knowledge of computing, Linux and Debian is elementary and hence I > won't know how to set up a cron-apt or use apticron. > > 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"? No, unattended upgrades is not a requirement. I used the following cron job for years until recently. I started using something like it when I was on dial-up and wanted to speed up the upgrade process by having the new packages already on my computers. Over the past year or so I have phased in unattended-upgrades. 5 3 * * * root /usr/bin/apt-get update > /dev/null && /usr/bin/apt-get -dy dist-upgrade > /dev/null (That is all one line. I expect your mail reader will wrap it horribly. When you copy and paste it, straighten it out into all one line.) I suggest that, as root, you put it in its own unique file in /etc/cron.d. That way it will survive updates to other files. A brief explanation of what it does: At 03:05 every morning, as root, run apt-get update to update apt-get's cache. If that's successful (the &&), run apt-get dist-upgrade for downloads only (-d) and assume a "yes" answer to all questions (-y). In both cases, discard the standard output by sending it to the null device. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
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