Closed chevdor closed 9 years ago
I installed the 'missing' dep manually:
cinst vcredist2013
It worked fine.
Then tried reinstalling the package and it did work fine.
So it seems to be an issue resolving/installing the dependencies. I have worked with dependencies before that and I never had an issue.
That's interesting. Was that package listed or unlisted?
The alethzero package is still pending for approval so unlisted. The dependency is listed all normal.
Closing for now. I think this may have been resolved through other work that has been done to enhance things. But in case it hasn't and you run into this again, please feel free to comment and we can reopen this for investigation.
I have the same issue with you-get
you-get not installed. An error occurred during installation:
Unable to resolve dependency 'python'.
here is the dependency statement in the nuspec
<dependencies>
<dependency id="python" />
<dependency id="ffmpeg" />
<dependency id="rtmpdump"/>
</dependencies>
here is the command I run:
choco install you-get -fvdy -s $pwd
here is the nuspec you-get.0.4.626.zip
when I manually installed all the dependency it works fine.
This is only a problem when I tested locally, when I pushed the package and run
choco install you-get -version 0.4.626 -fdvy
it works correctly
I am guessing the problem is caused by choco trying to find dependency package (python
ect.) in the $pwd
because you set the source to $pwd
(although the dependency has a tendency to not correctly install when not testing locally, but that is a separate issue, see this)
@chantisnake not an issue, more of a learning thing - note that when you specify a source, you are overriding ALL other sources to just what you specify.
choco install you-get -fvdy -s $pwd
<--- that means ONLY search for packages and dependencies in $pwd
. See https://chocolatey.org/docs/create-packages#testing-your-package for how you can handle multiple sources for testing.
@ferventcoder Can we reopen this? It doesn't seem to be resolved. With a fresh installation of Chocolatey and a Pro license on Windows 10 Pro, I ran:
choco install -y git putty sysinternals php keepass inkscape visualstudiocode python2 python winscp gimp youtube-dl vim wireshark windirstat git-lfs awscli sublimetext3 posh-git opera firefox keepass firefoxesr audacity sqlite curl wget winmerge gpg4win maven imagemagick spotify steam jq nmap winpcap ffmpeg pip resharper-platform lastpass tor-browser foobar2000 slack gradle mp3tag sharex ilspy rufus intellijidea-ultimate hipchat androidstudio dotnetcore du windbg vivaldi unity optipng awstools.powershell hxd meld ag webstorm phpstorm aria2 upx neovim gitkraken audacity-lame krita vmwareworkstation protoc unrar bind-toolsonly discord unetbootin picard ilmerge googlechrome.canary win32diskimager rsync obs vnc-viewer pycharm inssider-office 010editor burp-suite-free-edition electrum minecraft xnview toggl eac datagrip
A lot of those packages had missing dependencies that I'm sure exist (some of them are even yours!). sysinternals
couldn't even be found at all, even though it's right here (with your name on it).
Failures
- meld (exited 1) - meld not installed. An error occurred during installation:
Unable to resolve dependency 'chocolatey-uninstall.extension'.
- bind-toolsonly (exited 1) - bind-toolsonly not installed. An error occurred during installation:
Unable to resolve dependency 'vcredist2012'.
- awstools.powershell (exited 1) - awstools.powershell not installed. An error occurred during installation:
Unable to resolve dependency 'PowerShell (≥ 3.0)'.
- burp-suite-free-edition (exited 1) - burp-suite-free-edition not installed. An error occurred during installation:
Unable to resolve dependency 'javaruntime (≥ 7.0.5)'.
- dotnetcore (exited 1) - dotnetcore not installed. An error occurred during installation:
Unable to resolve dependency 'dotnetcore-runtime (≥ 2.0.0)'.
- 010editor (exited 1) - 010editor not installed. An error occurred during installation:
Unable to resolve dependency '010editor.install (= 8.0.1)'.
- visualstudiocode (exited 1) - visualstudiocode not installed. An error occurred during installation:
Unable to resolve dependency 'DotNet4.5.2'.
- obs (exited 1) - obs not installed. An error occurred during installation:
Unable to resolve dependency 'directx'.
- posh-git - posh-git not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "https://licensedpackages.chocolatey.org/api/v2/;https://chocolatey.org/api/v2/"
- krita (exited 1) - krita not installed. An error occurred during installation:
Unable to resolve dependency 'chocolatey-uninstall.extension'.
- php (exited 1) - php not installed. An error occurred during installation:
Unable to resolve dependency 'vcredist2015 (≥ 14.0.24215.20170201)'.
- ilspy (exited 1) - ilspy not installed. An error occurred during installation:
Unable to resolve dependency 'dotnet4.0'.
- neovim (exited 1) - neovim not installed. An error occurred during installation:
Unable to resolve dependency 'vcredist2015'.
- python (exited 1) - python not installed. An error occurred during installation:
Unable to resolve dependency 'python3 (= 3.6.3)'.
- win32diskimager (exited 1) - win32diskimager not installed. An error occurred during installation:
Unable to resolve dependency 'win32diskimager.install (= 1.0.0)'.
- vivaldi (exited 1) - vivaldi not installed. An error occurred during installation:
Unable to resolve dependency '7zip.commandline (≥ 9.20)'.
- git-lfs (exited 1) - git-lfs not installed. An error occurred during installation:
Unable to resolve dependency 'git-lfs.install (= 2.3.4)'.
- inssider-office (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\inssider-office\tools\chocolateyInstall.ps1'.
See log for details.
- du (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\du\tools\chocolateyInstall.ps1'.
See log for details.
- minecraft (exited 1) - minecraft not installed. An error occurred during installation:
Unable to resolve dependency 'jre8'.
- winscp (exited 1) - winscp not installed. An error occurred during installation:
Unable to resolve dependency 'winscp.install (= 5.11.2)'.
- eac (exited 1) - eac not installed. An error occurred during installation:
Unable to resolve dependency 'autohotkey.portable'.
- picard (exited 1) - picard not installed. An error occurred during installation:
Unable to resolve dependency 'vcredist2008 (≥ 9.0)'.
- pip (exited 1) - pip not installed. An error occurred during installation:
Unable to resolve dependency 'easy.install'.
- electrum (exited 1) - electrum not installed. An error occurred during installation:
Unable to resolve dependency 'electrum.install (= 2.9.2)'.
- androidstudio (exited 1) - androidstudio not installed. An error occurred during installation:
Unable to resolve dependency 'android-sdk'.
- sysinternals - sysinternals not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "https://licensedpackages.chocolatey.org/api/v2/;https://chocolatey.org/api/v2/"
- keepass (exited 1) - keepass not installed. An error occurred during installation:
Unable to resolve dependency 'keepass.install (= 2.37)'.
- intellijidea-ultimate (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\intellijidea-ultimate\tools\chocolateyInstall.ps1'.
See log for details.
- imagemagick (exited 1) - imagemagick not installed. An error occurred during installation:
Unable to resolve dependency 'imagemagick.app (= 7.0.7.6)'.
- winpcap (exited 1) - winpcap not installed. An error occurred during installation:
Unable to resolve dependency 'autohotkey.portable'.
- youtube-dl (exited 1) - youtube-dl not installed. An error occurred during installation:
Unable to resolve dependency 'vcredist2010 (≥ 10.0)'.
Interestingly, choco install -y sysinternals
worked fine, minus the antivirus false positives.
I tried the same command again, this time omitting any packages that installed successfully in the first round. I also omitted sysinternals because I installed that afterwards as a test.
choco install -y posh-git php keepass visualstudiocode python winscp youtube-dl imagemagick winpcap pip krita bind-toolsonly neovim meld awstools.powershell du dotnetcore androidstudio intellijidea-ultimate picard vivaldi windbg win32diskamager inssider-office 010editor eac burp-suite-free-edition electrum minecraft
posh-git failed immediately, as it couldn't be found. (Turns out I had a typo in that; it should be poshgit
.)
Then the dependencies installed:
Progress: Downloading vcredist2015 14.0.24215.20170201... 100%
Progress: Downloading vcredist140 14.11.25325.0... 100%
Progress: Downloading KB3033929 1.0.3... 100%
Progress: Downloading chocolatey-windowsupdate.extension 1.0.2... 100%
Progress: Downloading KB3035131 1.0.1... 100%
Progress: Downloading KB2919355 1.0.20160915... 100%
Progress: Downloading KB2919442 1.0.20160915... 100%
Progress: Downloading KB2999226 1.0.20170509... 100%
Progress: Downloading php 7.1.11... 100%
[actual installation stuffs here]
@Zenexer this is probably likely more of an issue over at https://github.com/chocolatey/chocolatey.org than an issue on the client.
@ferventcoder You sure? It seems like it didn't correctly determine the dependencies the first time around. It never even tried to install them.
The choco client only ever runs into issues like this with the community repo, which has caching and other things implemented. We are getting ready to upgrade the infra there to resolve these issues until the next growth curve necessitates upgrading the infra again.
Sounds good. Keep up the great work!
I don´t understand that one. Depdendency cannot be resolved whereas clist finds it all good: