-
Notifications
You must be signed in to change notification settings - Fork 904
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
Improving choco list with options to show dependencies and sort by date (and more) #1276
Comments
+a more verbose one-line output, with Title and Publication date |
Comment moved to separate issue: #1281 |
@boaz001 please file a new issue for this. I'd love to track it, and we like to keep things to one request per issue please. Thanks! |
Well this is pretty old right now. function shouldNotUnInstalled {
param (
[String] $name
)
return $name -like 'chocolatey*' -or
$name -match 'KB\d+' -or
$name -like 'vcredist*' -or
$name -match '\d+'
}
$packages = choco list -lo
foreach ($package in $packages) {
$packageInfos = $package -split " "
$packageName = $packageInfos[0]
if (shouldNotUnInstalled -name $packageName ) {
Write-Host "Ignore $packageName"
}
else {
Write-Host "Uninstall $packageName"
choco uninstall $packageName -y
}
} |
Try |
@ferventcoder when I run
I only get the description of that package and no information about the installation on my machine. Or did I miss a parameter? |
I think, if an uninstallation via packages.config would be possible. I won't need this feature. See #533 |
Sorry @Bjego I didn't mean that comment for you. Just for the top thread as I came back in here to note that there is choco info for some of these other things. |
Currently I fix this for installed packages like this:
For online search (package not installed locally) I use a combination of
|
still no way to get the dependencies of a choco package? |
This will show all packages dependencies. Execute in PowerShell:
|
This bug is for packages that are already installed, but what if I want to know the dependencies of some package and version which is not installed? Example, list dependencies for |
This would be convenient indeed! |
Came looking for a remove orphans command, turns out choco doesn't even have this. Absolutely batty. |
Feature request:
choco list
:I believe it would be very useful 😄
The text was updated successfully, but these errors were encountered: