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


Groups > linux.debian.user > #235806

Re: How do I permanently disable unattended downloads of software/security updates?

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-06-02 19:00 +0200
Message-ID <ClCnM-6VW-5@gated-at.bofh.it> (permalink)
References (5 earlier) <CltaO-1CP-3@gated-at.bofh.it> <ClwV3-3V2-1@gated-at.bofh.it> <ClxxL-46X-7@gated-at.bofh.it> <ClBUJ-6Ma-3@gated-at.bofh.it> <ClC4p-6Pa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 02, 2021 at 07:33:32PM +0300, Reco wrote:
> 	Hi.
> 
> On Wed, Jun 02, 2021 at 06:27:45PM +0200, Stella Ashburne wrote:
> > Output of systemctl list-timers
> > 
> > 
> > NEXT                         LEFT          LAST                         PASSED
> > Wed 2021-06-02 16:24:55 GMT  4min 34s left n/a                          n/a
> > Thu 2021-06-03 00:00:00 GMT  7h left       Wed 2021-06-02 16:10:36 GMT  9min ago
> > Thu 2021-06-03 00:00:00 GMT  7h left       Wed 2021-06-02 16:10:36 GMT  9min ago
> > Thu 2021-06-03 00:39:22 GMT  8h left       Wed 2021-06-02 16:10:36 GMT  9min ago
> > Thu 2021-06-03 06:40:44 GMT  14h left      Wed 2021-06-02 07:43:04 GMT  8h ago
> > Thu 2021-06-03 07:30:43 GMT  15h left      Thu 2021-06-03 00:10:06 GMT  7h left
> > 
> > 6 timers listed.
> > Pass --all to see loaded but inactive timers, too.
> 
> The most important parts of "systemctl list-timers" (your problem
> considered) are UNIT and ACTIVATES columns, and your result lacks them
> for some reason.

The designers of systemctl made some odd choices.  They drop you into a
weird interactive mode by default, and expect you to be willing and able
to scroll around to see the fields of this report.  Worst of all is that
you may not even *know* that you're supposed to do this.

If you run "systemctl list-timers" in a terminal, you may (or may not)
notice a few things:

1) You're placed in a pager, even if the output has many fewer lines than
   your terminal does.  How can you tell you're in a pager?  There's a
   prompt at the bottom of the screen.  You may recognize it if you've
   had enough experience with reading man pages.

2) There are two tremendously wide date/time fields visible, with redundant
   day-of-week and timezone fields, but not the actually *important*
   information like what's going to happen at that time.

3) There are some reverse-video > signs on the right hand side of the report.

What you're expected to do is use the Right and Left arrow keys on your
keyboard (assuming they're correctly mapped in your terminal emulator's
terminfo entries) to scroll back and forth to see the other fields.  Which
you're supposed to guess exist.

If for some reason you would simply like to see all of the information on
the screen at once, the way a Unix user would *expect* a command like this
to work, you need to redirect or pipe systemctl's output so that it isn't
going to a terminal.

systemctl list-timers | cat

Of course, this is still ugly as sin, because the designers of systemctl
don't understand that terminals are 80 characters wide, always and forever.
They just dump a bunch of longer-than-140-character lines and let them
wrap as they will.  Well, at least the information is there, even if it's
hard to read.

Those wide timestamps are just ridiculous, aren't they?  And why isn't
the unit name (the most important thing) shown first?  Or even *at all*
by default?

Anyway, I suspect that the OP might find some useful information from
this command:

systemctl list-timers | grep apt

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


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