Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235507 > unrolled thread
| Started by | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| First post | 2021-05-25 19:30 +0200 |
| Last post | 2021-06-04 11:10 +0200 |
| Articles | 20 on this page of 78 — 17 participants |
Back to article view | Back to linux.debian.user
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
Page 1 of 4 [1] 2 3 4 Next page →
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-25 19:30 +0200 |
| Subject | How do I permanently disable unattended downloads of software/security updates? |
| Message-ID | <CiJ2p-h7-1@gated-at.bofh.it> |
My OS is Debian 10.9 and has the kernel version: Linux localhost 5.10.0-0.bpo.5-amd64 #1 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29) x86_64 GNU/Linux 1. I have already configured the OS not to download software updates automatically by using the widget "Software & Updates". Click the URL below to see a screenshot of the Software Updates: https://ibb.co/bs7pF9q 2. I deleted the file 50unattended-upgrades located in /etc/apt/apt.conf.d/ In spite of the above two actions, Debian 10.9 still downloads software and security updates for me automatically in the background. Could someone help me with a fix that really works? Thanks. Marcello
[toc] | [next] | [standalone]
| From | Kenneth Parker <sea7kenp@gmail.com> |
|---|---|
| Date | 2021-05-25 21:10 +0200 |
| Message-ID | <CiKBc-1g8-7@gated-at.bofh.it> |
| In reply to | #235507 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, May 25, 2021, 1:25 PM Stella Ashburne <rewefie@gmx.com> wrote: > My OS is Debian 10.9 and has the kernel version: > > Linux localhost 5.10.0-0.bpo.5-amd64 #1 SMP Debian 5.10.24-1~bpo10+1 > (2021-03-29) x86_64 GNU/Linux > > 1. I have already configured the OS not to download software updates > automatically by using the widget "Software & Updates". Click the URL below > to see a screenshot of the Software Updates: > > https://ibb.co/bs7pF9q > > 2. I deleted the file 50unattended-upgrades located in /etc/apt/apt.conf.d/ > > In spite of the above two actions, Debian 10.9 still downloads software > and security updates for me automatically in the background. Could someone > help me with a fix that really works? > One step I have taken is "apt-get purge unattended-upgrades". That said, I regularly update and upgrade my systems. > > Thanks. > > Marcello > Good luck! Kenneth Parker >
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-25 22:50 +0200 |
| Message-ID | <CiM9X-25J-3@gated-at.bofh.it> |
| In reply to | #235508 |
Thanks Kenneth for your reply. Your suggestion that I "apt-get purge unattended-upgrades" is intended to be a one-off operation or must I perform it each time I log into my OS? And yes, I manually perform "sudo apt update" and "sudo apt upgrade" about twice a day. Marcello Sent: Wednesday, May 26, 2021 at 3:05 AM From: "Kenneth Parker" <sea7kenp@gmail.com> To: "Debian Users" <debian-user@lists.debian.org> Subject: Re: How do I permanently disable unattended downloads of software/security updates? On Tue, May 25, 2021, 1:25 PM Stella Ashburne <rewefie@gmx.com[mailto:rewefie@gmx.com]> wrote:My OS is Debian 10.9 and has the kernel version: Linux localhost 5.10.0-0.bpo.5-amd64 #1 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29) x86_64 GNU/Linux 1. I have already configured the OS not to download software updates automatically by using the widget "Software & Updates". Click the URL below to see a screenshot of the Software Updates: https://ibb.co/bs7pF9q[https://ibb.co/bs7pF9q] 2. I deleted the file 50unattended-upgrades located in /etc/apt/apt.conf.d/ In spite of the above two actions, Debian 10.9 still downloads software and security updates for me automatically in the background. Could someone help me with a fix that really works? One step I have taken is "apt-get purge unattended-upgrades". That said, I regularly update and upgrade my systems. Thanks. Marcello Good luck! Kenneth Parker
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-05-25 23:00 +0200 |
| Message-ID | <CiMjE-29f-13@gated-at.bofh.it> |
| In reply to | #235512 |
On Tue, May 25, 2021 at 10:48:06PM +0200, Stella Ashburne wrote: > Thanks Kenneth for your reply. > > Your suggestion that I "apt-get purge unattended-upgrades" is intended to be a one-off operation or must I perform it each time I log into my OS? > > And yes, I manually perform "sudo apt update" and "sudo apt upgrade" about twice a day. Anything you do with apt-get, apt or dpkg (or any other package management tool) is permanent. The only things in this realm that *aren't* permanent are stopping or starting a service, e.g. "systemctl stop foobar". Those operations do not affect the state of the system at the next boot. (For that, you would use enable, disable, mask, or unmask, all of which are permanent.)
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-25 23:10 +0200 |
| Message-ID | <CiMtj-2rL-7@gated-at.bofh.it> |
| In reply to | #235515 |
Hi Greg By the way, is there a method to suppression notification of new software and/or security updates? (I assume that if I can receive notifications of software/security updates, it means that my OS is communicating with Debian servers in the background, without my knowledge. I don't like that.) > Sent: Wednesday, May 26, 2021 at 4:51 AM > From: "Greg Wooledge" <greg@wooledge.org> > To: debian-user@lists.debian.org > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > On Tue, May 25, 2021 at 10:48:06PM +0200, Stella Ashburne wrote: > > Thanks Kenneth for your reply. > > > > Your suggestion that I "apt-get purge unattended-upgrades" is intended to be a one-off operation or must I perform it each time I log into my OS? > > > > And yes, I manually perform "sudo apt update" and "sudo apt upgrade" about twice a day. > > > Anything you do with apt-get, apt or dpkg (or any other package management > tool) is permanent. > > The only things in this realm that *aren't* permanent are stopping or > starting a service, e.g. "systemctl stop foobar". Those operations do > not affect the state of the system at the next boot. (For that, you > would use enable, disable, mask, or unmask, all of which are permanent.) > >
[toc] | [prev] | [next] | [standalone]
| From | Keith Bainbridge <keithrbaugroups@gmail.com> |
|---|---|
| Date | 2021-05-26 01:50 +0200 |
| Message-ID | <CiOY9-3Il-3@gated-at.bofh.it> |
| In reply to | #235512 |
On Tue, 25 May 2021 22:48:06 +0200 Stella Ashburne <rewefie@gmx.com> wrote: >>And yes, I manually perform "sudo apt update" and "sudo apt upgrade" >>about twice a day. Good Morning Stella If you are upgrading this often, why not get the bulk of the packages downloaded ready to install? I do that much via cron. Or did the original question imply that the background operation is also installing the new packages? That I would want stopped, and is probably why I have not investigated auto upgrades. Maybe I'm missing something else. All the best Keith Bainbridge keith.bainbridge.3216@gmail.com 0447 667 468
[toc] | [prev] | [next] | [standalone]
| From | Jeremy Ardley <jeremy@ardley.org> |
|---|---|
| Date | 2021-05-26 04:00 +0200 |
| Message-ID | <CiQZX-4Pw-1@gated-at.bofh.it> |
| In reply to | #235520 |
[Multipart message — attachments visible in raw view] — view raw
On 26/5/21 9:38 am, Stella Ashburne wrote: > Thanks for your reply, Keith. > > I'm sorry if my original question is ambiguous. > > Here's what I wish to happen: > > 1. My OS stops downloading software and security updates silently in the background. It's called automatic downloads, am I right? I wish it to stop. > 2. Debian stops giving me notifications that there are software updates available for download. > > I have removed/deleted 50unattended-upgrades. It's obvious that such an action hasn't achieved its goals; hence my original post. > > In my system using the GUI I have System/Control Centre If I open that I see 'Software and Updates' On the updates tab I have none of the option boxes ticked. The system pops up warnings on the GUI but no automatic download and install -- Jeremy
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-26 05:00 +0200 |
| Message-ID | <CiRW1-5r3-1@gated-at.bofh.it> |
| In reply to | #235521 |
I had already done that long before I posted my original question in this mailing list. > Sent: Wednesday, May 26, 2021 at 9:50 AM > From: "Jeremy Ardley" <jeremy@ardley.org> > To: debian-user@lists.debian.org > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > > On 26/5/21 9:38 am, Stella Ashburne wrote: > > Thanks for your reply, Keith. > > > > I'm sorry if my original question is ambiguous. > > > > Here's what I wish to happen: > > > > 1. My OS stops downloading software and security updates silently in the background. It's called automatic downloads, am I right? I wish it to stop. > > 2. Debian stops giving me notifications that there are software updates > available for download. > > > > I have removed/deleted 50unattended-upgrades. It's obvious that such an > action hasn't achieved its goals; hence my original post. > > > > > In my system using the GUI I have System/Control Centre If I open that I > see 'Software and Updates' > > On the updates tab I have none of the option boxes ticked. > > The system pops up warnings on the GUI but no automatic download and > install > > -- > Jeremy > >
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-26 03:40 +0200 |
| Message-ID | <CiQGB-4Jq-1@gated-at.bofh.it> |
| In reply to | #235520 |
Thanks for your reply, Keith. I'm sorry if my original question is ambiguous. Here's what I wish to happen: 1. My OS stops downloading software and security updates silently in the background. It's called automatic downloads, am I right? I wish it to stop. 2. Debian stops giving me notifications that there are software updates available for download. I have removed/deleted 50unattended-upgrades. It's obvious that such an action hasn't achieved its goals; hence my original post. > Sent: Wednesday, May 26, 2021 at 7:24 AM > From: "Keith Bainbridge" <keithrbaugroups@gmail.com> > To: "Stella Ashburne" <rewefie@gmx.com> > Cc: "Kenneth Parker" <sea7kenp@gmail.com>, "Debian Users" <debian-user@lists.debian.org> > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > > On Tue, 25 May 2021 22:48:06 +0200 Stella Ashburne <rewefie@gmx.com> > wrote: > > >>And yes, I manually perform "sudo apt update" and "sudo apt upgrade" > >>about twice a day. > > > > Good Morning Stella > > If you are upgrading this often, why not get the bulk of the packages > downloaded ready to install? I do that much via cron. > > Or did the original question imply that the background operation is > also installing the new packages? That I would want stopped, and is > probably why I have not investigated auto upgrades. > > Maybe I'm missing something else. > > > > All the best > > Keith Bainbridge > > keith.bainbridge.3216@gmail.com > 0447 667 468 > >
[toc] | [prev] | [next] | [standalone]
| From | Keith Bainbridge <keithrbaugroups@gmail.com> |
|---|---|
| Date | 2021-05-26 06:00 +0200 |
| Message-ID | <CiSS5-5Y5-1@gated-at.bofh.it> |
| In reply to | #235522 |
On Wed, 26 May 2021 03:38:36 +0200, Stella Ashburne <rewefie@gmx.com> typed 1. My OS stops downloading software and security updates silently in the background. It's called automatic downloads, am I right? I wish it to stop. 2. Debian stops giving me notifications that there are software updates available for download. G'day Stella I am not familiar with the app you are using. I use synaptic occasionally when I'm not sure of a package name that I want to install. I wonder if the line when there are security updates display immediately is confusing the settings? And, no, I don't know why claws hasn't marked the quoted text properly. Suggestion? All the best -- Keith Bainbridge keithrbaugroups@gmail.com
[toc] | [prev] | [next] | [standalone]
| From | l0f4r0@tuta.io |
|---|---|
| Date | 2021-05-26 14:30 +0200 |
| Message-ID | <Cj0PE-2Hb-1@gated-at.bofh.it> |
| In reply to | #235522 |
Hi, Can you type the following commands in a terminal and give us the results please (use `sudo` if necessary)? ls -al /etc/apt/apt.conf.d/ dpkg -l | grep -i unattended-upgrades cat /lib/systemd/system/apt-daily.timer cat /etc/systemd/system/apt-daily.timer.d/override.conf Best regards, l0f4r0
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-27 08:50 +0200 |
| Message-ID | <Cji09-4tB-1@gated-at.bofh.it> |
| In reply to | #235528 |
> Sent: Wednesday, May 26, 2021 at 8:23 PM > From: l0f4r0@tuta.io > To: "Debian User" <debian-user@lists.debian.org> > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > Hi, > > Can you type the following commands in a terminal and give us the results please (use `sudo` if necessary)? > > ls -al /etc/apt/apt.conf.d/ > dpkg -l | grep -i unattended-upgrades > cat /lib/systemd/system/apt-daily.timer > cat /etc/systemd/system/apt-daily.timer.d/override.conf > > Best regards, > l0f4r0 Hi Thanks for your reply and offer of help. Before I provide you the answers, please note that I had removed/deleted the package called 50unattended-upgrades in /etc/apt/apt.conf.d/ before my original post in this mailing list. Secondly, according to a reply that I received prior to your response, I issued the command sudo systemctl diaable unattended-upgrades Please find below the results of what you had asked me to do: ls -al /etc/apt/apt.conf.d/ total 56 drwxr-xr-x 2 root root 4096 Apr 23 04:45 . drwxr-xr-x 7 root root 4096 Apr 23 04:45 .. -rw-r--r-- 1 root root 49 Sep 8 2020 00aptitude -rw-r--r-- 1 root root 82 Sep 8 2020 00CDMountPoint -rw-r--r-- 1 root root 40 Sep 8 2020 00trustcdrom -rw-r--r-- 1 root root 1018 May 12 2020 01autoremove -r--r--r-- 1 root root 3636 Apr 17 15:17 01autoremove-kernels -rw-r--r-- 1 root root 89 Apr 10 07:12 10periodic -rw-r--r-- 1 root root 202 Mar 17 2019 20listchanges -rw-r--r-- 1 root root 1040 Mar 2 2019 20packagekit -rw-r--r-- 1 root root 2592 Jan 26 2019 50appstream -rw-r--r-- 1 root root 435 Jan 26 2019 60icons -rw-r--r-- 1 root root 182 Feb 26 2019 70debconf -rw-r--r-- 1 root root 32 Apr 17 15:17 99synaptic dpkg -l | grep -i unattended-upgrades ii unattended-upgrades 1.11.2 all automatic installation of security upgrades cat /lib/systemd/system/apt-daily.timer [Unit] Description=Daily apt download activities [Timer] OnCalendar=*-*-* 6,18:00 RandomizedDelaySec=12h Persistent=true [Install] WantedBy=timers.target cat /etc/systemd/system/apt-daily.timer.d/override.conf cat: /etc/systemd/system/apt-daily.timer.d/override.conf: No such file or directory
[toc] | [prev] | [next] | [standalone]
| From | l0f4r0@tuta.io |
|---|---|
| Date | 2021-05-27 22:10 +0200 |
| Message-ID | <Cjuuo-3FK-9@gated-at.bofh.it> |
| In reply to | #235528 |
Hi, 27 mai 2021, 08:48 de rewefie@gmx.com: > Before I provide you the answers, please note that I had removed/deleted the package called 50unattended-upgrades in /etc/apt/apt.conf.d/ before my original post in this mailing list. > What you call "package" is actually a simple file right? > Secondly, according to a reply that I received prior to your response, I issued the command > > sudo systemctl diaable unattended-upgrades > OK, that will prevent the service from starting at next reboot. But the service is still currently running right? Please type in a terminal: systemctl status unattended-upgrades > ls -al /etc/apt/apt.conf.d/ > > total 56 > drwxr-xr-x 2 root root 4096 Apr 23 04:45 . > drwxr-xr-x 7 root root 4096 Apr 23 04:45 .. > -rw-r--r-- 1 root root 49 Sep 8 2020 00aptitude > -rw-r--r-- 1 root root 82 Sep 8 2020 00CDMountPoint > -rw-r--r-- 1 root root 40 Sep 8 2020 00trustcdrom > -rw-r--r-- 1 root root 1018 May 12 2020 01autoremove > -r--r--r-- 1 root root 3636 Apr 17 15:17 01autoremove-kernels > -rw-r--r-- 1 root root 89 Apr 10 07:12 10periodic > -rw-r--r-- 1 root root 202 Mar 17 2019 20listchanges > -rw-r--r-- 1 root root 1040 Mar 2 2019 20packagekit > -rw-r--r-- 1 root root 2592 Jan 26 2019 50appstream > -rw-r--r-- 1 root root 435 Jan 26 2019 60icons > -rw-r--r-- 1 root root 182 Feb 26 2019 70debconf > -rw-r--r-- 1 root root 32 Apr 17 15:17 99synaptic > Can you provide us with the following command results? cat /etc/apt/apt.conf.d/10periodic cat /etc/apt/apt.conf.d/00aptitude > dpkg -l | grep -i unattended-upgrades > > ii unattended-upgrades 1.11.2 all automatic installation of security upgrades > It seems unattended-upgrades is still installed. You confirm that you never ran something like the following? sudo apt remove unattended-upgrades sudo apt purge unattended-upgrades What give you the next commands please? apt-config dump | grep -i unatt apt-config dump | grep -i APT::Periodic NB: Have you rebooted and observed the same behavior since your posts? Best regards, l0f4r0
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-28 02:50 +0200 |
| Message-ID | <CjyRk-6aR-1@gated-at.bofh.it> |
| In reply to | #235594 |
Hi
> Sent: Friday, May 28, 2021 at 4:09 AM
> From: l0f4r0@tuta.io
> To: "Debian User" <debian-user@lists.debian.org>
> Subject: Re: How do I permanently disable unattended downloads of software/security updates?
>
> What you call "package" is actually a simple file right?
Yes, it is a file that contains a lot of programming code or what you would call scripting language. The default path is /etc/apt/apt.conf.d/. I guess every one who installs Debian 10.9 should have it too, yourself included.
> But the service is still currently running right?
I don't know how to answer your question because my knowledge of computing and Linux is basic/elementary.
> systemctl status unattended-upgrades
Below is the result:
unattended-upgrades.service - Unattended Upgrades Shutdown
Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; disabled; ve
Active: inactive (dead)
Docs: man:unattended-upgrade(8)
> Can you provide us with the following command results?
>
> cat /etc/apt/apt.conf.d/10periodic
Below is the result of cat /etc/apt/apt.conf.d/10periodic
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
> cat /etc/apt/apt.conf.d/00aptitude
Below is the result of cat /etc/apt/apt.conf.d/00aptitude
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
> You confirm that you never ran something like the following?
>
> sudo apt remove unattended-upgrades
> sudo apt purge unattended-upgrades
Yes, I confirm that I have never issued the following one of two commands, viz.:
sudo apt remove unattended-upgrades
sudo apt purge unattended-upgrades
The reason is that I find it too drastic a step. I chose to disable by doing sudo systemctl disable unattended-upgrades. I did delete the package called 50unattended-upgrades (as mentioned in my original post.)
> What give you the next commands please?
>
> apt-config dump | grep -i unatt
Below is the result of apt-config dump | grep -i unatt
APT::Periodic::Unattended-Upgrade "0";
> apt-config dump | grep -i APT::Periodic
Below is the result of apt-config dump | grep -i APT::Periodic
APT::Periodic "";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
> NB: Have you rebooted and observed the same behavior since your posts?
After rebooting, I have no opportunity to observe the same behavior since my posts because there are no software/security updates that are relevant to my Debian system at the time of writing this email. Based on my past experience, Debian only downloads software/security updates for my kernel and the installed packages. The installed packages on my system are minimal. I'll have to wait patiently for the next software/security updates for my installed packages.
Thank you for your time and help. I really appreciate it.
Best regards.
[toc] | [prev] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2021-05-29 08:50 +0200 |
| Message-ID | <Ck0Xf-6qm-1@gated-at.bofh.it> |
| In reply to | #235604 |
[Multipart message — attachments visible in raw view] — view raw
On Vi, 28 mai 21, 02:44:30, Stella Ashburne wrote: > > The reason is that I find it too drastic a step. I chose to disable by > doing sudo systemctl disable unattended-upgrades. I did delete the > package called 50unattended-upgrades (as mentioned in my original > post.) Installing packages on Debian is so easy that in most cases purging a package is a very safe method to disable a specific functionality. Removing files belonging to a package is typically frowned upon, as this can under specific circumstances be like pulling the rug from underneath a package (or worse, APT/dpkg). In the case of configuration files (basically everything that is under /etc and a few other places) it can cause unexpected or even unsafe behaviour as the software might revert to built-in defaults that could be wrong for your system. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-29 19:10 +0200 |
| Message-ID | <CkaDf-3WF-3@gated-at.bofh.it> |
| In reply to | #235640 |
Hello Andrei Thank you for your advice and time. I really appreciate it. > Sent: Saturday, May 29, 2021 at 2:49 PM > From: "Andrei POPESCU" <andreimpopescu@gmail.com> > To: debian-user@lists.debian.org > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > Removing files belonging to a package is typically frowned upon, as this > can under specific circumstances be like pulling the rug from underneath > a package (or worse, APT/dpkg). Oops. I removed/deleted the file 50unattended-upgrades located in /etc/apt/apt.conf.d/ > > In the case of configuration files (basically everything that is under > /etc and a few other places) it can cause unexpected or even unsafe > behaviour as the software might revert to built-in defaults that could > be wrong for your system. I suppose 50unattended-upgrades is a configuration file? Best regards.
[toc] | [prev] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2021-05-30 09:40 +0200 |
| Message-ID | <Ckodc-3v7-3@gated-at.bofh.it> |
| In reply to | #235652 |
[Multipart message — attachments visible in raw view] — view raw
On Sb, 29 mai 21, 19:09:36, Stella Ashburne wrote: > Hello Andrei > > Thank you for your advice and time. I really appreciate it. > > > Sent: Saturday, May 29, 2021 at 2:49 PM > > From: "Andrei POPESCU" <andreimpopescu@gmail.com> > > To: debian-user@lists.debian.org > > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > > > Removing files belonging to a package is typically frowned upon, as this > > can under specific circumstances be like pulling the rug from underneath > > a package (or worse, APT/dpkg). > > Oops. I removed/deleted the file 50unattended-upgrades located in /etc/apt/apt.conf.d/ > > > > In the case of configuration files (basically everything that is under > > /etc and a few other places) it can cause unexpected or even unsafe > > behaviour as the software might revert to built-in defaults that could > > be wrong for your system. > > I suppose 50unattended-upgrades is a configuration file? Yes. You also disabled the background service, so it should be fine. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | l0f4r0@tuta.io |
|---|---|
| Date | 2021-05-28 13:50 +0200 |
| Message-ID | <CjJa1-45X-5@gated-at.bofh.it> |
| In reply to | #235594 |
Hi,
OK, here is my understanding of your situation.
unattended-upgrades is not installed by default, so you installed that package at some point because you were interested in applying upgrades automatically.
Now, you are not interested anymore. So you have chosen to delete the configuration file /etc/apt/apt.conf.d/50unattended-upgrades and disabled the systemd service unattended-upgrades.
Next, you have rebooted and indeed the service and configuration file have not been loaded (see service status 'inactive' and 'APT::Periodic::Unattended-Upgrade "0"').
I think you won't update/upgrade automatically anymore (by the way you say you haven't noticed this behavior so far), but time will confirm.
See below some remarks.
28 mai 2021, 02:44 de rewefie@gmx.com:
>> What you call "package" is actually a simple file right?
>>
> Yes, it is a file that contains a lot of programming code or what you would call scripting language. The default path is /etc/apt/apt.conf.d/. I guess every one who installs Debian 10.9 should have it too, yourself included.
>
No I don't have it, it's installed with the optional package "unattended-upgrades".
Strictly speaking, /etc/apt/apt.conf.d/50unattended-upgrades is a file, not a package.
A package is a combination of files provided for your Debian distribution.
I just wanted to make sure you didn't talk about removing the "unattended-upgrades" package.
By the way, I think you should not have deleted that file. That's somewhat dirty.
If you want to make a pause with a package, just stop it and disable it (or tweak the configuration file so there is no real action processed).
If you are sure not to use some optional package, then remove or even purge it.
>> But the service is still currently running right?
>>
> I don't know how to answer your question because my knowledge of computing and Linux is basic/elementary.
>
OK, actually you can know it thanks to the command just below
>> systemctl status unattended-upgrades
>>
> Below is the result:
>
> unattended-upgrades.service - Unattended Upgrades Shutdown
> Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; disabled; ve
> Active: inactive (dead)
> Docs: man:unattended-upgrade(8)
>
OK, the service is not running.
>> Can you provide us with the following command results?
>>
>> cat /etc/apt/apt.conf.d/10periodic
>>
> Below is the result of cat /etc/apt/apt.conf.d/10periodic
>
> APT::Periodic::Download-Upgradeable-Packages "0";
> APT::Periodic::Unattended-Upgrade "0";
>
0 means "No" here.
>> cat /etc/apt/apt.conf.d/00aptitude
>>
> Below is the result of cat /etc/apt/apt.conf.d/00aptitude
>
> Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
>
>> You confirm that you never ran something like the following?
>>
>> sudo apt remove unattended-upgrades
>> sudo apt purge unattended-upgrades
>>
> Yes, I confirm that I have never issued the following one of two commands, viz.:
>
> sudo apt remove unattended-upgrades
> sudo apt purge unattended-upgrades
>
> The reason is that I find it too drastic a step. I chose to disable by doing sudo systemctl disable unattended-upgrades. I did delete the package called 50unattended-upgrades (as mentioned in my original post.)
>
Understood but see my above remark.
>> What give you the next commands please?
>>
>> apt-config dump | grep -i unatt
>>
> Below is the result of apt-config dump | grep -i unatt
>
> APT::Periodic::Unattended-Upgrade "0";
>
>> apt-config dump | grep -i APT::Periodic
>>
> Below is the result of apt-config dump | grep -i APT::Periodic
>
> APT::Periodic "";
> APT::Periodic::Download-Upgradeable-Packages "0";
> APT::Periodic::Unattended-Upgrade "0";
>
Good for you ("0" again).
>> NB: Have you rebooted and observed the same behavior since your posts?
>>
> After rebooting, I have no opportunity to observe the same behavior since my posts because there are no software/security updates that are relevant to my Debian system at the time of writing this email. Based on my past experience, Debian only downloads software/security updates for my kernel and the installed packages. The installed packages on my system are minimal. I'll have to wait patiently for the next software/security updates for my installed packages.
>
Ok, let's wait and see then.
You can remove the package "unattended-upgrades" if you want via `sudo apt remove` or `sudo apt purge`.
Best regards,
l0f4r0
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-05-28 14:10 +0200 |
| Message-ID | <CjJtn-4rI-5@gated-at.bofh.it> |
| In reply to | #235608 |
On Fri, May 28, 2021 at 01:43:59PM +0200, l0f4r0@tuta.io wrote: > OK, here is my understanding of your situation. > > unattended-upgrades is not installed by default, so you installed that package at some point because you were interested in applying upgrades automatically. More likely, it was brought in as a recommendation by some desktop environment. One may use "aptitude why unattended-upgrades" to find out why it was installed, or more properly, why it's not being marked for autoremoval at the current moment. > If you are sure not to use some optional package, then remove or even purge it. Agreed. This is the preferred approach most of the time. However, if the package is marked as a *dependency* of some desktop environment, rather than simply a recommendation, then purging the undesired package may also try to remove the desktop environment metapackage. And some people panic when that happens, because they don't understand that a metapackage is not critically important. (And then it gets even more complicated when you consider autoremove, because removing the placeholder metapackage may free up various other pieces of the desktop environment -- ones that actually *do* something -- to be marked for autoremoval. And that's not desired.) (Personally I solve all of that by disabling autoremoval. But that's just me, and most people seem to like it.)
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2021-05-28 20:50 +0200 |
| Message-ID | <CjPIu-83W-1@gated-at.bofh.it> |
| In reply to | #235610 |
Hello, Thanks for your help and time. I really appreciate it. > Sent: Friday, May 28, 2021 at 8:06 PM > From: "Greg Wooledge" <greg@wooledge.org> > To: debian-user@lists.debian.org > Subject: Re: How do I permanently disable unattended downloads of software/security updates? > > More likely, it was brought in as a recommendation by some desktop > environment. One may use "aptitude why unattended-upgrades" to find > out why it was installed, or more properly, why it's not being marked > for autoremoval at the current moment. I'm very certain that I didn't install it manually. In fact, during installation of Debian, I specifically chose the option to not upgrade/update software automatically. The package "unattended-upgrades" might have been installed automatically because I installed a minimal Gnome desktop environment (I quite like using Gnome.) Question: Instead of using "aptitude why unattended-upgrades" command, can I use "apt why unattended-upgrades"? I was told many years ago that the command "aptitude" was deprecated. > However, if the package is marked as a *dependency* of some desktop > environment, rather than simply a recommendation, then purging the > undesired package may also try to remove the desktop environment > metapackage. And some people panic when that happens, because they > don't understand that a metapackage is not critically important. Question: What command can I type in a terminal to find out if the package "unattended-upgrades" is a *dependency* of some other packages? Yeah, I do panic when any metapackage of my Gnome desktop environment is removed. Why? My knowledge of computing and Debian is elementary. Question: What do you mean by "a metapackage is not critically important"? Would you like to elaborate please? > > (And then it gets even more complicated when you consider autoremove, > because removing the placeholder metapackage may free up various other > pieces of the desktop environment -- ones that actually *do* something -- > to be marked for autoremoval. And that's not desired.) Thanks for your explanation. > > (Personally I solve all of that by disabling autoremoval. But that's > just me, and most people seem to like it.) I wish to improve my knowledge of computing. How do I disable autoremove? What is the command to be typed in a terminal?
[toc] | [prev] | [next] | [standalone]
Page 1 of 4 [1] 2 3 4 Next page →
Back to top | Article view | linux.debian.user
csiph-web