summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.7.142.7.14Julian Andres Klode2024-03-2218-173/+340
|
* Add an artificial Conflicts: against libnettle8Steve Langasek2024-03-221-1/+2
| | | | | | to force upgrades in launchpad buildd chroots Gbp-Dch: full
* Revert "debrecords: Do not reparse if given same location"Julian Andres Klode2024-03-222-14/+3
| | | | This reverts commit 9bb953fddae0246a4dcedddb769d75d3521e1f2f.
* debrecords: Do not reparse if given same locationJulian Andres Klode2024-03-222-3/+14
| | | | | | | The TagFile parser will have already parsed further and can't go back so it needs to reopen the file if compressed. Closes: #1067440
* Merge branch '1065831-apt_upgrade_documentation' into 'main'Julian Andres Klode2024-03-223-5/+20
|\ | | | | | | | | Update documentation for apt-get upgrade with pkg arg See merge request apt-team/apt!334
| * Include Dutch translation for apt/apt-get upgrade documenation updateWesley Schwengle2024-03-121-0/+7
| | | | | | | | Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
| * Update documentation for apt upgrade with pkg argWesley Schwengle2024-03-121-2/+6
| | | | | | | | | | | | Closes: #1065831 Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
| * Update documentation for apt-get upgrade with pkg argWesley Schwengle2024-03-121-3/+7
| | | | | | | | | | | | Closes: #1065831 Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
* | Merge branch '1066856-doc_changes' into 'main'Julian Andres Klode2024-03-2213-59/+59
|\ \ | | | | | | | | | | | | Update URI in documentation See merge request apt-team/apt!335
| * | s#http://bugs.debian.org/src/#https://bugs.debian.org/src#Wesley Schwengle2024-03-1411-32/+32
| | | | | | | | | | | | Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
| * | Update VCG tool URI to new locationWesley Schwengle2024-03-1411-18/+18
| | | | | | | | | | | | Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
| * | Update Graphviz URL to https://graphviz.org/Wesley Schwengle2024-03-149-9/+9
| |/ | | | | | | Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
* | Merge branch 'tagfile-lookback' into 'main'Julian Andres Klode2024-03-221-0/+5
|\ \ | |/ |/| | | | | pkgTagFile::Jump: Use lookback buffer to rejump to current position See merge request apt-team/apt!336
| * pkgTagFile::Jump: Use lookback buffer to rejump to current positionJulian Andres Klode2024-03-211-0/+5
|/ | | | | | | | | If we get called twice with the same offset, our d->Start and d->iOffset will already point at the offset for the next section. But since we have the start of the last parsed section still in the buffer, just make sure to always go back to the start first. Closes: #1067440
* Dutch manpages translation updateFrans Spiesschaert2024-03-071-37/+38
| | | | Closes: #1065517
* Dutch program translation updateFrans Spiesschaert2024-03-071-7/+5
| | | | Closes: #1065513
* Parse unsupported != relation in dependenciesDavid Kalnischkies2024-03-071-1/+11
| | | | | | | | | | | | | | | | | libapt has a NotEquals relation for version constraints in dependencies, which is used internally e.g. in the MultiArch implementation, but this relation is not supported by Debian policy and as such can not be used in packages. Our parser here is extremely accepting, even unknown relations are parsed as Equals relation – but the version that must match will be a rather strange one… For our own testcases and e.g. on the command line with 'satisfy' it can make sense to have != available… and what strange things apt does parsing unsupported relations is not really much of a concern. Real packages will not have such relations anyhow as we are (mostly) just a consumer, not a producer of packages and index files.
* Remove non-existent Debug::BuildDeps from apt.conf(5)David Kalnischkies2024-03-0710-72/+35
| | | | | | | | | The option was removed in 2016 along with the code surrounding it, as the special build-deps specific solver was replaced with reusing our generic solver(s). As such, the normal debug options for these apply here nowadays instead of requiring another one to be set as well. References: a249b3e6fd798935a02b769149c9791a6fa6ef16
* Handle EINTR in the static FileFd::Write overloadDavid Kalnischkies2024-03-051-39/+32
| | | | | | | | | | While the code claims to handle it by just continuing the loop, the looping condition will actually cause a break from the loop failing the interrupted writing. The non-static FileFd::Write (and ::Read) deal with this by setting acceptable values for the loop condition as well – but for more simplicity and consistency we can instead remove this extra loop condition and perform the continue/break due to error handling more explicitly.
* Merge branch 'main' into 'main'Julian Andres Klode2024-03-035-7/+30
|\ | | | | | | | | Support building without gnutls See merge request apt-team/apt!333
| * Support building without gnutlsSteve Langasek2024-03-035-7/+30
|/ | | | | | | | | Once in a generation, it may be necessary to bootstrap apt in an environment where gnutls is not yet available. This makes gnutls support in apt optional. You may also want a configure flag to force gnutls to be required from outside the buildsystem (e.g. debian/rules).
* Release 2.7.132.7.13Julian Andres Klode2024-02-2848-107/+142
|
* prepare-release: Adjust for t64 suffixJulian Andres Klode2024-02-281-4/+5
|
* Merge branch 'gpgv-improvements' into 'main'Julian Andres Klode2024-02-287-18/+111
|\ | | | | | | | | Assert >=2048-bit RSA keys, Ed25519, Ed448, and some improvements to diagnostic reporting See merge request apt-team/apt!322
| * Temporarily downgrade key assertions to "soon worthless"Julian Andres Klode2024-02-282-12/+5
| | | | | | | | | | This will only issue warnings instead of errors while we continue cleaning up our repositories.
| * Rename 'weak digest algorithm' to 'weak algorithm'Julian Andres Klode2024-02-283-4/+4
| | | | | | | | This allows us to render public key algorithms as weak as well.
| * Implement gpgv --assert-pubkey-algo=>=rsa2048,ed25519,ed448Julian Andres Klode2024-02-286-5/+75
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * gpgv: Add a reason to worthless signersJulian Andres Klode2024-02-282-10/+31
| |
| * gpgv: Surface [GNUPG:] ERROR and [GNUPG:] WARNING status messagesJulian Andres Klode2024-02-281-0/+9
| |
* | Merge branch 'gitlab-fix' into 'main'Julian Andres Klode2024-02-282-2/+3
|\ \ | | | | | | | | | | | | Do not require versioned dpkg-dev on CI See merge request apt-team/apt!332
| * | Do not require versioned dpkg-dev on CIJulian Andres Klode2024-02-282-2/+3
|/ / | | | | | | | | Annotate the Build-Depends with a <!pkg.apt.ci> profile and use that in prepare-release when doing build-dep.
* | Merge tag '2.7.12+nmu1'Julian Andres Klode2024-02-285-6/+15
|\ \ | | | | | | | | | Import 2.7.12+nmu1
| * | Import Debian version 2.7.12+nmu12.7.12+nmu1Steve Langasek2024-02-285-6/+15
| |/ | | | | | | | | | | | | apt (2.7.12+nmu1) unstable; urgency=medium . * Non-maintainer upload. * Rename libraries for 64-bit time_t transition. Closes: #1061896
* | Merge branch 'configure-index-manpage' into 'main'Julian Andres Klode2024-02-231-1/+1
|\ \ | | | | | | | | | | | | Show correct location of configure-index in man page See merge request apt-team/apt!330
| * | 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>
* | Merge branch 'main' into 'main'Julian Andres Klode2024-02-231-1/+1
|\ \ | |/ |/| | | | | Fix spelling mistake in zh_CN.po See merge request apt-team/apt!331
| * Fix spelling mistake in zh_CN.poYuan Tao2024-02-241-1/+1
|/
* Release 2.7.122.7.12Julian Andres Klode2024-02-2017-31/+639
| | | | | I also unfuzzied the translation strings for the 23.10->24.04 apt-key deprecation change.
* Release 2.7.12Julian Andres Klode2024-02-201-0/+29
|
* Merge branch 'auto-snapshot' into 'main'Julian Andres Klode2024-02-202-9/+62
|\ | | | | | | | | Automatically enable snapshots where supported See merge request apt-team/apt!328
| * test-snapshot: Add test case for automatic snapshotJulian Andres Klode2024-02-201-6/+32
| | | | | | | | | | | | 1. repository not supporting snapshots, implicit Enabled 2. repository not supporting snapshots, Enabled: yes 3. URL-based lookup, implicit Enabled
| * test-snapshot: Fix a test caseJulian Andres Klode2024-02-201-1/+1
| | | | | | | | | | | | This was accidentally using testfailure instead of testfailureequal, hence trying to run the output string as a command :(
| * Delete SHADOWED metaIndex if we don't actually use snapshotsJulian Andres Klode2024-02-201-0/+7
| | | | | | | | | | | | | | | | This adds a bit more code but avoids any surprises later on by having both the shadowed and non-shadowed meta index in the list. Gbp-Dch: ignore
| * Automatically enable snapshots where supportedJulian Andres Klode2024-02-202-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert sources.list Snapshot option from opt-in to automatic. If we can find a snapshot server, Snapshot: yes is assumed if a snapshot is specified. On the implementation side, we record automatic snapshot enablement by adding a '?' suffix to the snapshot timestamp, if any is specified, this avoids introducing bugs into the code where we could end up with an empty snapshot. This has an annoying internal implementation caveat: Since we call GetDebReleaseIndexBy() with the SHADOWED option emplaced, if we do not find a server, we need to remove the SHADOWED option again, but we already have inserted a shadowed release index into the list. This will simply insert the release index a second time without the SHADOWED option which in preliminary testing works fine, but it would arguably be more correct to also remove the release index again if we have created it. FIXME: This only has one test case: A source with supported snapshot server is auto-discovered. We should also add a test case where we cannot detect a server and then don't fail in automatic mode.
* | Move systemd units to /usr/libJulian Andres Klode2024-02-201-2/+2
|/ | | | Closes: #1054137
* Merge branch 'modernize-stdlib' into 'main'Julian Andres Klode2024-02-20141-346/+342
|\ | | | | | | | | Modernize standard library includes See merge request apt-team/apt!329
| * Modernize standard library includesJulian Andres Klode2024-02-20141-346/+342
|/ | | | | | This was automated with sed and git-clang-format, and then I had to fix up the top of policy.cc by hand as git-clang-format accidentally indented it by two spaces.
* 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},