<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/cmdline/apt-mark.cc, branch 2.4.4</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.4.4</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.4.4'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2022-01-24T18:46:34Z</updated>
<entry>
<title>Fix "was already not hold" message grammar</title>
<updated>2022-01-24T18:46:34Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2022-01-24T13:01:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fd785ddfea98bafdedb8c8529cf266793b51d956'/>
<id>urn:sha1:fd785ddfea98bafdedb8c8529cf266793b51d956</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inhibit autoremove calculation in apt-mark and apt show</title>
<updated>2021-08-28T20:21:35Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-08-28T16:08:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e267d1ee54e3e2a9478201192293f3f8c72e118c'/>
<id>urn:sha1:e267d1ee54e3e2a9478201192293f3f8c72e118c</id>
<content type='text'>
As we never display the information in these code paths there isn't a
lot of point in calculating it first saving us some precious CPU cycles.

References: d6f3458badf2cfea3ca7de7632ae31daff5742be
</content>
</entry>
<entry>
<title>apt-mark: don't lie about successful marks</title>
<updated>2020-01-09T18:44:22Z</updated>
<author>
<name>Tris Emmy Wilson</name>
<email>anemptystring@gmail.com</email>
</author>
<published>2020-01-09T00:24:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=009b144dc466856b05473c73bdf75ea21755b037'/>
<id>urn:sha1:009b144dc466856b05473c73bdf75ea21755b037</id>
<content type='text'>
This commit fixes an issue where apt-mark would say it had made a change
before actually making the change. For example, when running as a user
without permission to write to extended_states, the package is not
marked but apt-mark claims it is:

    ~ % apt-mark manual rxvt-unicode
    rxvt-unicode set to manually installed.
    E: Could not create [...snip...] (13: Permission denied)
    E: Failed to write temporary StateFile /var/lib/apt/extended_states

This commit moves reporting of "[package] set to [manually |
automatically] installed" after saving extended_states and confirming it
was successful.
</content>
</entry>
<entry>
<title>apt-mark: Add hidden showheld alias for showhold</title>
<updated>2019-05-10T07:45:41Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-05-10T07:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6311c8d25f1ff2033ef48a20fc7942ef42d81bf8'/>
<id>urn:sha1:6311c8d25f1ff2033ef48a20fc7942ef42d81bf8</id>
<content type='text'>
For Unit193 and those who value grammar, I suppose.
</content>
</entry>
<entry>
<title>apt-mark: Introduce minimize-manual</title>
<updated>2019-01-10T09:38:59Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2018-12-11T16:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=be7eb047e1202971f84bb4ac27e796d85bebdce9'/>
<id>urn:sha1:be7eb047e1202971f84bb4ac27e796d85bebdce9</id>
<content type='text'>
This visits dependencies of all manually installed metapackages,
as determined by APT::Never-MarkAuto-Sections, and marks them as
automatically installed. It can be used to clean up autoflags after
a d-i install, for example.
</content>
</entry>
<entry>
<title>apt-mark: showhold: typo-fix (package -&gt; packages)</title>
<updated>2018-10-02T15:03:31Z</updated>
<author>
<name>Muhamed Huseinbašić</name>
<email>muhamed.huseinbasic@outlook.com</email>
</author>
<published>2018-10-02T14:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=07d12ed686740c167bb5cbe4fe724e8469432b4a'/>
<id>urn:sha1:07d12ed686740c167bb5cbe4fe724e8469432b4a</id>
<content type='text'>
See merge request apt-team/apt!29

[jak@d.o: Also adjust translations, provide better subject]
</content>
</entry>
<entry>
<title>Reformat and sort all includes with clang-format</title>
<updated>2017-07-12T11:57:51Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-07-12T11:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=87274d0f22e1dfd99b2e5200e2fe75c1b804eac3'/>
<id>urn:sha1:87274d0f22e1dfd99b2e5200e2fe75c1b804eac3</id>
<content type='text'>
This makes it easier to see which headers includes what.

The changes were done by running

    git grep -l '#\s*include'  \
        | grep -E '.(cc|h)$' \
        | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/'

To modify all include lines by adding a space, and then running
./git-clang-format.sh.
</content>
</entry>
<entry>
<title>Drop cacheiterators.h include</title>
<updated>2017-07-12T11:56:05Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-07-12T11:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c46f94aa48a9707668c46118b3eec77ff318b78c'/>
<id>urn:sha1:c46f94aa48a9707668c46118b3eec77ff318b78c</id>
<content type='text'>
Including cacheiterators.h before pkgcache.h fails because
pkgcache.h depends on cacheiterators.h.
</content>
</entry>
<entry>
<title>look into the right textdomain for apt-utils again</title>
<updated>2016-05-28T16:12:02Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-05-28T11:53:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=570ec96dbf4f720d8eff694f8c4429e0b0a033b4'/>
<id>urn:sha1:570ec96dbf4f720d8eff694f8c4429e0b0a033b4</id>
<content type='text'>
Broken in e7e10e47476606e3b2274cf66b1e8ea74b236757 by looking always
into "apt" while we ship some tools in "apt-utils"…
</content>
</entry>
<entry>
<title>fail instead of segfault on unreadable config files</title>
<updated>2016-05-20T07:37:24Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-05-20T07:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fdf9eef4d96a18d0167708499c993e1174251e88'/>
<id>urn:sha1:fdf9eef4d96a18d0167708499c993e1174251e88</id>
<content type='text'>
The report mentions "apt list --upgradable", but there are others which
have inconsistent behavior ranging from segfaulting to doing something
with the partial (and hence incomplete) data. We had a recent report
about sources.list (#818628), this one mentions prefences, the obvious
next step is conf files… so the testcase is adapted to check for all
three in file and directory versions and run a bunch of commands each
time which should all have more or less the same behavior in such a case
(aka error out).

Closes: 824503
</content>
</entry>
</feed>
