PowerShell / PowerShell/DSC

APT doesn't install particular version

Open
#930 2 comments 0 reactions 0 assignees View on GitHub

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
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.