<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/debian/apt.systemd.daily, branch 1.6_alpha3</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.6_alpha3</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.6_alpha3'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2017-07-12T21:59:35Z</updated>
<entry>
<title>Fix some more crashes when APT::Periodic options are set to always</title>
<updated>2017-07-12T21:59:35Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-07-12T21:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0f3f9e620e9b977ff72bbcbcc205a1e60ed5b836'/>
<id>urn:sha1:0f3f9e620e9b977ff72bbcbcc205a1e60ed5b836</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>Support seconds, minutes, hours and days for APT::Periodic intervals</title>
<updated>2017-07-12T13:27:02Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-04-07T00:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1d9e29c9e2a5591b42a99a721b901fc003ed9149'/>
<id>urn:sha1:1d9e29c9e2a5591b42a99a721b901fc003ed9149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support zero delay for the various APT::Periodic activities</title>
<updated>2017-07-12T13:26:45Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2017-04-07T00:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ca90c388045b4498fe32e706bd1bdcf7a6ac8e17'/>
<id>urn:sha1:ca90c388045b4498fe32e706bd1bdcf7a6ac8e17</id>
<content type='text'>
[squashed:]

apt.systemd.daily: check_stamp: check for 'always' before numerical values

Prevents a crash when the configuration actually uses 'always':

apt.systemd.daily: 402: [: Illegal number: always
</content>
</entry>
<entry>
<title>apt.systemd.daily: Use unattend-ugrade --download-only if available</title>
<updated>2017-06-01T07:16:37Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-06-01T07:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cedf80c55766868eadc7ed59a27537c9a5d91edf'/>
<id>urn:sha1:cedf80c55766868eadc7ed59a27537c9a5d91edf</id>
<content type='text'>
Using dry-run as in the previous commit is not really correct, as
it logs dpkg debugging output too. So, let's assume unattended-upgrade
gets a --download-only option and use that if it is available.

This lets us add the downloading part to unattended-upgrades later
on, without requiring versioned dependencies between the two.

Closes: #863859
</content>
</entry>
<entry>
<title>apt.systemd.daily: Pass --dry-run to unattended-upgrade, not -d</title>
<updated>2017-06-01T06:24:12Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-06-01T06:24:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=31c81a37ac6dceda0c94ce088b338b6b09afd5a4'/>
<id>urn:sha1:31c81a37ac6dceda0c94ce088b338b6b09afd5a4</id>
<content type='text'>
We want to download stuff:
  --dry-run             Simulation, download but do not install
not debug:
  -d, --debug           print debug messages

Confusion everywhere!

Closes: #863859
</content>
</entry>
<entry>
<title>apt.systemd.daily: Drop the LOCKFD variable</title>
<updated>2017-05-16T21:18:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-05-16T21:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3819004c2cb3893bfa136f3c44a5783c42cd2a8d'/>
<id>urn:sha1:3819004c2cb3893bfa136f3c44a5783c42cd2a8d</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>apt.systemd.daily: fix error from locking code</title>
<updated>2017-05-16T21:16:43Z</updated>
<author>
<name>Alan Jenkins</name>
<email>alan.christopher.jenkins@gmail.com</email>
</author>
<published>2017-05-14T17:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973'/>
<id>urn:sha1:7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973</id>
<content type='text'>
Error:

    pkgs that look like they should be upgraded:
    Error in function stop
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 240,
    in stop
        apt_pkg.size_to_str(self.current_cps))).rstrip("\n"))
      File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 51,
    in _write
        self._file.write("\r")
    AttributeError: 'NoneType' object has no attribute 'write'
    fetch.run() result: 0

Caused by:

    LOCKFD=3
    unattended_upgrades $LOCKFD&gt;&amp;-

Unfortunately this code does not work, it is equivalent to

    unattended_upgrades 3 &gt;&amp;-

I.e. it left fd 3 open, but closed stdout!

Closes: #862567
</content>
</entry>
<entry>
<title>apt.systemd.daily: Add locking</title>
<updated>2017-05-04T20:49:48Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-04-28T09:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ea49b66372912354143b810e2826301d651a2b37'/>
<id>urn:sha1:ea49b66372912354143b810e2826301d651a2b37</id>
<content type='text'>
Use a lock file to make sure only one instance of the
script is running at the same time.
</content>
</entry>
<entry>
<title>Run unattended-upgrade -d in download part</title>
<updated>2017-05-03T17:08:50Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-04-26T19:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=01e324a6893164feace153bc17fe6453b6fa97db'/>
<id>urn:sha1:01e324a6893164feace153bc17fe6453b6fa97db</id>
<content type='text'>
We want to download the upgrades first, if unattended-upgrades
is configured. We don't want to use the normal dist-upgrade -d
thing for it, though, as unattended-upgrades only upgrades a
subset.
</content>
</entry>
<entry>
<title>Allow the daily script to be run in two phases</title>
<updated>2017-04-26T18:45:38Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-04-26T17:58:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=007b22ee6fd33d9b03637577f8401a43c5e7c90c'/>
<id>urn:sha1:007b22ee6fd33d9b03637577f8401a43c5e7c90c</id>
<content type='text'>
This adds an argument to the script which may be update, install,
or empty. In the update cases, downloads are performed. In the
install case, installs are performed. If empty, both are run.

Gbp-Dch: ignore
</content>
</entry>
</feed>
