Last commit made on 2018-06-26
Get this branch:
git clone -b 1.5.y https://git.launchpad.net/apt

Branch merges

Branch information


Recent commits

1ec4709... by Julian Andres Klode

Release 1.5.2

03122fb... by Julian Andres Klode

Fix lock counting in debSystem

debSystem uses a reference counted lock, so you can acquire it
multiple times in your applications, possibly nested. Nesting
locks causes a fd leak, though, as we only increment the lock
count when we already have locked twice, rather than once, and
hence when we call lock the second time, instead of increasing
the lock count, we open another lock fd.

This fixes the code to check if we have locked at all (> 0).

There is no practical problem here aside from the fd leak, as
closing the new fd releases the lock on the old one due to the
weird semantics of fcntl locks.

(cherry picked from commit 79f012bd09ae99d4c9d63dc0ac960376b5338b32)
(cherry picked from commit 1edcb718293f24ad190703a345f8f868b6e3bcc4)

LP: #1778547

db58513... by Julian Andres Klode

apt.conf.autoremove: Catch some new Ubuntu module packages

(cherry picked from commit 4ba9412d545232794bd7838e0174df8fda4152b8)

LP: #1778551

dc70da1... by Julian Andres Klode

Release 1.5.1

a8e79fb... by Julian Andres Klode

debian/tests/control: Add dpkg so we get triggered by it

We do want to get our autopkgtests triggered by dpkg uploads
in Ubuntu, but this does not happen because we don't have
an explicit dependency on it. Add one.

(cherry picked from commit b1989ab988cf4da47f979933e551b6dda694dcf2)

84db2b7... by Julian Andres Klode

debian/gbp.conf: Switch to 1.5.y branch

f29f7ce... by David Kalnischkies

ignore unsupported key formats in apt-key

gpg2 generates keyboxes by default and users end up putting either those
or armored files into the trusted.gpg.d directory which apt tools
neither expect nor can really work with without fortifying backward
compatibility (at least under the ".gpg" extension).

A (short) discussion about how to deal with keyboxes happened in
As the last message in that thread is this changeset lets go ahead
with it and see how it turns out.

The idea is here simply that we check the first octal of a gpg file to
have one of three accepted values. Testing on my machines has always
produced just one of these, but running into those values on invalid
files is reasonabily unlikely to not worry too much.

Closes: #876508
(cherry picked from commit 012932793ba0ea9398a9acd80593bed8e77cfbfc)

fb73af3... by David Kalnischkies

proper error reporting for v3 onion services

APT connects just fine to any .onion address given, only if the connect
fails somehow it will perform checks on the sanity of which in this case
is checking the length as they are well defined and as the strings are
arbitrary a user typing them easily mistypes which apt should can be
slightly more helpful in figuring out by saying the onion hasn't the
required length.

(cherry picked from commit f3e34838d95132e5f318e85525326decbfb19e36)

e9dca65... by Frans Spiesschaert

Dutch program translation update

Closes: #879137
(cherry picked from commit f7281c4dbfe77f1d2a4da2f9e309104b0c86c45f)

a3603aa... by Julian Andres Klode

Fix testsuite for and add new fields from dpkg 1.19

tagfile-order.c: Add missing fields from dpkg 1.19

For binary packages, this is Build-Essential; for source packages,
it is Description.

test-bug-718329-...: Ignore control.tar.*, changes in dpkg 1.19

test-apt-extracttemplates: Fix for dpkg 1.19
(cherry picked from commit 404dececf913d3c09368a73ca00aa8172dbf6865)