<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg, branch 2.5.4</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.5.4</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.5.4'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2022-10-28T18:33:06Z</updated>
<entry>
<title>Merge branch 'feature/optional-dpkg-status' into 'main'</title>
<updated>2022-10-28T18:33:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2022-10-28T18:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=331b592e70ddf352db694a987c5651703b0d2a94'/>
<id>urn:sha1:331b592e70ddf352db694a987c5651703b0d2a94</id>
<content type='text'>
Allow apt to run if no dpkg/status file exists

See merge request apt-team/apt!257</content>
</entry>
<entry>
<title>Merge branch 'pu/phased-updates-fixes-2022-09-23' into 'main'</title>
<updated>2022-09-28T15:13:12Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2022-09-28T15:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f8497bb5e443ef196e5d1bee43cc82ee57a8e3dd'/>
<id>urn:sha1:f8497bb5e443ef196e5d1bee43cc82ee57a8e3dd</id>
<content type='text'>
phased update improvements

See merge request apt-team/apt!262</content>
</entry>
<entry>
<title>full-upgrade: Mark phased upgrades for keep before anything else</title>
<updated>2022-09-28T14:32:44Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2022-09-28T14:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5f5a8deedffac3cdeeb2f178d910d3759d366e8e'/>
<id>urn:sha1:5f5a8deedffac3cdeeb2f178d910d3759d366e8e</id>
<content type='text'>
By marking them at the end, we might make other decisions that
depend on the new phased updates, confusing the solver. Run the
marking at the start too.

The EDSP test file from Jeremy was modified to include Machine-ID
and Phased-Update-Percentage fields and then filtered to mostly
exclude packages irrelevant to the test case by running

    grep-dctrl   \( -FRequest "EDSP 0.5" -o -FInstalled yes \
                    -oFPhased-Update-Percentage 10  \)  \
                -a --not -FArchitecture i386

LP: #1990586
</content>
</entry>
<entry>
<title>Check state of dependency, not dependee in dependency keep back</title>
<updated>2022-09-28T14:32:44Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2022-09-26T10:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f93a5aa2daa92255c75865b6f92dddb4b072ff33'/>
<id>urn:sha1:f93a5aa2daa92255c75865b6f92dddb4b072ff33</id>
<content type='text'>
When iterating over I's dependencies (which are called Pkg), we
accidentally checked if I was Protected() instead of Pkg when deciding
whether Pkg can be kept back.

LP: #1990684
</content>
</entry>
<entry>
<title>edsp: Add support for phased updates (test in LP#1990586)</title>
<updated>2022-09-28T14:32:34Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2022-09-23T14:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=28e44a3cd8b879744bebfec1133d0a9c51b25d88'/>
<id>urn:sha1:28e44a3cd8b879744bebfec1133d0a9c51b25d88</id>
<content type='text'>
Add Machine-ID to the first stanza, and copy Phased-Update-Percentage
to package stanzas.

This will be tested at a later state by the EDSP test case for
bug 1990586.
</content>
</entry>
<entry>
<title>Merge branch 'musl' into 'main'</title>
<updated>2022-09-21T10:43:35Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2022-09-21T10:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1689dedd18adc658920c60e8d6d52aa07cbaaee3'/>
<id>urn:sha1:1689dedd18adc658920c60e8d6d52aa07cbaaee3</id>
<content type='text'>
apt-pkg/contrib/fileutl.h  Explicitly include sys/stat.h

See merge request apt-team/apt!255</content>
</entry>
<entry>
<title>typecast time_t and suseconds_t from std::chrono</title>
<updated>2022-09-17T03:07:40Z</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-09-17T03:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=66b305f86fdee1c27edcb39f299b052c87d2d82e'/>
<id>urn:sha1:66b305f86fdee1c27edcb39f299b052c87d2d82e</id>
<content type='text'>
This fixes build on some architectures like mips
progress.cc:125:31: error: non-constant-expression cannot be narrowed from type 'std::chrono::duration&lt;long long&gt;::rep' (aka 'long long') to '__time_t' (aka 'long') in initializer list [-Wc++11-narrowing]
   struct timeval NowTime = { Now_sec.count(), Now_usec.count() };

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Allow apt to run if no dpkg/status file exists</title>
<updated>2022-09-02T14:55:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2022-09-01T13:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f52c1ce9b31befb71016a20759b96b4946034fcb'/>
<id>urn:sha1:f52c1ce9b31befb71016a20759b96b4946034fcb</id>
<content type='text'>
Not having a dpkg/status file used to be a hard error which from a
boostrap perspective is suspect as in the beginning, there is no
status so you would need to touch it into existence.

We make a difference between factual non-existence and inaccessibility
to catch mistakes in which the file is not readable for some reason,
the testcase test-bug-254770-segfault-if-cache-not-buildable is an
example of this.

Note that apt has already figured out at this point that this is a
Debian-like system which should have a dpkg/status file. This change
does not effect the auto-detection and is not supposed to.
</content>
</entry>
<entry>
<title>Report failures back from debSystem::AddStatusFiles</title>
<updated>2022-09-02T14:55:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2022-08-31T14:26:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=49f9cfba5567cd034bf729a63b3f6e9badd9bc35'/>
<id>urn:sha1:49f9cfba5567cd034bf729a63b3f6e9badd9bc35</id>
<content type='text'>
Failing to properly create the status file class should be reported back
to the caller so it can proceed accordingly instead of proceeding into
more failures.

This gives us:
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
instead of:
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file  - open (2: No such file or directory)
E: Problem opening
E: The package lists or status file could not be parsed or opened.
and valgrind reporting actions on uninitialised values.
</content>
</entry>
<entry>
<title>apt-pkg/contrib/fileutl.h  Explicitly include sys/stat.h</title>
<updated>2022-08-26T17:13:29Z</updated>
<author>
<name>lancethepants</name>
<email>lancethepants@gmail.com</email>
</author>
<published>2022-08-26T17:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=54925a6d3924174aeef5373cd04cddeb4a62b619'/>
<id>urn:sha1:54925a6d3924174aeef5373cd04cddeb4a62b619</id>
<content type='text'>
This fixes compatibility with musl C library.
</content>
</entry>
</feed>
