summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.7.72.7.7Julian Andres Klode2023-11-225-6/+35
|
* Fix the test suite by adding new "m" flags to debug outputJulian Andres Klode2023-11-225-25/+25
| | | | | | | | | | | | | | | | | In "Restore ?garbage by calling MarkAndSweep before parsing" I made install code run MarkAndSweep before parsing arguments such that the "?garbage" pattern works correctly. This caused test suite breakage because packages now ended up with marked flags in the debug output. Hence add "m" to the output we assert where necessary. In a nicer world we might want to just do MarkAndSweep if we actually have a ?garbage pattern to evaluate but that is a bit unpredictable in terms of performance expectations and because a "read-only" construct modifies the depcache, so let's go with the more expected option for now Regression-of: b6f362e8013b03efce54e7381e0e22fac1fa1539
* Merge branch 'fix-time-unit-comment' into 'main'Julian Andres Klode2023-11-201-1/+1
|\ | | | | | | | | Fix incorrect time unit comment for PulseInterval See merge request apt-team/apt!304
| * Fix incorrect time unit comment for PulseIntervalsid2023-07-271-1/+1
| |
* | 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
| | |
* | | Restore ?garbage by calling MarkAndSweep before parsingJulian Andres Klode2023-11-202-0/+25
| | | | | | | | | | | | | | | | | | This ensures that things work correctly. LP: #1995790
* | | Use different variable name in GTest source path detectionDavid Kalnischkies2023-11-181-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used GTEST_ROOT, which becomes an issue with 3.27 as that variable would influence find_package behaviour by providing PREFIXES – introduced with potentially mixed-cased name in 3.12. CMake Warning (dev) at test/libapt/CMakeLists.txt:8 (find_package): Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT variables. Run "cmake --help-policy CMP0144" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMake variable GTEST_ROOT is set to: /usr/src/googletest/googletest For compatibility, find_package is ignoring the variable, but code in a .cmake module might still use it. As using this new feature isn't what we wanted at all, we just use a different variable name to avoid the warning and potential future problems if we would keep using this name.
* | | Raise cmake_minimum_required to 3.13 to avoid warningsDavid Kalnischkies2023-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. Picking 3.13 here is a semi-random choice to avoid raising the requirement too much needlessly while also hopefully avoiding needing to raise it soon again based on the referenced mail. While we are at it, lets also fix the other spewed warning: CMake Warning (dev) at CMakeLists.txt:5 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. References: https://lists.debian.org/msgid-search/20230617162957.6pklb6632zf4nijc@mail.gaussglocke.de
* | | Dutch program translation updateFrans Spiesschaert2023-11-181-5/+6
| | | | | | | | | | | | Closes: #1055178
* | | Bump Priority to required to match Debian archiveJulian Andres Klode2023-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This unbreaks mmdebstrap scenarios if you mirror Debian or use a distro where apt did not get overridden to required. Reported-By: josch on IRC, following discovery by helmut Gbp-Dch: full
* | | s/AlreadDownloaded/AlreadyDownloaded/ in doc/progress-reporting.mdJulian Andres Klode2023-10-111-1/+1
| | | | | | | | | | | | Thanks: jwilk for suggestion
* | | Revert "Do not fail on systems running in FIPSmode."Julian Andres Klode2023-10-042-4/+1
| | | | | | | | | | | | This reverts commit 668451def296afeb0c358a7d80ff39dc546defab.
* | | Stop calculating Description-md5 if missingJulian Andres Klode2023-10-041-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | This avoids the rabbit hole of md5 on FIPS systems, and repositories have moved to including the value as well. Also stop validating the field, this can be an arbitrary string as far as we are concerned.
* | | Release 2.7.62.7.6Julian Andres Klode2023-09-2049-500/+598
| | | | | | | | | | | | Translation template reordering carnage :D
* | | Merge branch 'usrmerge-warning' into 'main'Julian Andres Klode2023-09-202-18/+33
|\ \ \ | | | | | | | | | | | | | | | | Downgrade unmerged-usr from error to two warnings See merge request apt-team/apt!307
| * | | Downgrade unmerged-usr from error to two warningsJulian Andres Klode2023-09-202-18/+33
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One warning will be issued before the Y/n prompt, the other will be issued at the end after package installs have been attempted or if there were other failures, such that the last line you see is warnings about unmerged-usr I do not anticipate this to be the final version either, but there we go. Closes: #1052058
* | | Portuguese manpages translation updateAmérico Monteiro2023-09-171-88/+77
| | | | | | | | | | | | Closes: #1051731
* | | Release 2.7.52.7.5Julian Andres Klode2023-09-163-2/+8
| | |
* | | 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-1648-49/+516
| | |
* | | updated German translationHelge Kreutzmann2023-09-161-4/+15
| | | | | | | | | | | | Closes: #1049427
* | | Dutch documentation translation updateFrans Spiesschaert2023-09-161-66/+54
| | | | | | | | | | | | Closes: #1051723
* | | Dutch translation updateFrans Spiesschaert2023-09-161-3/+3
| | | | | | | | | | | | Closes: #1051720
* | | Remove unnecessary explicit st_dev check for merged-usrJulian Andres Klode2023-09-161-2/+0
| | |
* | | Drop alternatives to the gpgv dependencyJulian Andres Klode2023-09-161-1/+1
| | | | | | | | | | | | Closes: #1051642
* | | Only accept installs of usrmerge on unmerged-usr systemsJulian Andres Klode2023-09-165-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of bookworm, merged-usr is mandatory, and people got caught in the crosshairs of the dpkg fsys-unmessusr debacle and inadvertently reverted back to an unmerged configuration and continue to remain on an unsupported system unknowingly. Help them by erroring out when they are installing packages on /, they are not in a chroot, and a usrmerge package is available.
* | | methods: store: Use APT_BUFFER_SIZE (64k) instead of 4k buffersJulian Andres Klode2023-08-301-1/+1
|/ /
* | CI: Do not require UID 1000 for our test userJulian Andres Klode2023-08-021-1/+1
| | | | | | | | | | It seems the ubuntu:lunar image has a user with UID 1000 already which was not the case in previous versions.
* | Release 2.7.32.7.3Julian Andres Klode2023-08-028-9/+33
| |
* | Merge branch 'same-version-sha256' into 'main'Julian Andres Klode2023-08-025-5/+59
|\ \ | |/ |/| | | | | Try to compare SHA256 to determine same version See merge request apt-team/apt!305
| * Compare SHA256 to check if versions are really the sameJulian Andres Klode2023-08-025-5/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | If we know both SHA256, and they're different, the packages are. This approach stores the SHA256 only at runtime, avoiding the overhead of storing it on-disk, because when we update repositories we update all of them anyhow. Note that pkgCacheGenerator is hidden, so we can just modify its ABI, hooray. Closes: #931175 LP: #2029268
* | Add apt-patterns(7) to apt{,-cache,-get} SEE ALSO sectionsDavid Kalnischkies2023-07-2615-186/+229
| | | | | | | | | | | | | | While we are at it fix the mislabeling as (5) in some places and unfuzzy the translations. Reported-By: Enrico Zini on IRC
* | Romanian program translation updateRemus-Gabriel Chelu2023-07-261-664/+917
| | | | | | | | Closes: #1040644
* | Turkish program translation updateMert Dirik2023-07-261-82/+70
| | | | | | | | | | | | | | | | @DonKult: Dropped the explicit %-position change from the referenced bug through as that will require code (and string) changes to work correctly. References: https://bugs.debian.org/1034378
* | Dutch program translation updateFrans Spiesschaert2023-07-261-6/+4
| | | | | | | | Closes: #1033909
* | Dutch manpages translation updateFrans Spiesschaert2023-07-261-30/+18
| | | | | | | | Closes: #1033904
* | Merge branch 'man-apt-list-apt-patterns' into 'main'Julian Andres Klode2023-07-251-4/+4
|\ \ | |/ |/| | | | | Add "apt-patterns" reference to "apt list" description in apt(8) See merge request apt-team/apt!303
| * 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-1256-65/+345
|
* Merge branch 'pu/snapshot-fixes' into 'main'Julian Andres Klode2023-07-121-1/+3
|\ | | | | | | | | Fix snapshot crashes See merge request apt-team/apt!301
| * Fix snapshot crashesJulian Andres Klode2023-07-121-1/+3
|/ | | | | We did not handle multiple components properly, add a contrib component to the test case.
* Merge branch 'main' into 'main'Julian Andres Klode2023-07-112-1/+4
|\ | | | | | | | | Do not fail on systems running in FIPSmode. See merge request apt-team/apt!295
| * Do not fail on systems running in FIPSmode.A. Maitland Bottoms2023-05-292-1/+4
| | | | | | | | | | Initialize using gcrypt's GCRYCTL_NO_FIPS_MODE, available since gcrypt version 1.10.0, otherwise apt aborts on FIPS enabled systems.
* | Merge branch 'pu/ubuntu-bug-2025462' into 'main'Julian Andres Klode2023-07-115-14/+201
|\ \ | | | | | | | | | | | | dist-upgrade: Revert phased updates using keeps only See merge request apt-team/apt!299
| * | Do not mark updates for install that are still phasingJulian Andres Klode2023-07-072-4/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where phased updates gain new dependencies and cause them to be installed despite themselves not being installed. In the cause of investigation, it turned out that we also need to evaluate the candidate version at those early stage rather than the install version (which is only valid *after* MarkInstall). This does not fully resolve the problem: If an update pulls in a phased update, depends are still being installed. Resolving this while ensuring that phased updates cannot uninstall packages requires us to do a minimization of changes by trying to keep back each new install removal and then seeing if any dependency is being broken by it. This is more complex and will happen later.
| * | dist-upgrade: Revert phased updates using keeps onlyJulian Andres Klode2023-07-054-10/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the bug, mutter was kept back due to phasing and the new gnome-shell depended on that, and was therefore kept back as well, however, gnome-shell-common was not broken, and apt decided to continue upgrading it by removing gnome-shell and the ubuntu desktop meta packages. This is potentially a regression of LP#1990586 where we added keep back calls to the start of the dist-upgrade to ensure that we do not mark stuff for upgrade in the first place that depends on phasing updates, however it was generally allowed by the resolver to also do those removals. To fix this, we need to resolve the update normally and then use ResolveByKeepInternal to keep back any changes broken by held back packages. However, doing so breaks test-bug-591882-conkeror because ResolveByKeep keeps back packages for broken Recommends as well, which is not something we generally want to do in a dist-upgrade after we already decided to upgrade it. To circumvent that issue, extend the pkgProblemResolver to allow a package to be policy broken, and mark all packages that already were already going to be policy broken to be allowed to be that, such that we don't try to undo their installs. LP: #2025462
* | | Merge branch 'pu/missing-signed-by' into 'main'Julian Andres Klode2023-07-117-2/+47
|\ \ \ | |/ / |/| | | | | | | | 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-277-2/+47
| |/ | | | | | | | | | | | | 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
|/