Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apt: add support for package version >= (#75002)
This adds the ability to specify a package version using >=. This will ensure the package is at the specified version or above. * If the package is not installed, the latest version will be installed. * If the package is installed and less than the specified version, it will be upgraded. * If the package is installed and greater than or equal to the specified version, it will be left alone. The version selection is handled by Apt itself, so things like the system policy, pinning, etc, are considered.
- Loading branch information
Showing
10 changed files
with
162 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
minor_changes: | ||
- apt - Add support for using ">=" in package version number matching. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
test/integration/targets/setup_deb_repo/files/package_specs/testing/foo-2.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Section: misc | ||
Priority: optional | ||
Standards-Version: 2.3.3 | ||
|
||
Package: foo | ||
Version: 2.0.0 | ||
Section: system | ||
Maintainer: John Doe <john@doe.com> | ||
Architecture: all | ||
Description: Dummy package |
10 changes: 10 additions & 0 deletions
10
test/integration/targets/setup_deb_repo/files/package_specs/testing/foo-2.0.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Section: misc | ||
Priority: optional | ||
Standards-Version: 2.3.3 | ||
|
||
Package: foo | ||
Version: 2.0.1 | ||
Section: system | ||
Maintainer: John Doe <john@doe.com> | ||
Architecture: all | ||
Description: Dummy package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters