## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Richard Kuhnt
@r15ch13
@nickbudi most files in %appdata% are configuration stuff, we tend to not mess with the users settings :)
Nick Budidharma
@nickbudi

👍

with aria2 installed are manifests with magnet links possible?

Richard Kuhnt
@r15ch13
@nickbudi no magnet links are not supported
Mathias Hermansson
@se35710
For those having problems with scoop-java, just remove and add the bucket again. See: se35710/scoop-java#16
Chawye Hsu
@chawyehsu

A small idea occurred to me, then I created this several logos proposal for scoop. Just for fun, I'm not a graphic designer. 😄
xeijin
@xeijin
Is there an easy way to get scoop to only download/cache files, but not proceed with the installation?
I want to take the cache to a computer without internet access and use it to perform an upgrade offline
Ideally I want it to cache any dependencies too, but not a deal-breaker
Richard Kuhnt
@r15ch13
@xeijin no, currently there is no normal way to cache files. But you could utilize the checkver.ps1 as a workaround.
run .\bin\checkver.ps1 -f <app> from ~\scoop\apps\scoop\current or ~\scoop\bucket\<bucket>to force an manifest update for this app. If it actually downloads a new version, you might want to reset the scoop installation afterwards with git reset --hard. Or clone the main or bucket repo to and execute it from there, so you don't have to mess up you installation :D
Mathias Hermansson
@se35710
@r15ch13 What would be the best way to fix lukesampson/scoop#2591 To use $PSVersionTable.PSVersion? Tres Finocchiaro @tresf @se35710 did you already try -Name parameter? If you use the -Name parameter, Get-ChildItem returns the object names as strings. Tres Finocchiaro @tresf Alternatively, you should be able to do |Select Name on the object that's returned. xeijin @xeijin @r15ch13 thanks that is helpful extract_dir doesn't seem to be updating to the new version (3.6.0 -> 3.6.1) even though I've specified the $version place holder in the autoupdate.extract_direlement -- anyone know what I'm doing wrong here?
xeijin
@xeijin
OK nevermind, just realised the original extract_dir needs to be within the respective architecture elements, rather than the root level. See lukesampson/scoop-extras#1233
xeijin
@xeijin
Does anyone know if there's a way to get the license info for an app, via the command line?
Richard Kuhnt
@r15ch13
@xeijin with scoop? scoop info <app>
xeijin
@xeijin
D’oh, thank you @r15ch13 :)
Chawye Hsu
@chawyehsu
Just for fun, Scoop has passed Chocolatey by 300+ stars. https://h404bi.github.io/has-scoop-passed-chocolatey-yet/
Richard Kuhnt
@r15ch13
@h404bi lul :D
nice
Chawye Hsu
@chawyehsu
How can I join in the scoopinstaller organization?
Danielle McLean
@00dani
Hi! Is it possible to configure Scoop so that it doesn't actually change my environment variables, just tell me what the changes would be? I manage my PATH manually (using Rapid Environment Editor) and it's filled with variable expansions, which get mussed up when Scoop updates the PATH itself. In fairness, Scoop is a lot better about this than Chocolatey, but I'd still prefer more control if possible. :o
Jakub Čábera
@Ash258
You only need to append path with ..\Scoop\shims and set $ and set SCOOP to where you want to install scoop (for example C:\Scoop) You can found default on wiki Clint Priest @cpriest On shims, I've found a better way to deal with them (prior to using scoop) that works really well. Add .LNK to the PATHEXT environment variable, then just use shortcut links (which let you specify working directory, path to executable and command parameters if desired). If you have a autoruns.lnk, for example, typing autoruns at the command line will resolve to the .lnk and launch it per that windows shortcut. Michael Murphy @mjmurphy I had some error messages installing docker and trying to get it to work - is this the best place to ask? Or should I open a ticket on Github? Creating shim for 'innounp'. 'innounp' (0.47) was installed successfully! Installing 'docker' (18.06.1-ce) [64bit] DockerToolbox-18.06.1-ce.exe (214.7 MB) [=====================================================================] 100% Checking hash of DockerToolbox-18.06.1-ce.exe ... ok. Unpacking innosetup... Move-Item : Access to the path 'C:\Users\username\scoop\apps\docker\18.06.1-ce\_scoop_unpack\{app}\installers' is denied. At C:\Users\username\scoop\apps\scoop\current\lib\install.ps1:772 char:51 + ... ildItem "$dir\_scoop_unpack\{app}" -r | Move-Item -dest "$dir" -force + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\Users\murphm...app}\installers:DirectoryInfo) [Move-Item], IOException + FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand Move-Item : Access to the path 'C:\Users\username\scoop\apps\docker\18.06.1-ce\_scoop_unpack\{app}\installers\virtualbox' is denied. At C:\Users\username\scoop\apps\scoop\current\lib\install.ps1:772 char:51 + ... ildItem "$dir\_scoop_unpack\{app}" -r | Move-Item -dest "$dir" -force + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\Users\murphm...lers\virtualbox:DirectoryInfo) [Move-Item], IOException + FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand done. Linking ~\scoop\apps\docker\current => ~\scoop\apps\docker\18.06.1-ce Creating shim for 'docker'. Creating shim for 'docker-compose'. Creating shim for 'docker-machine'. Creating shortcut for Kitematic (Kitematic.exe) Running post-install script... rm : Cannot find path 'C:\Users\username\scoop\apps\docker\current\installers' because it does not exist. At line:1 char:1 + rm -r "$dir\installers"
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (C:\Users\murphm...rent\installers:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

'docker' (18.06.1-ce) was installed successfully!
I am trying to install docker on a machine with no privaleges
Michael Murphy
@mjmurphy
it does seem to be installed, but trying to run a basic docker command like docker pull hello-world gives an error
docker pull hello-world
Using default tag: latest
Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.). Using system default: https://index.docker.io/v1/
error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/images/create?fromImage=hello-world&tag=latest: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
Simon Hartcher
@deevus
Docker on Windows uses a VM so you will probably have issues without administrator access
@mjmurphy
However you have a few issues in the install so I would create an issue on gh
I'm not certain but it's likely that the docker installation through scoop is just the client and not the services required to run a host
Michael Murphy
@mjmurphy
thanks for the feedback @deevus I will open a ticket on Github about the install issues.
Maybe I was being too optimistic about getting docker to run without admin access!
xeijin
@xeijin
Hello - I'm trying to copy a scoop install & apps made on one computer to another (the other computer is a work machine which blocks downloads, so can't use scoop in the 'regular' way)
the 'SCOOP' variable on the original machine was set to C:/scoop, on the new machine it's also set to C:/scoop
I've added C:/scoop/shims to my PATH variable, so I can use 'scoop' from the commandline
But when I try a scoop cleanup <app> it begins deleting the app (why?!) when I do a scoop reset it tries to link the 'current' folder of the app and gives me an error: Error: version 'current' is not allowed!
Anyone know what I need to do to simply copy an existing installation from one machine to another? Am I missing some key file somewhere?
Niels Bo Andersen
@niboan
@xeijin, you probably copied the junction folders (e.g. 'current' and persisted directories) as folders. XCOPY does that. It's said that FastCopy does the trick (haven't tried it)
Pieter De Decker
@pieterdd
How safe is scoop? I assume that all of the packages are maintained by volunteers. Could someone create a malicious version of git and get it installed onto my machine through scoop's update mechanism?
Richard Kuhnt
@r15ch13
@pieterdd if the Git maintainers would publish a malicious build it would get updated via the update mechanism of scoop automatically (nothing that we can do about this). The code for the update service can be found here https://github.com/r15ch13/Excavator
It runs on my personal root server via docker (maybe it would be better to run it from a cloud service).
Pieter De Decker
@pieterdd
@r15ch13 How many maintainers are there? Would one rogue maintainer be enough to distribute malware or are code reviews by at least one other maintainer enforced through GitHub's pull request system?
Richard Kuhnt
@r15ch13
@pieterdd 5-6 (can't see the users list, only @lukesampson has these privileges). Currently there are no enforced code reviews on the master branch. So one maintainer is able distribute malware, yes. From the user list of https://github.com/scoopinstaller I can see that some of those maintainers don't have two-factor auth active also. Hm, this should be addressed.
Pieter De Decker
@pieterdd
@r15ch13 Okay, good to know. I agree that mandatory two-factor would help make Scoop safer. While we're on this topic, have you guys ever considered adding an option to scoop install letting people view the JSON file before deciding if they want to proceed with the installation? That might be a simple way to give end users more power to see what they install.