<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/debian/apt.systemd.daily, branch 1.5_alpha1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.5_alpha1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.5_alpha1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2017-06-01T07:16:37Z</updated>
<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>
<entry>
<title>show output as documented for APT::Periodic::Verbose 2</title>
<updated>2016-11-25T12:05:44Z</updated>
<author>
<name>Paul Wise</name>
<email>pabs@debian.org</email>
</author>
<published>2016-11-25T09:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=250687865e2d27dc949b810e59b07161a4c8f762'/>
<id>urn:sha1:250687865e2d27dc949b810e59b07161a4c8f762</id>
<content type='text'>
The documentation of APT::Periodic::Verbose doesn't match the code,
specifically level 2 should apply some things differently to level 1
but does not because it uses `-le 2` instead of `-lt 2` or `-le 1`.

Closes: 845599
</content>
</entry>
<entry>
<title>CMake: debian: Switch packaging over to CMake and dh 9</title>
<updated>2016-08-06T20:36:02Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-06T19:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e825742bbbbe99b99d525a3b34832b25a7396c84'/>
<id>urn:sha1:e825742bbbbe99b99d525a3b34832b25a7396c84</id>
<content type='text'>
This new packaging is much easier to read, although the duplication
in the install files is a bit annoying. We should probably also get
rid of the movefiles for solvers, planners, and https method; but
then we have to keep track of which methods exist in the apt package.

Another disadvantage is that building only the documentation packages
also requires building the code, as there's no way to turn off code
building in the project.
</content>
</entry>
<entry>
<title>Use the ConditionACPower feature of systemd in the apt-daily service</title>
<updated>2016-06-27T09:22:02Z</updated>
<author>
<name>Nicolas Le Cam</name>
<email>niko.lecam@gmail.com</email>
</author>
<published>2016-06-22T19:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=51d659e7d8cdce59f910eceeee68e2c2afdb70d4'/>
<id>urn:sha1:51d659e7d8cdce59f910eceeee68e2c2afdb70d4</id>
<content type='text'>
.. instead of hardcoding the functionnality in the apt.systemd.daily
script.

Also make the compatibility cron job provide the same functionnality
for systems that do not use systemd.

Closes: #827930
</content>
</entry>
</feed>
