Skip to content

[Bug]: DDU v18.0.7.6 Update fails with error 16 #13160

@RaphaelTarita

Description

@RaphaelTarita

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

ddu

Expected/Current Behaviour

Currently, when trying to update DDU from 18.0.7.5 to 18.0.7.6, the following error occurs:

Updating 'ddu' (18.0.7.5 -> 18.0.7.6)
Downloading new version
%5BGuru3D.com%5D-DDU.zip (1,0 MB) [===========================================================================] 100%
Checking hash of %5BGuru3D.com%5D-DDU.zip ... ok.
Uninstalling 'ddu' (18.0.7.5)
Installing 'ddu' (18.0.7.6) [64bit] from 'extras' bucket
Loading %5BGuru3D.com%5D-DDU.zip from cache
Extracting %5BGuru3D.com%5D-DDU.zip ... done.
Running pre_install script...
Could not find 'DDU v18.0.7.6'! (error 16)
At D:\scoop\apps\scoop\current\lib\core.ps1:855 char:9
+         throw "Could not find '$(fname $from)'! (error $($proc.ExitCo ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Could not find ....6'! (error 16):String) [], RuntimeException
    + FullyQualifiedErrorId : Could not find 'DDU v18.0.7.6'! (error 16)

I'd expect that the update would just work without an error, I don't know where this error is coming from.

The same error occurs if ddu is freshly installed via scoop install ddu (I tested this by first running scoop uninstall ddu --purge)

Steps to Reproduce

  • if ddu <=18.0.7.5 is already installed: scoop update ddu or scoop update *
  • if not: scoop install ddu

Possible Solution

I don't know if there's any relation to the bug but the name of the zip (with the urlencoded characters) seems kinda weird to me.. maybe the spaces in DDU v18.0.7.6 is what makes it problematic?

Scoop and Buckets Version

Current Scoop version:
105e4161 (HEAD -> master, tag: v0.4.0, origin/master, origin/HEAD) chore(release): Bump to version 0.4.0 (#5424)

'main' bucket:
81012f48d (HEAD -> master, origin/master, origin/HEAD) uv: Update to version 0.1.36

'extras' bucket:
38a500cde (HEAD -> master, origin/master, origin/HEAD) linqpad@8.2.4: Fix hash (Closes #13159)

'java' bucket:
8e1cb5ea (HEAD -> master, origin/master, origin/HEAD) temurin11-jre: Update to version 11.0.23-9

'games' bucket:
01128f584 (HEAD -> master, origin/master, origin/HEAD) pcsx2-dev: Update to version 1.7.5733

'spotify' bucket:
438a22d (HEAD -> master, origin/master, origin/HEAD) spicetify-cli: Update to version 2.36.6

Scoop Config

alias         : @{deepclean=scoop-deepclean}
last_update   : 2024-04-23T10:07:49.8454842+02:00
aria2-enabled : False
use_lessmsi   : True
cat_style     : full
scoop_branch  : master
scoop_repo    : https://github.com/lukesampson/scoop

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions