summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.1.103.1.10Julian Andres Klode2025-10-2511-12/+363
|
* Implement architecture variantsJulian Andres Klode2025-10-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Architecture variants are children of an architecture that share the same ABI but are optimized for different ISA levels. They are available in Ubuntu 25.10 and newer, and not supported in Debian or other distributions. A deb built for a variant contains the Architecture-Variant field, and the Architecture field points to the baseline, for example: Architecture: amd64 Architecture-Variant: amd64v3 However, the apt-get indextargets command reports the variant in the Architecture: field, and most of the code in APT presents the variant as the architecture. There are two types of variants: 1. Standalone variants are recorded in the Architectures field of the Release file as if they were a real architecture: Architectures: amd64 amd64v3 Standalone architecture variants only fetch the standalone architecture variant's Packages file. To do this, this patch changes the code such that the variants indextargets "supplant" the base targets. This may have complicated outcomes on the apt-get indextargets command. 2. Other variants can only be identified by their files being recorded with hashes in the Release file. APT fetches both the base architecture's as well as the variant's Packages file. Variants are configured in the APT::Architecture-Variants list. Image builders may want to build specific variant images using APT::Architecture-Variants { "amd64v3"; } But this commit also implements an automatic discovery mechanism using the varianttable and /proc/cpuinfo. APT::Architecture-Variants "auto";
* Record varying defaults based on cli-version, rather than binaryJulian Andres Klode2025-10-252-0/+33
| | | | | | The --cli-version argument can be used to request a specific CLI version. The default CLI version is the APT version for apt(8) and 0 for the other apt-get tools.
* Release 3.1.93.1.9Julian Andres Klode2025-10-212-3/+3
|
* Dutch manpages translation updateFrans Spiesschaert2025-10-211-33/+44
| | | | Closes: #1115367
* ExecFork: Use close_range() if availableJulian Andres Klode2025-10-201-0/+1
| | | | | | | | | | | | | Use close_range() if we have it in preference to iterating over /proc/self/fd and falling back to closing all possible fds. This builds sets of ranges to close that take into account the APT::Keep-Fds vector, and a test case is provided to ensure correctness of the splitting logic. Preference is given to close_range() over /proc as in the optimal case, this results in a single system call!
* Release 3.1.83.1.8Julian Andres Klode2025-10-042-3/+3
|
* Release 3.1.73.1.7Julian Andres Klode2025-10-022-3/+3
|
* Release 3.1.63.1.6Julian Andres Klode2025-09-262-3/+3
|
* Release 3.1.53.1.5Julian Andres Klode2025-08-262-3/+3
|
* Portuguese manpages translation updateAmérico Monteiro2025-08-261-34/+44
| | | | Closes: #1111124
* doc: Remove <filename> inside <arg>Julian Andres Klode2025-08-261-1/+1
| | | | | xmllint 2.14 reports that filename cannot be used inside of arg, breaking the CI. Remove the filename element.
* Release 3.1.43.1.4Julian Andres Klode2025-08-112-3/+3
|
* Release 3.1.33.1.3Julian Andres Klode2025-06-242-3/+3
|
* Dutch manpages translation updateFrans Spiesschaert2025-06-241-37/+19
| | | | Closes: #1104313
* French manpages translation updatebubub2025-06-241-321/+223
| | | | Closes: #1103760
* Portuguese manpages translation updateAmérico Monteiro2025-06-241-112/+71
| | | | Closes: #1103640
* Release 3.1.23.1.2Julian Andres Klode2025-06-101-1/+1
|
* Release 3.1.13.1.1Julian Andres Klode2025-06-105-6/+6
|
* Revert "doc: Increase visibility of special signs' usage"Julian Andres Klode2025-06-103-9/+9
| | | | | | This reverts commit 66ec0dfad8ac1d4d8646a4734eb9353f3ebc0a91. This creates too much churn in the translation.
* doc: Increase visibility of special signs' usageDaniel Lublin2025-05-293-9/+9
| | | | | | Closes: #310975 Signed-off-by: Daniel Lublin <daniel@lublin.se>
* Release 3.1.03.1.0Julian Andres Klode2025-05-194-4/+4
|
* Update translation templates and merge translationsJulian Andres Klode2025-05-1910-78/+947
|
* 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>
* 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>
* dselect: Add https supportGuillem Jover2025-05-1912-1/+22
| | | | Recognize the method and update the documentation and prompts.
* Introduce apt why, apt why-notJulian Andres Klode2025-05-191-0/+11
| | | | | | | | | | | 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).
* Add 'Include'/'Exclude' options to limit packages used from a repositoryJulian Andres Klode2025-05-191-0/+9
| | | | | | | | | | | | | '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-061-1/+1
| | | | | | | | | | | | | | 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)
* Release 3.0.13.0.1Julian Andres Klode2025-04-252-3/+3
|
* Remove boggus option in French manpage translationLaurent Bigonville2025-04-071-1/+0
|
* Release 3.0.03.0.0Julian Andres Klode2025-04-042-3/+3
| | | | And so it begins.
* Dutch manpages translation updateFrans Spiesschaert2025-04-041-18/+14
| | | | Closes: #1100801
* Release 2.9.352.9.35Julian Andres Klode2025-03-272-3/+3
|
* Release 2.9.342.9.34Julian Andres Klode2025-03-2012-253/+692
|
* doc/sources.list.5.xml: snapshot infosChristopher Bock2025-03-141-17/+28
| | | | | * rephrase information about possible snapshot values * add snapshot example configurations
* cmdline/apt-get.cc: emit Signed-By field and support $(SIGNED_BY) in apt-get ↵Johannes Schauer Marin Rodrigues2025-03-141-3/+6
| | | | indextargets --format
* Release 2.9.332.9.33Julian Andres Klode2025-03-122-3/+3
|
* Release 2.9.32Julian Andres Klode2025-03-092-3/+3
|
* Print --solver 3.0 explanation if both internal and it failedJulian Andres Klode2025-03-091-0/+1
| | | | | | | | | | This can provide useful additional context. To avoid updating the whole test suite for it, introduce a new option `quiet::NoSolver3Explanation` and set it by default. All the other tests that assert output will already have matching tests for --solver 3.0 with the correct messages asserted, it makes no sense to duplicate them.
* Evaluate and fall back to the 3.0 solverJulian Andres Klode2025-03-091-0/+1
| | | | | | | | | | | | Always run the 3.0 solver after the internal solver. If the internal solver failed, and the 3.0 solver did not, use the 3.0 result. If 3.0 solver failed or produced a worse result than the internal solver, write an apport crash dump. We exclude situations which we now the solver can't handle, i.e. removals are forbidden and you requested removals, and stuff like that.
* Add doc/design/install.md: Installation designJulian Andres Klode2025-02-281-0/+199
| | | | | | This documents the user interface for apt install, currently only the solution screen as implemented in the 3.0 output format.
* Release 2.9.312.9.31Julian Andres Klode2025-02-282-3/+3
|
* Fix FTBFS in German documentation translationJulian Andres Klode2025-02-281-1/+1
| | | | Gbp-Dch: ignore
* de: Actually fix the typo "LIsten"Julian Andres Klode2025-02-281-1/+1
| | | | Gbp-Dch: ignore
* German manpage translation updateHelge Kreutzmann2025-02-281-327/+290
| | | | Closes: #1099118
* Release 2.9.302.9.30Julian Andres Klode2025-02-162-3/+3
|
* Release 2.9.292.9.29Julian Andres Klode2025-02-142-3/+3
|
* solver3: Implement a timeout, default 10sJulian Andres Klode2025-02-141-0/+1
| | | | | A SAT solver can run more or less forever, but that's not a good user experience.
* solver3: Defer version selection where possibleJulian Andres Klode2025-02-141-0/+1
| | | | | | | | | | | | | If a dependency can be satisfied by all versions of a package, add the package to the clause instead of the version object. This works only if there are no providers for the package: Providers are quite hard to enumerate over and make sure that all versions of a package satisfy the provider dependency. Implement arbitrary selection between packages and versions for the CompareProviders class: We pick the best version for each package and then pit them against each other.