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

no help of scoop reset * #4684

Closed
nibazshab opened this issue Jan 23, 2022 · 11 comments
Closed

no help of scoop reset * #4684

nibazshab opened this issue Jan 23, 2022 · 11 comments

Comments

@nibazshab
Copy link

After reinstalling the system, i do as #2894, i copy scoop to c:\user\x\, and i add the Path and SCOOP

but when i run scoop reset *,i got

PS C:\Users\zuokan> scoop reset *
ERROR '7zip ()' isn't installed
ERROR 'clash ()' isn't installed
ERROR 'git ()' isn't installed
ERROR 'neteasemusic ()' isn't installed
ERROR 'steam ()' isn't installed
ERROR 'vscode ()' isn't installed

run scoop list,got this

PS C:\Users\zuokan> scoop list
Installed apps:
  7zip  *failed*
  clash  *failed*
  git  *failed*
  neteasemusic  *failed*
  steam  *failed*
  vscode  *failed*

SCOOP: C:\User\zuokan\scoop

Windows version: 10

OS architecture: 64

PowerShell version: Major 5 ,Minor 1 ,Build 22000 ,Revision 282

{
    "lastupdate":  "2022-01-23T23:51:51.1889212+08:00",
    "SCOOP_REPO":  "https://gitee.com/glsnames/Scoop-Core",
    "SCOOP_BRANCH":  "master"
}
@nibazshab nibazshab added the bug label Jan 23, 2022
@rashil2000
Copy link
Member

rashil2000 commented Jan 23, 2022

The fork of Scoop that you are using has diverged extremely far from upstream. I'm afraid we can't help you.

image

@nibazshab nibazshab reopened this Jan 23, 2022
@nibazshab
Copy link
Author

nibazshab commented Jan 23, 2022

i think i have to reinstall all again .😢

@rashil2000
Copy link
Member

Is GitHub geoblocked in your location?

@nibazshab
Copy link
Author

Is GitHub geoblocked in your location?

yeah, sometimes i can user github all right , but often can't connect github

@rashil2000
Copy link
Member

rashil2000 commented Jan 23, 2022

You can use Gitee to import https://github.com/ScoopInstaller/Scoop repo too

Or use mirrors like fastgit etc.

@nibazshab
Copy link
Author

You can use Gitee to import https://github.com/ScoopInstaller/Scoop repo too

Or use mirrors like fastgit etc.

ok, thanks

@rashil2000
Copy link
Member

You can find more info here #4264

So I'll close this.

@fsdrw08
Copy link

fsdrw08 commented Jan 29, 2022

I meet the same problem, may I know what should be the right process to backup and restore scoop apps for now? I using the method in #2894 to backup and restore my scoop apps in the past

@HUMORCE
Copy link
Member

HUMORCE commented Jan 29, 2022

@fsdrw08

scoop export > installed_app.txt

then using this script to import: (used buckets need to be added manually)
https://gist.github.com/HUMORCE/1add93259ed5cbabd31e0c2bb28b4caf

this is NOT an official tool/script and it is incomplete.

@fsdrw08
Copy link

fsdrw08 commented Jan 29, 2022

@HUMORCE
Any method to backup and restore scoops apps offline? I used this script to backup and restore scoop apps offline before (remove all current folder and zip all files in scoop to a compressed file) https://github.com/fsdrw08/SysOps/blob/master/Scoop/Backup-Scoop.ps1
but now I got failed after I tried to and current folder back with scoop reset *

@HUMORCE
Copy link
Member

HUMORCE commented Jan 29, 2022

@fsdrw08
backup: (default path, if you have not set custom directory for them)

  • ~\.config\scoop\config.json
  • ~\scoop
  • C:\ProgramData\scoop // If you have not global apps, unnecessary
  • environment variables // if you have not set it for Scoop, unnecessary

restore:

  1. install scoop (OFFLINE: skip this step , add ~\scoop\shims(fullpath e.g. C:\Users\HUMORCE\scoop\shims) to $PATH)
  2. replace backups to same path
  3. scoop update
  4. scoop reset *

if you switch back to Scoop from Shovel, you need to rename all SCOOP\apps\APP\current\scoop-install.json and SCOOP\apps\APP\current\scoop-manifest.json to install.json/manifest.json, then scoop reset work again.

related: #4495 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants