summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.1.03.1.0Julian Andres Klode2025-05-196-5/+49
|
* Merge branch 'cherry' into 'main'Julian Andres Klode2025-05-194-8/+68
|\ | | | | | | | | Various cherry-picks See merge request apt-team/apt!480
| * Fail on stdio errorsDemi M. Obenour2025-05-191-1/+1
| | | | | | | | | | | | If there is an error writing to cout, cerr, or clog, APT should return a non-zero exit code. This allows automated tools to reliably check for warnings.
| * Ubuntu: Enable 3.0 solver by default in apt CLI toolsJulian Andres Klode2025-05-191-0/+7
| | | | | | | | | | | | Update our vendor config to enable the 3.0 solver by default, using the legacy compat mode for apt-get, where it is allowed to remove manually installed packages.
| * Include everything in our pkg-config autopkgtestDavid Kalnischkies2025-05-192-7/+60
|/ | | | | | | | | | | GCC defaults to C++17 currently, but our library users could be on other (newer/older) standard still e.g. by explicit request, so to avoid accidentally breaking them the pkg-config-test is adapted to include all of our public headers as a smoke test for if you can build an application against our library in a certain C++ standard. The test script is also adapted to be runnable outside of autopkgtest like in our CI or manually.
* Merge branch 'patch-1' into 'main'Julian Andres Klode2025-05-1948-89/+89
|\ | | | | | | | | 💬 Recommend people use `apt update` over `apt-get update` See merge request apt-team/apt!80
| * 💬 Recommend use of `apt update` over `apt-get update`Max Coplan2025-05-1948-89/+89
|/
* Update translation templates and merge translationsJulian Andres Klode2025-05-1954-122/+1167
|
* Merge branch 'sources-precedence' into 'main'Julian Andres Klode2025-05-191-0/+14
|\ | | | | | | | | sources.list(5): Explicitly say what the precedence order is See merge request apt-team/apt!417
| * sources.list(5): Explicitly say what the precedence order isSimon McVittie2025-05-191-0/+14
|/ | | | | | | | | | | The order of apt sources can matter, but this man page did not previously define whether /etc/apt/sources.list was parsed before or after the fragment files in sources.list.d. Giving a concrete example also provides a hint that numeric prefixes are a useful way to force a particular sort order, and clarifies that the .list or .sources extension is less important than lexicographic order. Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'prefs-precedence' into 'main'Julian Andres Klode2025-05-191-1/+14
|\ | | | | | | | | apt_preferences(5): Specify the order in which files are parsed See merge request apt-team/apt!416
| * apt_preferences(5): Specify the order in which files are parsedSimon McVittie2025-05-191-1/+14
|/ | | | | | | | | | | The order of preference stanzas matters, but this man page did not previously define whether /etc/apt/preferences was parsed before or after the fragment files in preferences.d. Giving a concrete example also provides a hint that numeric prefixes are a useful way to force a particular sort order, and clarifies that the presence or absence of the .pref extension is less important than lexicographic order. Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'pu/dselect-method' into 'main'Julian Andres Klode2025-05-1916-44/+65
|\ | | | | | | | | Cleanup dselect method See merge request apt-team/apt!423
| * dselect: Replaces obsolete file comment header with copyright and SPDX markerGuillem Jover2025-05-191-14/+3
| | | | | | | | | | | | The information in the header was probably mostly useful to the author, but even then, it seems it has long past its usefulness once it got integrated into apt proper.
| * dselect: Use qw() instead of lists of quoted stringsGuillem Jover2025-05-191-4/+4
| |
| * dselect: Use Term::ANSIColor instead of forking settermGuillem Jover2025-05-191-2/+4
| |
| * dselect: Use strict and warnings pragmasGuillem Jover2025-05-191-2/+3
| | | | | | | | | | | | Move the warnings from the shebang into a proper pragma, so that we are sure it will be enabled regardless of the script being called explicitly without the flag.
| * dselect: Refactor bold printing into its own functionGuillem Jover2025-05-191-13/+19
| |
| * dselect: Pass available file from stdin to dpkg --update-availGuillem Jover2025-05-191-3/+4
| | | | | | | | | | | | The dpkg --update-avail command has supported reading from stdin since dpkg 1.17.7. This removes a temporary file which can be very big nowadays.
| * dselect: Add https supportGuillem Jover2025-05-1915-7/+29
|/ | | | Recognize the method and update the documentation and prompts.
* Merge branch 'wip/wlozano/getline-fix' into 'main'Julian Andres Klode2025-05-192-2/+2
|\ | | | | | | | | Fix error handling with getline See merge request apt-team/apt!265
| * Fix error handling with getlineWalter Lozano2025-05-192-2/+2
|/ | | | | | | | | | | | | | The function getline is used to read data from different streams, however, the error handling is not accurate. From the man page, getline returns -1 on failure and sets errno accordingly, but the current implementation only checks errno to see if there was a failure. With this approach, in case getline returns success but also sets errno it is consider and error. Fix the issue but also checking the return value of getline. Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
* Merge branch 'feature/why' into 'main'Julian Andres Klode2025-05-196-0/+123
|\ | | | | | | | | Introduce apt why, apt why-not See merge request apt-team/apt!479
| * Introduce apt why, apt why-notJulian Andres Klode2025-05-196-0/+123
|/ | | | | | | | | | | These are implemented somewhat differently from aptitudes why and why-not commands: They produce the actual solver trace for why a particular decision has been taken. For the why-not case, we need to explicitly discover our specified package, as if nothing else depends on it in our graph, it would otherwise always be undiscovered and conflicts not detected (see e.g. level-3 in the test).
* Merge branch 'main' into 'main'Julian Andres Klode2025-05-192-4/+4
|\ | | | | | | | | apt-pkg: fixed type comparison in 64bit systems using memsize cast See merge request apt-team/apt!477
| * apt-pkg: fixed type comparison in 64bit systems using memsize castHerman Semenov2025-05-192-4/+4
|/
* Merge branch 'include-exclude' into 'main'Julian Andres Klode2025-05-199-25/+159
|\ | | | | | | | | Add 'Include'/'Exclude' options to limit packages used from a repository See merge request apt-team/apt!439
| * Add 'Include'/'Exclude' options to limit packages used from a repositoryJulian Andres Klode2025-05-199-25/+159
|/ | | | | | | | | | | | | 'Include' allows limiting a repository to a allowlist of packages, 'Exclude' allows removing packages from a repository. Implementation wise this is not the nicest as it goes via the IndexTarget options, so we first parse our option value into a vector, then we turn the vector into a string, and then vectorize it again. That said, we support both "," and " " as separators due to the construction (we split by "," then we join using " "). Gbp-Dch: full
* Pass --check to msgfmt and fix broken format stringsJulian Andres Klode2025-05-064-5/+5
| | | | | | | | | | | | | | The check option discovers broken format string translations as well as other issues like broken headers, enable it. The Japanese translation was discovered to both use the wrong ordering for %.*s translations with different positions, and missing the dot, e.g. %1$*2$s should have been %2$.*1$s (the number after % matches the string and the number after .* the size)
* Merge branch 'policy-as-of' into 'main'Julian Andres Klode2025-05-062-4/+7
|\ | | | | | | | | test: Fix test-skipped regression in 3.0.1 See merge request apt-team/apt!476
| * test: Do not use host's sequoia configJulian Andres Klode2025-05-062-2/+6
| | | | | | | | Make the test suite independent of the host sequoia config.
| * test: Fix test-skipped regression in 3.0.1Julian Andres Klode2025-05-061-3/+2
|/ | | | | There was an accidental exit in the if causing the test to exit early, but the test suite still to pass.
* debian/NEWS: Document new requirements on trusted.gpg.dJulian Andres Klode2025-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | All files in apt directories must follow the run-parts requirements, the only allowed characters are: a-z, A-Z, 0-9, _, -, : and '.' if an extension is required, due to the use of the general GetFilesInDirectory() function. Other characters were previously supported as the directory was not enumerated by apt, but by apt-key, an 850ish line shell script using find "$TRUSTEDPARTS" -mindepth 1 -maxdepth 1 \( -name '*.gpg' -o -name '*.asc' \) which obviously does not share the same requirements. Document the difference in debian/NEWS, as it seems ill-advised to introduce a flag-carrying version of GetFilesInDirectory() for the sole purpose of a deprecated signing mechanism. Closes: #1104320
* Release 3.0.13.0.1Julian Andres Klode2025-04-255-6/+24
|
* Merge branch 'policy-as-of' into 'main'Julian Andres Klode2025-04-255-4/+80
|\ | | | | | | | | Update Sequoia crypto policy, implement year-ahead warning See merge request apt-team/apt!475
| * sqv: Warn about signatures that will be rejected by policy within a yearJulian Andres Klode2025-04-254-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | This implements a simple check where we first run `sqv` with `--policy-as-of` 1 year in the future. If the file is validly signed one year in the future, it is validly signed now. If the file is not validly signed 1 year in the future, we check if it is validly signed now, and otherwise print an error message. The --policy-as-of feature was added in sqv 1.3.0, hence we add a version requirement to the dependency.
| * sqv: Refactor execution of sqv into separate methodJulian Andres Klode2025-04-251-0/+8
| |
| * Update Sequoia crypto policyJulian Andres Klode2025-04-251-2/+16
|/ | | | | | | | | | | | | Move our cut-offs to February to align with Sequoia, and cut-off more: - 2024-02: DSA keys retroactively (align with GnuPG config) - 2026-02: SHA224 hashes - 2028-02: Brainpool keys (align closer with GnuPG backend) - 2030-02: RSA2048 keys These algorithms will not be valid starting on those cut-off dates. Gbp-Dch: full
* Merge branch 'french_manpage' into 'main'Julian Andres Klode2025-04-071-1/+0
|\ | | | | | | | | Remove boggus option in French manpage translation See merge request apt-team/apt!474
| * Remove boggus option in French manpage translationLaurent Bigonville2025-04-071-1/+0
|/
* Release 3.0.03.0.0Julian Andres Klode2025-04-045-6/+36
| | | | And so it begins.
* French program translation updatebubub2025-04-041-236/+202
| | | | | Closes: #1100708 Reviewed-By: Debian L10n French <debian-l10n-french@lists.debian.org>
* Remove unused variable in apt-privateJulian Andres Klode2025-04-041-1/+0
|
* German program translation updateHelge Kreutzmann2025-04-041-17/+11
| | | | Closes: #1100550
* Merge branch 'po-updates' into 'main'Julian Andres Klode2025-04-045-256/+233
|\ | | | | | | | | Translation updates See merge request apt-team/apt!473
| * Catalan program translation updateCarles Pina i Estany2025-04-041-42/+35
| |
| * Romanian program translation updateRemus-Gabriel Chelu2025-04-041-44/+37
| | | | | | | | Closes: #1101535
| * Brazilian Portuguese program translation updateRafael Fontenelle2025-04-041-121/+124
| | | | | | | | Closes: #1100964
| * Dutch program translation updateFrans Spiesschaert2025-04-041-31/+23
| | | | | | | | Closes: #1100807
| * Dutch manpages translation updateFrans Spiesschaert2025-04-041-18/+14
|/ | | | Closes: #1100801