summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix syntax errors in French update hidden by dirty buildDavid Kalnischkies2025-02-091-2/+1
| | | | | | | | | | | | A clean build fails due to issues in the translated apt.ent, but I "only" tested a dirty build which didn't cause the file to be regenerated and hence an old valid file to be used. Ignored for the changelog as this is just a fixup of a previous commit that never shipped to anyone except CI. Regression-Of: 2d3f4654cd6a70c3fa1a40ec423a19b101ea5307 Git-Dch: Ignore
* French manpage translation updateJean-Pierre Giraud2025-02-091-851/+1144
| | | | | | | Note: Committer fixed `fr.po:1833: end-of-line within string` error reported by `msgfmt --check`. Closes: #1088326, #1050876
* Dutch manpages translation updateFrans Spiesschaert2025-02-091-536/+54
| | | | | | Note: Committer fixed two accidentally translated closing tags Closes: #1095411
* Release 2.9.282.9.28Julian Andres Klode2025-02-072-3/+3
|
* Release 2.9.272.9.27Julian Andres Klode2025-02-032-3/+3
|
* Release 2.9.262.9.26Julian Andres Klode2025-01-2812-3574/+3862
| | | | | This reflows the documentation po files now using the latest gettext.
* doc: Update codenames for trixie, plucky as stableJulian Andres Klode2025-01-281-5/+5
|
* doc: Deprecate legacy one-line-style format harderJulian Andres Klode2025-01-281-1/+5
| | | | | | Schedule the removal not before 2029. Gbp-Dch: full
* Release 2.9.252.9.25Julian Andres Klode2025-01-222-3/+3
|
* Release 2.9.242.9.24Julian Andres Klode2025-01-212-3/+3
|
* Release 2.9.232.9.23Julian Andres Klode2025-01-172-3/+3
|
* Release 2.9.222.9.22Julian Andres Klode2025-01-144-5/+5
|
* Change multi sources.list entry example from FTP to HTTPSDavid Kalnischkies2025-01-0511-136/+141
| | | | | | | | | As the FTP method is dropped it is probably better to use an example that actually works. We use https here as that requires no other text changes as there is a HTTPS session to reuse similar to FTP usage ~ that is the case for our HTTP, too, but the concept of a session isn't usually known there and servers who close the connection after every request are more common.
* Remove leftovers from ftp and rsh/ssh methods removalDavid Kalnischkies2025-01-0516-1448/+959
| | | | References: fd3684cdbc165ceaa635ed19fcbd231f509b0179
* Remove leftovers of the apt-key removalDavid Kalnischkies2025-01-0512-109/+45
| | | | References: a00fbbdb28cc31e78882301c2efe7218583ab4cb
* Drop SourceListWarnings::NonFreeFirmware messagesDavid Kalnischkies2025-01-051-1/+0
| | | | | | | | | They were implemented to help a tiny bit in notifying users even if they didn't read the Release notes (or didn't realize it would apply to them) that they likely have to change their sources.list entries, but that transition is now over for a while, so everyone who should have seen it has hopefully reacted to it and so all this code now does is waste space, time and idly waiting for false positives.
* Release 2.9.212.9.21Julian Andres Klode2025-01-013-4/+4
| | | | | | We updated po/ with libunistring 1.3 as before, but had no doc changes since the manual update with libunstring 1.2, so no churn there. Hooray.
* Run update-po4aJulian Andres Klode2025-01-0110-68/+200
| | | | With libunistring5 to avoid https://bugs.debian.org/1091871
* Unfuzzy documentation translationsJulian Andres Klode2025-01-0110-238/+238
| | | | | | | | | | | s#ftp://ftp.debian.org#ftp://example.org#g s#at ftp.debian.org#at ftp.example.org# s#debian-non-US/ stable/(non-US/)?#debian/ stable/#g s#debian-non-US/ unstable/(non-US/)?#debian/ unstable/#g s#stable/ Packages#stable/main Packages#g s#http://ftp.de.debian.org/debian,#http://deb.debian.org/debian,#g s#testing non-US#testing# s#ftp.debian.org#ftp.example.org#
* Merge branch 'pu/obsolete-ftp' into 'main'Julian Andres Klode2025-01-015-22/+19
|\ | | | | | | | | Cleanup non-US and ftp references from code and documentation See merge request apt-team/apt!231
| * Use deb.debian.org instead of ftp.debian.org URLsGuillem Jover2024-12-282-5/+5
| | | | | | | | | | | | | | While the ftp.debian.org URLs are still functional in Debian, they can confuse people as the protocol is mismatched. Using the deb.debian.org frontend should also generally give generally good performance regardless of the client location.
| * Remove obsolete references to ftp://ftp.debian.orgGuillem Jover2024-12-283-8/+8
| | | | | | | | | | | | | | | | Although Debian does not support FTP, this might still be used by other organizations, or local users, so replaced these instances with an example.org URL. Ref: https://lists.debian.org/debian-announce/2017/msg00001.html
| * Remove non-US leftovers in code and documentationGuillem Jover2024-12-282-9/+6
| | | | | | | | | | This has long been obsoleted, and there have been previous patches cleaning them up, but some left overs remained.
* | Merge tag '2.9.20'Julian Andres Klode2024-12-282-3/+3
|\ \ | |/ |/| | | apt Debian release 2.9.20
| * Release 2.9.202.9.20Julian Andres Klode2024-12-282-3/+3
| |
* | sources.list(5): Suggest VENDOR.sources for new systemsSimon McVittie2024-12-241-0/+10
|/ | | | | | | | | This matches the filename used by default in Ubuntu since Ubuntu 24.04, and in Debian cloud images and the Debian images provided by docker.io since Debian 12 (although not currently used in new installations via debian-installer). Signed-off-by: Simon McVittie <smcv@debian.org>
* Release 2.9.192.9.19Julian Andres Klode2024-12-232-3/+3
|
* Release 2.9.182.9.18Julian Andres Klode2024-12-192-3/+3
|
* Introduce automatic pager for read commandsJulian Andres Klode2024-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically show the output of `show`, `policy`, `list`, `search`, `showsrc` in a pager. The pager setup is inspired by git's pager setup. Notably, the pager is found using APT_PAGER and PAGER variables. We wait for the pager to be setup somewhat correctly by using a notify pipe to figure out whether execvp() was succesful - then the pipe will read EOF as the other end got closed by CLOEXEC during exec - or not, then the pipe will contain an errno. We set up the correct handlers for signals and exit to close the fds and wait for the pager. Notably inside the signal handler we cannot flush our streams, only close them, so there is some duplication. We call the InitOutputPager() function from inside the various Do...() functions rather than setting it up generally in InitOutput(). Doing so allows us to first render the progress without a pager, and then setup the pager for the content only which improves user experience. When we setup a pager we also take care to disable standard input, as we should not be prompting users while a pager is running (the pager will be reading from the tty directly). We do this by dup2-ing() a /dev/null over it; if we just close()d the fd, another open() might reuse the fd number and problems could occur.
* Release 2.9.172.9.17Julian Andres Klode2024-12-0713-3780/+2768
|
* Remove the apt-key manual page and add documentation to apt-secureJulian Andres Klode2024-12-075-271/+37
| | | | | | | We move the user configuration section to the top of the manual page as that is going to be what most are interested in and rewrite it to cover all the modern ways to configure keys in a succinct way.
* Release 2.9.162.9.16Julian Andres Klode2024-11-292-3/+3
|
* Release 2.9.152.9.15Julian Andres Klode2024-11-282-3/+3
|
* Release 2.9.142.9.14Julian Andres Klode2024-11-222-3/+3
| | | | | Oh well I accidentally committed everything from my work email today but I'm off today ...
* Merge branch 'fix/partialfilemirror' into 'main'Julian Andres Klode2024-11-221-19/+48
|\ | | | | | | | | Support uncompressed indexes from partial file:/ mirrors See merge request apt-team/apt!235
| * Allow AutoDetectProxy to work with more than just http(s)David Kalnischkies2024-11-221-6/+12
| | | | | | | | | | | | | | | | It is a bit unfair for third-party methods wrapping e.g. http to not have access to such tools, same for our old ftp and e.g. our tor even if in practice this isn't used much even for http. At least that is one less FIXME in the code.
| * Rewrite hidden config option checker for more patternsDavid Kalnischkies2024-11-221-13/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | The previous version allowed only foo::*::bar as a pattern, now you can have as many starred parts as you want allowing for a finer control instead of hardcoding specific common star-values or giving up with **. It also adds a new INVALID type for an option to mark options which should not be used, but are covered by a pattern which would normally allow it. Our tests are more or less the only users of this hidden feature making this change not very risky even through it has no dedicated test itself.
* | Avoid unnormalized paths for CMake install destinationsDavid Kalnischkies2024-11-222-4/+5
|/ | | | | | | | | | | CMake 3.31 is very noisy about our manpage (and to a lesser extend documentation in general) building as we used "//" and "/../" there. `cmake --help-policy CMP0177` documents the warning, so we could just decide on a value and deal with it, but given our usage is not really needed and rather trivial to change lets not pick a value and instead use a normalized path so we don't use different code paths in CMake depending on which CMake version we happen to be build with.
* Dutch manpages translation updateFrans Spiesschaert2024-11-221-23/+10
| | | | Closes: #1087461
* Release 2.9.132.9.13Julian Andres Klode2024-11-2012-13/+143
|
* Add a --comment option to record Comment: in historyJulian Andres Klode2024-11-182-0/+7
| | | | Suggested-by: mhoye on IRC
* Release 2.9.122.9.12Julian Andres Klode2024-11-182-3/+3
|
* http: use Retry-After HTTP header to optimize retriesFelix Moessbauer2024-11-181-0/+1
| | | | | | | | | | | | | | | | | | | Some mirrors like snapshot.debian.org apply strict http rate limits. While apt already has an exponential backoff mechanism implemented, this is not sufficient due to the following reasons: 1. all retries happen roughly at the same time 2. the retry-after information from the server is not used We fix this by improving the algorithm: First, if present, the timestamp or duration of the Retry-After header is added to the exponential backoff, optimizing for success-on-second-try. Second, a random delay is added (delay += [0, delay]) to distribute the retries to not immediately run into the limit again. To avoid super-long delays, this is capped by the configured maximum delay. This logic only becomes active if the option Acquire::Retries::HandleRetryAfter is enabled. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
* Release 2.9.112.9.11Julian Andres Klode2024-11-142-3/+3
|
* Merge branch 'json-config' into 'main'Julian Andres Klode2024-11-141-3/+29
|\ | | | | | | | | JSON: Pass options to hooks in hello message See merge request apt-team/apt!389
| * json: Add "options" array to JSON hooksJulian Andres Klode2024-11-121-3/+29
| | | | | | | | | | See the attached documentation. Note that defaults are missing, so using this is not particularly easy so far.