APT doesn't install particular version
Open
Nobody has claimed this yet.
Issue-Bug
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
When running the example in the PR reference documentation #929, the particular version is not installed.
Steps to reproduce
- Run:
dsc resource set --resource DSC.PackageManagement/Apt --input '{"packageName":"nginx", "version":"1.24.0-2ubuntu7"}'
Expected behavior
Version 1.24.0-2ubuntu7 is installed
Actual behavior
Version 1.24.0-2ubuntu7.3 is installed
Error details
Environment data
Name Value
---- -----
PSVersion 7.4.10
PSEdition Core
GitCommitId 7.4.10
OS Ubuntu 24.04.2 LTS
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
v3.1.0
Visuals
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dsc resource set command for DSC.PackageManagement/Apt on Ubuntu 24.04.2 LTS, then inspect the DSC.PackageManagement/Apt resource and its version-handling path. Done means requesting 1.24.0-2ubuntu7 installs and reports that exact version rather than 1.24.0-2ubuntu7.3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100