summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.4.22.4.2Julian Andres Klode2022-03-175-6/+19
|
* German program translation updateHelge Kreutzmann2022-03-121-4/+6
| | | | Closes: #1007128
* Revert "bugscript: switch from bash to POSIX shell"David Kalnischkies2022-03-121-1/+1
| | | | | | | | | This reverts commit 4f89d3629b22255963da3705e4222c71045da58a. The bugscript uses yesno which is documented to require bash in /usr/share/doc/reportbug/README.developers.gz. Closes: #1007121
* Dutch manpages translation updateFrans Spiesschaert2022-03-081-47/+33
| | | | Closes: #1005781
* Release 2.4.12.4.1Julian Andres Klode2022-03-075-6/+17
|
* Merge branch 'pu/regression-2.4.0' into 'main'Julian Andres Klode2022-03-072-4/+18
|\ | | | | | | | | gpgv: Fix legacy fallback on unavailable keys See merge request apt-team/apt!228
| * gpgv: Use Valid instead of Good to determine fallbackJulian Andres Klode2022-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change the logic to use "Valid" instead of "Good" to determine whether we need to fallback and if fallback was successful. That means that if you have an expired key in trusted.gpg.d, and a non-expired in trusted.gpg, verification will now fail directly with the expired key in trusted.gpg.d and not try to fallback. Likewise, if the key in trusted.gpg is expired, this will now also be reported correctly again, instead of producing an error message that the key could not be found.
| * gpgv: Fix legacy fallback on unavailable keysJulian Andres Klode2022-03-072-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a repository is signed with multiple keys, apt 2.4.0 would ignore the fallback result if some keys were still missing, causing signature verification to fail. Rework the logic such that when checking if fallback was "succesful", missing keys are ignored - it only matters if we managed to verify one key now, whether good or bad. Likewise, simplify the logic when to do the fallback: If there was a bad signature in trusted.gpg.d, do NOT fallback at all - this is a minor security issue, as a key in trusted.gpg.d could fail silently with a bad signature, and then a key in trusted.gpg might allow the signature to succeed (as trusted.gpg.d key is then missing). Only fallback if we are missing a good signature, and there are keys we have not yet checked.
* | Merge branch 'document-interval-suffixes-and-always' into 'main'Julian Andres Klode2022-03-041-0/+6
|\ \ | |/ |/| | | | | Document the APT::Periodic interval suffixes and "always" value See merge request apt-team/apt!227
| * Document the APT::Periodic interval suffixes and "always" valuePaul Wise2022-03-021-0/+6
|/ | | | | | | Without documentation these options will see much less use. Fixes: commit 1d9e29c9e2a5591b42a99a721b901fc003ed9149 Suggested-by: kibi on #debian-devel
* Release 2.4.02.4.0Julian Andres Klode2022-02-2260-1169/+2370
|
* Merge branch 'pu/legacy-keyring-warning' into 'main'Julian Andres Klode2022-02-226-4/+87
|\ | | | | | | | | Warn if the legacy trusted.gpg keyring is used for verification See merge request apt-team/apt!209
| * Warn if the legacy trusted.gpg keyring is used for verificationJulian Andres Klode2022-02-224-1/+81
| | | | | | | | | | With apt-key going away, people need to manage key files, rather than keys, so they need to know if any keys are in the legacy keyring.
| * Improve the documentation for /etc/apt/keyringsJulian Andres Klode2022-02-222-3/+6
|/
* Merge branch 'readme' into 'main'Julian Andres Klode2022-02-221-1/+1
|\ | | | | | | | | Readme: Default branch is now main See merge request apt-team/apt!226
| * Readme: Default branch is now mainCroydon2022-02-171-1/+1
| |
* | Merge branch 'bugscript-dash' into 'main'Julian Andres Klode2022-02-221-12/+8
|\ \ | | | | | | | | | | | | bugscript: switch to POSIX shell, quoting, other improvements See merge request apt-team/apt!225
| * | bugscript: switch from bash to POSIX shellPaul Wise2022-02-151-1/+1
| | | | | | | | | | | | | | | | | | This means Debian is one step closer to removing bash from essential. See-also: https://salsa.debian.org/debian/grow-your-ideas/-/issues/20#note_296809
| * | bugscript: switch from `echo -e` to printfPaul Wise2022-02-151-4/+4
| | | | | | | | | | | | | | | | | | Otherwise slashes in filenames could be interpreted as newlines etc. Also makes it portable to shells that don't support `echo -e`.
| * | bugscript: quote config file namesPaul Wise2022-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | The file names could contain spaces and without quoting, the files would not be found and included in the bug reports. Suggested-by: shellcheck
| * | bugscript: switch from options in shebang to options for setPaul Wise2022-02-151-1/+2
| | | | | | | | | | | | | | | Otherwise the options won't be applied when running the script directly from a sh command instead of via the shebang.
| * | bugscript: drop workaround for long fixed issue in reportbugPaul Wise2022-02-151-5/+0
| |/ | | | | | | | | | | See-also: https://bugs.debian.org/169495 Fixed-in: reportbug 2.10 Fixed-on: 2002-12-23
* | Merge branch 'dont-bash-complete-pkgs-before-cmd' into 'main'Julian Andres Klode2022-02-221-3/+6
|\ \ | | | | | | | | | | | | Don’t bash-complete package names before the command word See merge request apt-team/apt!221
| * | Don’t bash-complete package names before the command wordJörn-Thorben Hinz2022-02-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Previously, package names would get suggested at the cursor position `_` for a command line like this: ``` ~# apt _ install git vim ```
| * | bash-completion: Use the correct index range when looking for the command wordJörn-Thorben Hinz2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | $words[0] contains the first word on the command-line, the name of the program: apt. Also, the last word already typed on the command-line might be the command, don’t ignore it.
* | | Merge branch 'bash-complete-autopurge-reinstall-930295' into 'main'Julian Andres Klode2022-02-221-4/+4
|\ \ \ | | | | | | | | | | | | | | | | Add bash-completion for autopurge and reinstall (closes: #930295) See merge request apt-team/apt!214
| * | | Provide bash-completions for reinstall (same as for install)Jörn-Thorben Hinz2022-02-011-3/+3
| | | | | | | | | | | | | | | | Closes: #930295
| * | | Provide the same bash-completions for autopurge as for autoremoveJörn-Thorben Hinz2022-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 8ebb95805 missed some places to really bash-complete the autopurge command. Partially closes #930295
* | | | doc/apt-key.8.xml: document alternatives to apt-key add (closes: #1002820)Johannes Schauer Marin Rodrigues2022-02-222-0/+32
| | | | | | | | | | | | | | | | [jak@ Also document /etc/apt/keyrings]
* | | | Install an empty /etc/apt/keyrings directoryJulian Andres Klode2022-02-141-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | This directory is intended to provide an alternative to /usr/share/keyrings for placing keys used with signed-by. Gbp-Dch: full
* | | Merge branch 'fix/externalsatisfy' into 'main'Julian Andres Klode2022-02-102-28/+63
|\ \ \ | | | | | | | | | | | | | | | | Allow --solver apt to work on apt satisfy See merge request apt-team/apt!224
| * | | Allow --solver apt to work on apt satisfyDavid Kalnischkies2022-02-102-28/+63
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Our EDSP code is confused by the spaces in the package name, so we adopt a naming scheme similar to build-dep here instead of trying to teach EDSP to somehow encode the spaces as that is probably even more confusing for onlookers than this invalid package name is. Reported-By: Johannes Schauer Marin Rodrigues on IRC
* | | Simplified Chinese program translation updateBoyuan Yang2022-02-071-10/+9
| | | | | | | | | | | | Closes: #1004931
* | | Silence ar by warping it in a testsuccess callDavid Kalnischkies2022-02-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The -q flag isn't quiet – it means quick – so ar happily prints an "ar: creating test.deb" which is harmless, but also pointless and it is the only testcase who produces output. Gbp-Dch: Ignore
* | | Enable tests commented out with no longer true fixmeDavid Kalnischkies2022-02-021-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | Pinning and its display was reworked years ago, but the test and especially the comment never got the memo. References: a91aae406112df1d8fe16d00212333a20210f674 Gbp-Dch: Ignore
* | | Remove useless use of awkDavid Kalnischkies2022-02-021-6/+6
| | | | | | | | | | | | | | | | | | I have no idea what I was thinking 12 years ago. Gbp-Dch: Ignore
* | | Use moreutils parallel even if GNU parallel is installedDavid Kalnischkies2022-02-021-0/+2
| |/ |/| | | | | | | | | | | | | GNU parallel diverts moreutils implementation away. As we us moreutils features just installing parallel breaks the test runner hence. We have this already for another naming scheme, so fixing this is easy enough. Gbp-Dch: Ignore
* | Release 2.3.152.3.15Julian Andres Klode2022-02-015-6/+29
|/
* Merge branch 'bash-completion-tweaks-apt-install' into 'main'Julian Andres Klode2022-02-011-9/+8
|\ | | | | | | | | Small tweaks for bash-completion after `apt install` See merge request apt-team/apt!216
| * Don’t fail bash-completion for `apt` when the nounset option is setJörn-Thorben Hinz2022-02-011-6/+4
| | | | | | | | | | Following a practice from upstream bash-completion. See for example https://github.com/scop/bash-completion/commit/b807460140aa6dda09eb2af2ecf3afa1971c84c4
| * Start bash-completing .deb file paths after the first . passed in anJörn-Thorben Hinz2022-01-261-1/+1
| | | | | | | | | | | | | | argument to `apt install` This will start by suggesting ./ and ../ which are both fine path segments for `apt install` to handle later.
| * Bash-complete either package name or .deb filename for `apt install`Jörn-Thorben Hinz2022-01-261-2/+3
| | | | | | | | | | Should provide a tiny speed-up when someone already started typing either one in the current argument.
| * Also bash-complete .deb filenames after `apt install` for paths starting with ~Jörn-Thorben Hinz2022-01-261-1/+1
| | | | | | | | | | | | At the time the bash-completion runs, the ~ (or even ~user) is not yet expanded to /home/user, so it did not match the existing comparison with `/*`.
* | Merge branch 'fix-bash-compl-cmd-comparison' into 'main'Julian Andres Klode2022-02-011-1/+1
|\ \ | | | | | | | | | | | | bash-completion: Don’t misidentify short options as commands to `apt` See merge request apt-team/apt!211
| * | bash-completion: Don’t misidentify short options as commands to `apt`Jörn-Thorben Hinz2022-02-011-1/+1
| | | | | | | | | | | | | | | | | | Previously the comparison would match `-s` with `edit-sources`, `-d` with `build-dep` etc. and the real commands would not get suggested after some of the short options.
* | | Merge branch 'bash-completion-build-dep-dsc-985899' into 'main'Julian Andres Klode2022-02-011-3/+7
|\ \ \ | |_|/ |/| | | | | | | | Bash-completion of .dsc filenames for `apt build-dep` (closes: #985899) See merge request apt-team/apt!215
| * | Provide bash-completion of .dsc filenames for `apt build-dep`Jörn-Thorben Hinz2022-01-261-3/+7
|/ / | | | | | | Closes: #985899
* | Merge branch 'chore/already-not-held-spelling' into 'main'Julian Andres Klode2022-01-2445-45/+45
|\ \ | | | | | | | | | | | | Fix "was already not hold" message grammar See merge request apt-team/apt!213
| * | Fix "was already not hold" message grammarVille Skyttä2022-01-2445-45/+45
|/ /
* | Merge branch 'pu/show-full' into 'main'Julian Andres Klode2022-01-213-8/+25
|\ \ | |/ |/| | | | | Add a --full mode to apt show See merge request apt-team/apt!212