Skip to content

APT doesn't install particular version #930

@Gijsreyn

Description

@Gijsreyn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions