[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Unattended upgrades. Debian methods, please, not Ubuntu.



tl:dnr:
How do I get unattended upgrades a) to function and b) to tell me when it has 
upgraded something.

With Debian unattended-upgrades installed I can't make out form Adam whether 
they have run.  I have run:
# cd /var/log/unattended-upgrades/
# cat unattended-upgrades-shutdown.log
# cat unattended-upgrades.log
With  0 result.  (As above)

I have have run full-upgrade and looked for whether any security packages had 
not been installed:


Current status: 5 updates [+5], 29069 new [+68].
root@Eros:/home/lisi# aptitude full-upgrade
The following packages will be upgraded:
  imagemagick-6.q16 imagemagick-common libmagickcore-6.q16-2 
libmagickcore-6.q16-2-extra
  libmagickwand-6.q16-2
5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,935 kB of archives. After unpacking 340 kB will be freed.
Do you want to continue? [Y/n/?]
Get: 1 http://security.debian.org/ jessie/updates/main libmagickwand-6.q16-2 
amd64 8:6.8.9.9-5+deb8u7 [407 kB]
Get: 2 http://security.debian.org/ jessie/updates/main libmagickcore-6.q16-2 
amd64 8:6.8.9.9-5+deb8u7 [1,694 kB]
Get: 3 http://security.debian.org/ jessie/updates/main imagemagick-common all 
8:6.8.9.9-5+deb8u7 [151 kB]
Get: 4 http://security.debian.org/ jessie/updates/main imagemagick-6.q16 amd64 
8:6.8.9.9-5+deb8u7 [510 kB]
Get: 5 http://security.debian.org/ jessie/updates/main 
libmagickcore-6.q16-2-extra amd64 8:6.8.9.9-5+deb8u7 [172 kB]
Fetched 2,935 kB in 1s (1,690 kB/s)
Reading changelogs...
apt-listchanges: Mailing lisi.reisz@gmail.com: apt-listchanges: changelogs for 
Eros
(Reading database ... 161857 files and directories currently installed.)
Preparing to 
unpack .../libmagickwand-6.q16-2_8%3a6.8.9.9-5+deb8u7_amd64.deb ...
Unpacking libmagickwand-6.q16-2:amd64 (8:6.8.9.9-5+deb8u7) over 
(8:6.8.9.9-5+deb8u6) ...
Preparing to 
unpack .../libmagickcore-6.q16-2_8%3a6.8.9.9-5+deb8u7_amd64.deb ...
Unpacking libmagickcore-6.q16-2:amd64 (8:6.8.9.9-5+deb8u7) over 
(8:6.8.9.9-5+deb8u6) ...
Preparing to unpack .../imagemagick-common_8%3a6.8.9.9-5+deb8u7_all.deb ...
Unpacking imagemagick-common (8:6.8.9.9-5+deb8u7) over 
(8:6.8.9.9-5+deb8u6) ...
Preparing to unpack .../imagemagick-6.q16_8%3a6.8.9.9-5+deb8u7_amd64.deb ...
Unpacking imagemagick-6.q16 (8:6.8.9.9-5+deb8u7) over (8:6.8.9.9-5+deb8u6) ...
Preparing to 
unpack .../libmagickcore-6.q16-2-extra_8%3a6.8.9.9-5+deb8u7_amd64.deb ...
Unpacking libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-5+deb8u7) over 
(8:6.8.9.9-5+deb8u6) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Setting up imagemagick-common (8:6.8.9.9-5+deb8u7) ...
Setting up libmagickcore-6.q16-2:amd64 (8:6.8.9.9-5+deb8u7) ...
Setting up libmagickwand-6.q16-2:amd64 (8:6.8.9.9-5+deb8u7) ...
Setting up imagemagick-6.q16 (8:6.8.9.9-5+deb8u7) ...
Setting up libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-5+deb8u7) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...

Current status: 0 updates [-5].
root@Eros:/home/lisi# 

But unattended upgrades is installed:

root@Eros:/home/lisi# aptitude search unattended-upgrades
i   unattended-upgrades                            - automatic installation of 
security upgrades
root@Eros:/home/lisi#  

I have tried to see if a vim security patch had been installed after a vim 
security alert.  It had not.

So unattended upgrades would appear not to be working.  How do I get it 
working/configure it/ whatever.

How do I know when it is working and when it has upgraded something?

I set a configuration file up to email me, but not on this computer, and it 
hasn't done so.  Perhaps nothing has been upgraded.

Help!  Where now.

Lisi


Reply to: