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


Groups > linux.debian.user > #158834

Putting apt-listchanges and dpkg output in mail sent by unattended-upgrades

From Ondřej Grover <ondrej.grover@gmail.com>
Newsgroups linux.debian.user
Subject Putting apt-listchanges and dpkg output in mail sent by unattended-upgrades
Date 2015-10-11 10:40 +0200
Message-ID <qikkF-2XG-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I'm trying to configure unattended-upgrades to include apt-listchanges
output in the mail it sends me. I had a look at the Python
script /usr/bin/unattended-upgrade and it seems it forces apt-listchanges
to send a separate email. Is there a way around this?
One way I though of was to make apt-listchanges use the plain frontend and
include the whole dpkg log in the mail. However, I haven't found a setting
for that. Is there a way to set this? I think the problem might be that the
dpkg output is never returned in the script for some reason [1].
Failing that, what would be the best (in terms of Debian maintenance) way
to make a modification to the script? I figured I could make my own deb
package with a changed script, but what would be the most Debian-way-like
way to do that?

Kind regards,
Ondřej Grover

[1]
https://github.com/mvo5/unattended-upgrades/blob/debian/sid/unattended-upgrade#L833

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


Thread

Putting apt-listchanges and dpkg output in mail sent by unattended-upgrades Ondřej Grover <ondrej.grover@gmail.com> - 2015-10-11 10:40 +0200
  Re: Putting apt-listchanges and dpkg output in mail sent by  unattended-upgrades moxalt <moxalt@riseup.net> - 2015-10-11 20:00 +0200
    Re: Putting apt-listchanges and dpkg output in mail sent by unattended-upgrades Ondřej Grover <ondrej.grover@gmail.com> - 2015-10-12 19:50 +0200
      Re: Putting apt-listchanges and dpkg output in mail sent by  unattended-upgrades moxalt <moxalt@riseup.net> - 2015-10-13 16:10 +0200
        Re: Putting apt-listchanges and dpkg output in mail sent by unattended-upgrades Ondřej Grover <ondrej.grover@gmail.com> - 2015-10-13 19:30 +0200
          Re: Putting apt-listchanges and dpkg output in mail sent by  unattended-upgrades moxalt <moxalt@riseup.net> - 2015-10-15 07:50 +0200
            Re: Putting apt-listchanges and dpkg output in mail sent by  unattended-upgrades David Wright <deblis@lionunicorn.co.uk> - 2015-10-15 17:10 +0200

csiph-web