summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.7.132.7.13Julian Andres Klode2024-02-282-3/+3
|
* Merge branch 'gpgv-improvements' into 'main'Julian Andres Klode2024-02-281-0/+1
|\ | | | | | | | | Assert >=2048-bit RSA keys, Ed25519, Ed448, and some improvements to diagnostic reporting See merge request apt-team/apt!322
| * Implement gpgv --assert-pubkey-algo=>=rsa2048,ed25519,ed448Julian Andres Klode2024-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The assertion can be overriden using apt::key::assert-pubkey-algo, the default is the most opinionated one. This will inform the user during apt-cdrom add as we do not pass --quiet to user, so adjust test case. Add a simple test case for it to test-method-gpgv. LP: #2055193
* | Show correct location of configure-index in man pageWesley Schwengle2024-02-201-1/+1
|/ | | | | | | | The man page uses examples/configure-index.gz for the configure-index file, but this isn't a .gz file. Remove the .gz so users can find the correct file. Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
* Release 2.7.122.7.12Julian Andres Klode2024-02-2015-28/+636
| | | | | I also unfuzzied the translation strings for the 23.10->24.04 apt-key deprecation change.
* Bump Ubuntu apt-key deprecation notice to 24.04Julian Andres Klode2024-02-201-1/+1
| | | | | While it was initially on the road map for 24.04 it got replaced with the disable 1024R keys feature.
* Merge branch 'main' into 'main'Julian Andres Klode2024-02-201-1/+2
|\ | | | | | | | | apt.8: summarise remaining verbs (Closes: #827785) See merge request apt-team/apt!315
| * apt.8: summarise remaining verbs (Closes: #827785)наб2023-12-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following were undocumented // package stuff {"auto-remove", &DoInstall, nullptr}, {"autopurge",&DoInstall, nullptr}, // system wide stuff // misc {"moo", &DoMoo, nullptr}, // for compat with muscle memory {"dist-upgrade", &DoDistUpgrade, nullptr}, {"showsrc",&ShowSrcPackage, nullptr}, {"depends",&Depends, nullptr}, {"rdepends",&RDepends, nullptr}, {"policy",&Policy, nullptr}, {"build-dep", &DoBuildDep,nullptr}, {"clean", &DoClean, nullptr}, {"distclean", &DoDistClean, nullptr}, {"dist-clean", &DoDistClean, nullptr}, {"autoclean", &DoAutoClean, nullptr}, {"auto-clean", &DoAutoClean, nullptr}, {"source", &DoSource, nullptr}, {"download", &DoDownload, nullptr}, {"changelog", &DoChangelog, nullptr}, {"info", &ShowPackage, nullptr}, And there's good reason for some of it, but I unironically didn't know where apt changelog lived. It's unsearchable. So the following are now simple links with no paragraphs: // query // package stuff // system wide stuff // misc // for compat with muscle memory {"showsrc",&ShowSrcPackage, nullptr}, {"depends",&Depends, nullptr}, {"rdepends",&RDepends, nullptr}, {"policy",&Policy, nullptr}, {"build-dep", &DoBuildDep,nullptr}, {"clean", &DoClean, nullptr}, {"distclean", &DoDistClean, nullptr}, {"autoclean", &DoAutoClean, nullptr}, {"source", &DoSource, nullptr}, {"download", &DoDownload, nullptr}, {"changelog", &DoChangelog, nullptr},
* | Merge branch 'distclean-doc' into 'main'Julian Andres Klode2024-02-201-1/+8
|\ \ | | | | | | | | | | | | Document 'dist-clean' See merge request apt-team/apt!317
| * | Document 'dist-clean'Gábor Németh2024-01-101-1/+8
| | | | | | | | | | | | cf. https://salsa.debian.org/apt-team/apt/-/merge_requests/312#note_453588
* | | Merge branch 'keep-kernel-size' into 'main'Julian Andres Klode2024-02-202-0/+56
|\ \ \ | | | | | | | | | | | | | | | | Configure the amount of kernels to keep See merge request apt-team/apt!324
| * | | Add documentation of autoremove to apt.conf (5)Wesley Schwengle2024-01-261-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds documentation for: APT::Protect-Kernels, APT::NeverAutoRemove::*, APT::VersionedKernelPackages. This is to inform users about the newly introduced NeverAutoRemove::KernelCount feature. Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
| * | | Configure the amount of kernels to keepWesley Schwengle2024-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the following configuration for keeping a configurable amount of kernels: APT::NeverAutoRemove::KernelCount The logic dictates that the running kernel and the latest kernel are not autoremoved. In case the running kernel is the latest kernel, the previous kernel is kept. Any count lower than two is therefore disregarded. This is in line with the previous behavior. The default is therefore similar to: APT::NeverAutoRemove::KernelCount 2; This will be ignored and we will still keep two: APT::NeverAutoRemove::KernelCount 1; This will keep 3 kernels (including the runnig, and most recent) APT::NeverAutoRemove::KernelCount 3; Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
* | | | Release 2.7.112.7.11Julian Andres Klode2024-02-1313-14/+257
| | | |
* | | | Add the ?security patternJulian Andres Klode2024-02-131-0/+3
| | | |
* | | | Add a new ?phasing patternJulian Andres Klode2024-02-131-0/+3
|/ / / | | | | | | | | | | | | This selects all packages that are being kept back due to phasing on your system.
* | | Remove erroneous -a flag from apt-get synopsis in manpageDavid Kalnischkies2024-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The -a flag exists for apt-cache (--all-versions) and -a=arch is actually an (also documented) option to set host architecture – as the apt-get manpage documents further below setting a host arch makes sense only for those commands that actually need one set like source and build-dep, so other commands keep refusing the option as unsupported as they should be. So this commit does indeed just remove a single character from documentation with no other practical effect. See: #1061148
* | | Release 2.7.102.7.10Julian Andres Klode2024-01-192-3/+3
| | |
* | | Release 2.7.92.7.9Julian Andres Klode2024-01-112-3/+3
|/ /
* | Release 2.7.82.7.8Julian Andres Klode2024-01-083-4/+4
| |
* | Revert "Merge branch 'distclean-doc-an-test' into 'main'"Julian Andres Klode2024-01-081-7/+1
| | | | | | | | | | This reverts commit 86e6eace1d50527b5a2396290acd1db819b13e26, reversing changes made to 6e43eef9ca8250eb561f2c9af2f4890d674f3911.
* | Test and document 'dist-clean'Gábor Németh2023-12-151-1/+7
|/
* Have Grp.FindPreferredPkg return very foreign pkgs as last resortDavid Kalnischkies2023-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Usually this method will return the package in the most preferred architecture (e.g. native) as that is usually what the user talks about and also information wise for our internal usage the most dense. Early on in parsing Packages files through it can happen that we encounter stanzas about packages in architectures we are not even configured to know about – we have to collect them anyhow as we might be requested to show info about them or they could be in the status file and we can't ignore stanzas in the status file… trouble is that this method used to not return anything if only such an architecture was present if we later discover other architectures which causes Provides and Conflicts which are added lazily on discovery of an architecture to not be added correctly. The result is like in the testcase that apt could be instructed to install a package without respecting its negative dependencies, which is bad even if its discovered by dpkg and refused. It does only happen with unknown architectures through which mostly happens if you are unlucky (amd64 users tend to be very lucky as that sorts early) and use flat-style repositories containing multiple architectures. Reported-By: Tianyu Chen (billchenchina) on IRC
* Release 2.7.7Julian Andres Klode2023-11-222-3/+3
|
* Merge branch 'Peutch-guest-main-patch-29453' into 'main'Julian Andres Klode2023-11-201-1/+1
|\ | | | | | | | | Update fr.po (add a missing dot) See merge request apt-team/apt!306
| * Update fr.po (add a missing dot)Patrice Duroux2023-08-051-1/+1
| |
* | s/AlreadDownloaded/AlreadyDownloaded/ in doc/progress-reporting.mdJulian Andres Klode2023-10-111-1/+1
| | | | | | | | Thanks: jwilk for suggestion
* | Release 2.7.62.7.6Julian Andres Klode2023-09-203-4/+4
| | | | | | | | Translation template reordering carnage :D
* | Portuguese manpages translation updateAmérico Monteiro2023-09-171-88/+77
| | | | | | | | Closes: #1051731
* | Release 2.7.52.7.5Julian Andres Klode2023-09-161-1/+1
| |
* | doc/po/nl.po: Fix spurious translation of docbook tagJulian Andres Klode2023-09-161-1/+1
| |
* | Release 2.7.42.7.4Julian Andres Klode2023-09-163-4/+4
| |
* | Dutch documentation translation updateFrans Spiesschaert2023-09-161-66/+54
|/ | | | Closes: #1051723
* Release 2.7.32.7.3Julian Andres Klode2023-08-025-6/+6
|
* Add apt-patterns(7) to apt{,-cache,-get} SEE ALSO sectionsDavid Kalnischkies2023-07-2614-185/+228
| | | | | | | While we are at it fix the mislabeling as (5) in some places and unfuzzy the translations. Reported-By: Enrico Zini on IRC
* Dutch manpages translation updateFrans Spiesschaert2023-07-261-30/+18
| | | | Closes: #1033904
* Add "apt-patterns" reference to "apt list" description in apt(8)Tianon Gravi2023-07-251-4/+4
|
* Release 2.7.22.7.2Julian Andres Klode2023-07-1210-19/+19
|
* Merge branch 'pu/missing-signed-by' into 'main'Julian Andres Klode2023-07-111-0/+1
|\ | | | | | | | | update: Add notice about missing Signed-By in deb822 sources See merge request apt-team/apt!298
| * update: Add notice about missing Signed-By in deb822 sourcesJulian Andres Klode2023-06-271-0/+1
| | | | | | | | | | | | | | We want to gently steer users towards having Signed-By for each source such that we can retire a shared keyring across sources which improves resilience against configuration issues and incompetent malicious actors.
* | doc: Bump distro versions for apt-key removalJulian Andres Klode2023-06-283-5/+5
|/
* Release 2.7.12.7.1Julian Andres Klode2023-05-242-3/+3
|
* Seed snapshot servers for well-known hostsJulian Andres Klode2023-05-241-0/+1
| | | | | This will attempt to fallback to a per-server setting if we could not determine a value from the release file.
* Release 2.7.02.7.0Julian Andres Klode2023-05-0212-13/+1202
|
* Initial support for snapshot servers, apt --snapshot optionJulian Andres Klode2023-05-024-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide snapshot support for offical Debian and Ubuntu archives. There are two ways to enable snapshots for sources: 1. Add Snapshot: yes to your sources file ([snapshot=yes]). This will allow you to specify a snapshot to use when updating or installing using the --snapshot,-S option. 2. Add Snapshot: ID to your sources files to request a specific snapshot for this source. Snapshots are discovered using Label and Origin fields in the Release file of the main source, hence you need to have updated the source at least once before you can use snapshots. The Release file may also declare a snapshots server to use, similar to Changelogs, it can contain a Snapshots field with the values: 1. `Snapshots: https://example.com/@SNAPSHOTID@` where `@SNAPSHOTID@` is a placeholder that is replaced with the requested snapshot id 2. `Snapshots: no` to disable snapshot support for this source. Requesting snapshots for this source will result in a failure to load the source. The implementation adds a SHADOWED option to deb source entries, and marks the main entry as SHADOWED when a snapshot has been requested, which will cause it to be updated, but not included in the generated cache. The concern here was that we need to keep generating the shadowed entries because the cleanup in `apt update` deletes any files not queued for download, so we gotta keep downloading the main source. This design is not entirely optimal, but avoids the pitfalls of having to reimplement list cleanup. Gaps: - Ubuntu Pro repositories and PPAs are not yet supported.
* Add apt install,upgrade,... -U,--update optionsJulian Andres Klode2023-05-022-1/+15
| | | | | This runs update before opening the cache and sources.list for installing/upgrading.
* Release 2.6.0, the "unhappy bookworm" release2.6.0Julian Andres Klode2023-03-065-6/+6
|
* Update ubuntu-codename to lunarJulian Andres Klode2023-02-271-1/+1
|
* Merge branch 'feature/non-free-firmware' into 'main'Julian Andres Klode2023-02-2716-449/+381
|\ | | | | | | | | Support transition to new non-free-firmware component See merge request apt-team/apt!282
| * Suggest using non-free-firmware in update for DebianDavid Kalnischkies2023-02-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In an ideal world everyone would read release notes, but if the last sources.list change is any indication a lot of people wont. This is even more a problem in so far as apt isn't producing errors for invalid repositories, but instead carries on as normal even through it will not be able to install upgrades for the moved packages. This commit implements two scenarios and prints a notice in those cases pointing to the release notes: a) User has 'non-free' but not 'non-free-firmware' b) User has a firmware package which isn't available from anywhere Both only happen if we are talking about a repository which identifies itself as one of Debian and is for a release codenamed bookworm (or sid). Note that as (usually) apt/oldstable is used to upgrade to the new stable release these suggestions only show for users after they have upgraded to bookworm on apt command line usage after that.