Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected]: File doesn't exist error #12455

Closed
3 tasks done
naderi opened this issue Dec 11, 2023 · 2 comments
Closed
3 tasks done

[email protected]: File doesn't exist error #12455

naderi opened this issue Dec 11, 2023 · 2 comments
Labels

Comments

@naderi
Copy link
Contributor

naderi commented Dec 11, 2023

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

qalculate

Expected/Current Behaviour

Can't shim 'qalculate.exe': File doesn't exist.

Steps to Reproduce

PS> scoop update qalculate
Updating 'qalculate' (4.8.1 -> 4.9.0)
Downloading new version
Loading qalculate-4.9.0-x64.zip from cache.
Checking hash of qalculate-4.9.0-x64.zip ... ok.
Uninstalling 'qalculate' (4.8.1)
Removing shim 'qalc.shim'.
Removing shim 'qalc.exe'.
Unlinking C:\scoop\apps\qalculate\current
Installing 'qalculate' (4.9.0) [64bit] from naderi bucket
Loading qalculate-4.9.0-x64.zip from cache.
Extracting qalculate-4.9.0-x64.zip ... done.
Linking C:\scoop\apps\qalculate\current => C:\scoop\apps\qalculate\4.9.0
Creating shim for 'qalc'.
Creating shim for 'qalculate'.
Can't shim 'qalculate.exe': File doesn't exist.

Possible Solution

Replace all the “qalculate-gtk.exe” with “qalculate.exe” within manifest.

Scoop and Buckets Version

PS> scoop --version

'extras' bucket:
df79857e2 (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #12447)

Scoop Config

PS> scoop config

aria2-enabled         : True
alias                 :
last_update           : 10.12.2023 13:35:05
use_lessmsi           : True
aria2-warning-enabled : True
scoop_repo            : https://github.com/lukesampson/scoop
scoop_branch          : master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@naderi naderi added the bug label Dec 11, 2023
@aliesbelik
Copy link
Collaborator

Based on this line from log

Installing 'qalculate' (4.9.0) [64bit] from naderi bucket

you are trying to install not from extras bucket but from another source (looks like it's a personal bucket).

The issue may be caused by -gtk rename in v4.8.1 (fixed in #12067), and you seem to use stale copy of manifest without fix.

Please double check, and either fix manifest in your bucket or use one from extras bucket (which seems to be ok at the moment):

λ scoop install qalculate
Installing 'qalculate' (4.9.0) [64bit] from extras bucket
Starting download with aria2 ...
...
Download: (OK):download completed.
Checking hash of qalculate-4.9.0-x64.zip ... ok.
Extracting qalculate-4.9.0-x64.zip ... done.
Linking ~\scoop\apps\qalculate\current => ~\scoop\apps\qalculate\4.9.0
Creating shim for 'qalc'.
Creating shim for 'qalculate-gtk'.
Creating shim for 'qalculate-qt'.
Creating shortcut for Qalculate! (GTK) (qalculate-gtk.exe)
Creating shortcut for Qalculate! (Qt) (qalculate-qt.exe)
Persisting user
'qalculate' (4.9.0) was installed successfully!

@naderi
Copy link
Contributor Author

naderi commented Dec 12, 2023

@aliesbelik you are right, 'naderi' is my personal bucket.

@naderi naderi closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants