Closed pdsz closed 1 year ago
Looking at the log, these two lines in the stack trace seems to indicate that the issue is a missing or not detected .nuspec
inside a .nupkg
under $chocolateyinstall\lib
:
NuGet.LocalPackageRepository.FindPackagesById(Func``2 openPackage, String packageId)
NuGet.OptimizedZipPackage.EnsureManifest()
This general area of code was touched recently in https://github.com/chocolatey/nuget-chocolatey/issues/33, but not this code path, as it is still using system.io.packaging
, so I don't know how that change could have caused this.
I'm not able to reproduce this by installing/uninstalling the notcl
or cascadiafonts
packages.
@pdsz, this is a bit of a stab in the dark, but you would be able to run this powershell oneliner to see if there are any of the .nupkg
files that are missing their .nuspec
?
Get-ChildItem $env:ChocolateyInstall -Recurse -Filter "*.nupkg" | ForEach-Object { $output = & 7z l $_.fullname; if (($output -join "`n") -notlike "*nuspec*") { Write-Host $_.name }}
@TheCakeIsNaOH, I ran the command that you have suggested – below is the result obtained using my current contents of $chocolateyinstall
, i.e., after replacing some of its files with the ones from the unaffected machine (which changed choco version to 1.2.0
):
PS C:\Windows\System32> Get-ChildItem $env:ChocolateyInstall -Recurse -Filter "*.nupkg" | ForEach-Object { $output = & 7z l $_.fullname; if (($output -join "`n") -notlike "*nuspec*") { Write-Host $_.name }}
burnttoast-psmodule.nupkg
cascadiamonopl-italic.nupkg
ccleaner.nupkg
emacs.portable.nupkg
exiftool.nupkg
FreeDownloadManager.nupkg
Ghostscript.nupkg
gimp.nupkg
gmkvextractgui.nupkg
irfanviewplugins.nupkg
javaruntime.nupkg
jcpicker.nupkg
KB3035131.nupkg
KB3118401.nupkg
languagetool.nupkg
netfx-4.7.2.nupkg
pdftkbuilder.nupkg
PowerShell.nupkg
putty.nupkg
tightvnc.nupkg
vlc.nupkg
volume2.nupkg
winscp.install.nupkg
xxd.nupkg
When comparing affected and unaffected installations with WinMerge I found that some .nupkg
files of the unaffected location were significantly larger than of the affected one. Mostly, the smaller ones were empty (22 bytes).
Filename | Folder | Left Size | Right Size | Left Size (Short) | Right Size (Short) |
---|---|---|---|---|---|
lib | 1 966 201 208 | 1 941 466 335 | 1,83 GB | 1,80 GB | |
burnttoast-psmodule.nupkg | lib\burnttoast-psmodule | 22 | 4 696 | 22 B | 4,58 KB |
cascadiacodeitalic.nupkg | lib\cascadiacodeitalic | 22 | 201 670 | 22 B | 196 KB |
cascadiafonts.nupkg | lib\cascadiafonts | 22 | 5 389 | 22 B | 5,26 KB |
cascadiamonopl-italic.nupkg | lib\cascadiamonopl-italic | 22 | 208 495 | 22 B | 203 KB |
ccleaner.nupkg | lib\ccleaner | 22 | 4 668 | 22 B | 4,55 KB |
choco-cleaner.nupkg | lib\choco-cleaner | 22 | 80 196 | 22 B | 78,3 KB |
choco-install-packages-from-web-winconfig.nupkg | lib\choco-install-packages-from-web-winconfig | 22 | 8 055 | 22 B | 7,86 KB |
choco-package-list-backup.nupkg | lib\choco-package-list-backup | 22 | 32 658 | 22 B | 31,8 KB |
choco-upgrade-all-at.nupkg | lib\choco-upgrade-all-at | 22 | 14 788 | 22 B | 14,4 KB |
chocolatey.nupkg | lib\chocolatey | 22 | 4 459 584 | 22 B | 4,25 MB |
FreeDownloadManager.nupkg | lib\FreeDownloadManager | 22 | 5 034 | 22 B | 4,91 KB |
Ghostscript.nupkg | lib\Ghostscript | 22 | 4 062 | 22 B | 3,96 KB |
gimp.nupkg | lib\gimp | 22 | 6 499 | 22 B | 6,34 KB |
gmkvextractgui.nupkg | lib\gmkvextractgui | 22 | 4 582 | 22 B | 4,47 KB |
irfanviewplugins.nupkg | lib\irfanviewplugins | 22 | 5 283 | 22 B | 5,15 KB |
javaruntime.nupkg | lib\javaruntime | 22 | 3 394 | 22 B | 3,31 KB |
jcpicker.nupkg | lib\jcpicker | 22 | 5 280 | 22 B | 5,15 KB |
KB3035131.nupkg | lib\KB3035131 | 22 | 5 839 | 22 B | 5,70 KB |
KB3118401.nupkg | lib\KB3118401 | 22 | 5 551 | 22 B | 5,42 KB |
languagetool.nupkg | lib\languagetool | 22 | 5 929 | 22 B | 5,79 KB |
netfx-4.7.2.nupkg | lib\netfx-4.7.2 | 22 | 6 134 | 22 B | 5,99 KB |
pdftkbuilder.nupkg | lib\pdftkbuilder | 22 | 19 739 | 22 B | 19,2 KB |
PowerShell.nupkg | lib\PowerShell | 22 | 11 416 | 22 B | 11,1 KB |
putty.nupkg | lib\putty | 22 | 6 872 | 22 B | 6,71 KB |
tightvnc.nupkg | lib\tightvnc | 22 | 12 899 | 22 B | 12,5 KB |
vlc.nupkg | lib\vlc | 22 | 388 930 | 22 B | 379 KB |
winscp.install.nupkg | lib\winscp.install | 22 | 20 124 | 22 B | 19,6 KB |
I remember that there were some not empty nupkg
files which, when opened as ZIP, did not contain some EXEs and other large files that the unaffected ones included. Unfortunately, I am unable to locate them now.
There have been also a lot of files with extension like .nupkg.tmp1
–.nupkg.tmp8
(in $chocolateyinstall\lib\<packagename>\
) as well as .files.backup
and registry.backup
(n $chocolateyinstall\.chocolatey\
), which I have deleted while trying to fix the problem.
I also tried restoring the $chocolateyinstall
to the state as it was before my attempts to fix it (with choco version 1.1.0
) to use your one-liner. This led to a similar result with seven additional entries (these are probably the ones that I have manually replaced):
cascadiacodeitalic.nupkg
cascadiafonts.nupkg
choco-cleaner.nupkg
choco-install-packages-from-web-winconfig.nupkg
choco-package-list-backup.nupkg
choco-upgrade-all-at.nupkg
chocolatey.nupkg
```pwsh
2022-07-23 16:54:56,007 37520 [DEBUG] - XmlConfiguration is now operational
2022-07-23 16:54:56,070 37520 [INFO ] - ============================================================
2022-07-23 16:54:56,292 37520 [INFO ] - Chocolatey v1.1.0
2022-07-23 16:54:56,303 37520 [DEBUG] - Chocolatey is running on Windows v 10.0.19044.0
2022-07-23 16:54:56,307 37520 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-07-23 16:54:56,314 37520 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-07-23 16:54:56,341 37520 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade all -y --prerelease
2022-07-23 16:54:56,347 37520 [DEBUG] - Received arguments: upgrade all -y --prerelease
2022-07-23 16:54:56,395 37520 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-07-23 16:54:56,408 37520 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-07-23 16:54:56,422 37520 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-07-23 16:54:56,465 37520 [DEBUG] - Performing validation checks.
2022-07-23 16:54:56,477 37520 [DEBUG] - Global Configuration Validation Checks:
2022-07-23 16:54:56,482 37520 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-07-23 16:54:56,490 37520 [DEBUG] - System State Validation Checks:
2022-07-23 16:54:56,494 37520 [DEBUG] - Reboot Requirement Checks:
2022-07-23 16:54:56,503 37520 [DEBUG] - - Pending Computer Rename = Checked
2022-07-23 16:54:56,507 37520 [DEBUG] - - Pending Component Based Servicing = Checked
2022-07-23 16:54:56,515 37520 [DEBUG] - - Pending Windows Auto Update = Checked
2022-07-23 16:54:56,518 37520 [DEBUG] - - Pending File Rename Operations = Ignored
2022-07-23 16:54:56,527 37520 [DEBUG] - - Pending Windows Package Installer = Checked
2022-07-23 16:54:56,530 37520 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-07-23 16:54:56,539 37520 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-07-23 16:54:56,544 37520 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2022-07-23 16:54:56,551 37520 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2022-07-23 16:54:56,560 37520 [DEBUG] - Configuration: CommandName='upgrade'|CacheLocation='C:\windows\TEMP\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='all'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='all'|
Prerelease='True'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19044.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.1.0.0'|
Information.ChocolateyProductVersion='1.1.0'|
Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='SYSTEM'|Information.UserDomainName='
I wonder if there is a way to reinstall chocolatey without losing the installed packages, as it could possibly help to fix it. Having to enable some choco features or set the environment variables is not a big difficulty. On the other hand, manually reinstalling and restoring the configuration of each app installed using choco seems like an extremely time-consuming and tedious task. So my last-resort idea is to reinstall choco while retaining the packages.
When comparing affected and unaffected installations with WinMerge I found that some .nupkg files of the unaffected location were significantly larger than of the affected one. Mostly, the smaller ones were empty (22 bytes).
Ok, so the .nupkg
files are corrupted/empty and actually do not contain .nuspec
s
That means that it is not a Chocolatey CLI bug with regard to the reading .nupkg
files. So now this is about figuring out how these files got corrupted in the first place, and how to fix it.
I also tried restoring the $chocolateyinstall to the state as it was before my attempts to fix it (with choco version 1.1.0)
Oh, so this started with Chocolatey CLI v1.1.0. That means it is not related to https://github.com/chocolatey/nuget-chocolatey/issues/33, because that came in with v1.2.0
I wonder if there is a way to reinstall chocolatey without losing the installed packages, as it could possibly help to fix it.
The problem is those corrupted and/or empty .nupkg
files.
You should be able to remove the folders of the affected packages from the lib
directory, and run choco install
for each of those packages.
One option would be to see if choco export
works, and if it does, then run it to create a packages.config
file of all of your installed packages. The move (aka make a sort of backup) the affected package folders under $env:ChocolateyInstall\lib
. Finally, run choco install packages.config
, and that should install of the removed packages. This should not delete any user data, unless there is a software that stores its config inside $env:ChocolateyInstall\lib\<packageID>
, and even if there is, you should have a copy from the moved folders.
If choco export
does not work, then either you could write a choco install <package 1> <package 2> ......
or manually write a packages.config
for all the affected packages. The move the affected folders, and run that choco install
command.
The choco export
command worked, I get the packages.config
file of 3 133 bytes.
By removing problematic packages from $env:ChocolateyInstall\lib
, I was able to install most of them manually. I chose the manual way, as I think the packages.config
file does not cover every package that I have installed with choco
– it includes irfanview
but not irfanviewplugins
, for example, while irfanviewplugins
has also been installed and was present in $env:ChocolateyInstall\lib
.
I was not able to install part of the manually deleted packages, e.g., python3
, subtitleedit
, and vcredist140
, also due to missing manifest error.
Thus, the cup all
works for now, mainly because all the installed packages are presently up-to-date (and those that I was not able to manually reinstall are no longer seen by choco
). Nevertheless, now I have similar … not uninstalled. An error occurred during uninstall: Package does not contain a manifest.
problem when trying to uninstall some packages, like qpdf
(whose .nupkg
is 106 MB, and it contents look OK). So I suppose the error will come back when there will be an update to one of the installed packages.
I tried this once again with a small package that I have not used before the problem occurred, notcl
, to look into the files created. I can install it successfully and then use the app, but uninstalling fails:
PS C:\ProgramData\chocolatey>cinst notcl
Chocolatey v1.2.0
Installing the following packages:
notcl
By installing, you accept licenses for the packages.
Progress: Downloading notcl 1.2.4... 100%
notcl v1.2.4
notcl package files install completed. Performing other installation steps.
ShimGen has successfully created a shim for notcl.exe
The install of notcl was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\notcl'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\ProgramData\chocolatey>cuninst notcl
Chocolatey v1.2.0
Uninstalling the following packages:
notcl
notcl not uninstalled. An error occurred during uninstall:
Package does not contain a manifest.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- notcl (exited 1) - notcl not uninstalled. An error occurred during uninstall:
Package does not contain a manifest.
After installation, I get the following files:
$env:ChocolateyInstall\.chocolatey\notcl.1.2.4\.arguments
: 283 bytes$env:ChocolateyInstall\.chocolatey\notcl.1.2.4\.files
: 534 bytes$env:ChocolateyInstall\bin\notcl.exe
: 31 744 bytes$env:ChocolateyInstall\lib\notcl\notcl.exe
: 1 276 667 bytes$env:ChocolateyInstall\lib\notcl\notcl.nupkg
: 1 253 495 bytes$env:ChocolateyInstall\lib\notcl\notcl.nuspec
: 788 bytesThe contents of .nupkg
file are as below when listed by 7-Zip:
PS C:\ProgramData\chocolatey\lib\notcl> 7z l .\notcl.nupkg
7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
Scanning the drive for archives:
1 file, 1253495 bytes (1225 KiB)
Listing archive: .\notcl.nupkg
--
Path = .\notcl.nupkg
Type = zip
Physical Size = 1253495
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2014-02-18 10:01:22 ..... 490 490 _rels\.rels
2014-02-18 10:01:22 ..... 788 373 notcl.nuspec
2014-02-18 10:01:22 ..... 1276667 1250862 notcl.exe
2014-02-18 10:01:22 ..... 516 516 package\services\metadata\core-properties\1b0b546b359449e3b09b373b6ba29d87.psmdcp
2014-02-18 10:01:22 ..... 448 448 [Content_Types].xml
------------------- ----- ------------ ------------ ------------------------
2014-02-18 10:01:22 1278909 1252689 5 files
This is probably OK, as far as I can tell.
After the failed uninstallation, the files listed above remain untouched. I have to delete them manually to remove the package. Also, a file $env:ChocolateyInstall\lib-bkp\notcl\notcl.exe
(1 276 667 bytes) is created when the choco uninstall
fails.
I thought that this may be related to some problem with the network (e.g., something gets blocked during download), but connecting through a mobile hotspot with PC firewall turned off has led to the same result.
@TheCakeIsNaOH, do you maybe have some further ideas, what could I do to fix this? Now this looks like when the .nupkg
s are fixed by the manual reinstallation, there is an issue with uninstalling some packages (which also makes them impossible to upgrade).
After further attempts to manual removals of folders from $env:ChocolateyInstall\lib
, I finally managed to install all the necessary packages and make cup
, cinst
, and cuninst
work again. It turns out that the Package does not contain a manifest.
error was probably indeed related to corrupted files like .nupkg
, but not necessarily in the package that was to be (un)installed, but also in its dependencies. It is important, because the log does not specify whether the problem occurred in the main package or its dependency. So to get rid of the errors, I had to list the packages that I was unable to reinstall manually (like python3
, vlc
, subtitleedit
, vcredist140
, and wireshark
), track their dependencies using the log or choco
webpage, and delete lib
folders of these packages as well (sometimes recursively). Some affected packages were choco
-related (e.g., chocolatey-compatibility.extension
or chocolatey-core.extension
) or system/environment-related (like KB3035131
and vcredist140
). I am still not 100% sure that the problem is now gone for good (I still find some out-of-date packages reported as most recent versions and so on, but now there are no failures when forcing their reinstallation), nevertheless I can no longer reproduce it, so I mark this issue as closed.
In short, it seems that the solution is to delete $env:ChocolateyInstall\lib
folders of:
Package does not contain a manifest.
is reported during cup
, cinst
, or cuninst
),https://community.chocolatey.org/packages/<package_name>#dependencies
),.nupkg
files somehow corrupted, e.g., looking empty when opened as ZIP, having size (significantly) less than 1 KB etc.To be sure, I also deleted corresponding entries in $env:ChocolateyInstall\.chocolatey
, but this probably was not essential for the solution to work.
What You Are Seeing?
I have been using
Choco Upgrade All at Startup
for auto upgrade for quite some time. I did the last manual update a few weeks ago. When I tried it again today (withcup all --pre
), I noticed that packages are not updating – after detecting a package that needs an update and trying to perform it, choco returns errorPackage does not contain a manifest
. Usually this error causes the entirecup
process to stop at the package that needs to be updated. Nevertheless, there are some packages for which only the text is issued while the update process continues.Due to this issue, I am unable to update and uninstall any package, as well as to install some of them. For example, the package
notcl
is installed correctly but cannot be further uninstalled withcuninst
:There are some log entries pointing to NuGet (especially for failed
cup
s), e.g., for failed update of packagecascadiafonts
:On a second machine with similar software configuration (but rebooted far less often), the problem have not occured. I have tried copying some choco-related EXEs or configuration files residing in
C:\ProgramData\chocolatey
on the unaffected machine to the affected PC. This resulted in successful execution ofcup chocolatey
(probably because chocolatey was effectively manually updated to the newest version and thus no longer needed an update), but the problem persisted. There may be something wrong with internal chocolatey's NuGet distribution, but I am unable to investigate it further or fix it.What is Expected?
No errors during
cinst
,cup
orcuninst
execution.How Did You Get This To Happen? (Steps to Reproduce)
I noticed it during manual update using
cup all
. Possibly indirectly related toChoco Upgrade All at Startup
, e.g., choco/NuGet installation broken when a reboot was performed during the automated upgrade, but this is just my guess.System Details
Output Log
Full log output of command `cuninst notcl -dv` failing with `Package does not contain a manifest` error:
~~~sh 2022-11-09 13:43:37,451 12188 [DEBUG] - XmlConfiguration is now operational 2022-11-09 13:43:37,488 12188 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco' 2022-11-09 13:43:37,488 12188 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco' 2022-11-09 13:43:37,504 12188 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco' 2022-11-09 13:43:37,504 12188 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco' 2022-11-09 13:43:37,504 12188 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco' 2022-11-09 13:43:37,519 12188 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco' 2022-11-09 13:43:37,582 12188 [DEBUG] - Registering new command 'template' in assembly 'choco' 2022-11-09 13:43:37,582 12188 [DEBUG] - Registering new command 'upgrade' in assembly 'choco' 2022-11-09 13:43:37,597 12188 [DEBUG] - Registering new command 'export' in assembly 'choco' 2022-11-09 13:43:37,597 12188 [DEBUG] - Registering new command 'list' in assembly 'choco' 2022-11-09 13:43:37,597 12188 [DEBUG] - Registering new command 'info' in assembly 'choco' 2022-11-09 13:43:37,597 12188 [DEBUG] - Registering new command 'help' in assembly 'choco' 2022-11-09 13:43:37,613 12188 [DEBUG] - Registering new command 'config' in assembly 'choco' 2022-11-09 13:43:37,613 12188 [DEBUG] - Registering new command 'features' in assembly 'choco' 2022-11-09 13:43:37,613 12188 [DEBUG] - Registering new command 'new' in assembly 'choco' 2022-11-09 13:43:37,613 12188 [DEBUG] - Registering new command 'outdated' in assembly 'choco' 2022-11-09 13:43:37,629 12188 [DEBUG] - Registering new command 'pack' in assembly 'choco' 2022-11-09 13:43:37,629 12188 [DEBUG] - Registering new command 'pin' in assembly 'choco' 2022-11-09 13:43:37,629 12188 [DEBUG] - Registering new command 'push' in assembly 'choco' 2022-11-09 13:43:37,629 12188 [DEBUG] - Registering new command 'apikey' in assembly 'choco' 2022-11-09 13:43:37,644 12188 [DEBUG] - Registering new command 'sources' in assembly 'choco' 2022-11-09 13:43:37,644 12188 [DEBUG] - Registering new command 'uninstall' in assembly 'choco' 2022-11-09 13:43:37,644 12188 [DEBUG] - Registering new command 'unpackself' in assembly 'choco' 2022-11-09 13:43:37,660 12188 [DEBUG] - Registering new command 'install' in assembly 'choco' 2022-11-09 13:43:37,707 12188 [INFO ] - ============================================================ 2022-11-09 13:43:37,785 12188 [INFO ] - Chocolatey v1.2.0 2022-11-09 13:43:37,800 12188 [DEBUG] - Chocolatey is running on Windows v 10.0.19045.0 2022-11-09 13:43:37,800 12188 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". 2022-11-09 13:43:37,816 12188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". 2022-11-09 13:43:37,816 12188 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall notcl -dv 2022-11-09 13:43:37,832 12188 [DEBUG] - Received arguments: uninstall notcl -dv 2022-11-09 13:43:37,847 12188 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. 2022-11-09 13:43:37,863 12188 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers... 2022-11-09 13:43:37,878 12188 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed... 2022-11-09 13:43:37,894 12188 [DEBUG] - Performing validation checks. 2022-11-09 13:43:37,894 12188 [DEBUG] - Global Configuration Validation Checks: 2022-11-09 13:43:37,910 12188 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked 2022-11-09 13:43:37,910 12188 [DEBUG] - System State Validation Checks: 2022-11-09 13:43:37,925 12188 [DEBUG] - Reboot Requirement Checks: 2022-11-09 13:43:37,925 12188 [DEBUG] - - Pending Computer Rename = Checked 2022-11-09 13:43:37,925 12188 [DEBUG] - - Pending Component Based Servicing = Checked 2022-11-09 13:43:37,941 12188 [DEBUG] - - Pending Windows Auto Update = Checked 2022-11-09 13:43:37,941 12188 [DEBUG] - - Pending File Rename Operations = Ignored 2022-11-09 13:43:37,941 12188 [DEBUG] - - Pending Windows Package Installer = Checked 2022-11-09 13:43:37,957 12188 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked 2022-11-09 13:43:37,957 12188 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s). 2022-11-09 13:43:37,972 12188 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type 2022-11-09 13:43:37,972 12188 [DEBUG] - NOTE: Hiding sensitive configuration data! Please double and triple check to be sure no sensitive data is shown, especially if copying output to a gist for review. 2022-11-09 13:43:37,988 12188 [DEBUG] - Configuration: CommandName='uninstall'| CacheLocation='C:\Users\\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='notcl'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='notcl'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.2.0.0'|
Information.ChocolateyProductVersion='1.2.0'|
Information.FullName='choco, Version=1.2.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName=''|Information.UserDomainName=''|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='True'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2022-11-09 13:43:37,988 12188 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2022-11-09 13:43:38,003 12188 [INFO ] - Uninstalling the following packages:
2022-11-09 13:43:38,019 12188 [INFO ] - notcl
2022-11-09 13:43:38,066 12188 [DEBUG] - Running list with the following filter = ''
2022-11-09 13:43:38,082 12188 [DEBUG] - --- Start of List ---
2022-11-09 13:43:38,329 12188 [DEBUG] - 7zip 22.1
2022-11-09 13:43:38,353 12188 [DEBUG] - 7zip.install 22.1
2022-11-09 13:43:38,353 12188 [DEBUG] - advanced-renamer 3.88
2022-11-09 13:43:38,369 12188 [DEBUG] - advanced-renamer.install 3.88
2022-11-09 13:43:38,384 12188 [DEBUG] - bulkfilechanger 1.65
2022-11-09 13:43:38,400 12188 [DEBUG] - cascadia-code-nerd-font 2.1.0
2022-11-09 13:43:38,416 12188 [DEBUG] - cascadiacode 2111.01
2022-11-09 13:43:38,431 12188 [DEBUG] - cascadiacodeitalic 2111.01
2022-11-09 13:43:38,447 12188 [DEBUG] - cascadiacodepl 2111.01
2022-11-09 13:43:38,447 12188 [DEBUG] - cascadiacodepl-italic 2111.01
2022-11-09 13:43:38,462 12188 [DEBUG] - cascadiafonts 2111.01
2022-11-09 13:43:38,462 12188 [DEBUG] - cascadiamono 2111.01
2022-11-09 13:43:38,478 12188 [DEBUG] - cascadiamonoitalic 2111.01
2022-11-09 13:43:38,494 12188 [DEBUG] - cascadiamonopl 2111.01
2022-11-09 13:43:38,494 12188 [DEBUG] - choco-cleaner 0.0.8.4
2022-11-09 13:43:38,509 12188 [DEBUG] - choco-install-packages-from-web-winconfig 0.0.1
2022-11-09 13:43:38,509 12188 [DEBUG] - choco-package-list-backup 2022.02.06
2022-11-09 13:43:38,525 12188 [DEBUG] - choco-protocol-support 0.0.1.1
2022-11-09 13:43:38,525 12188 [DEBUG] - choco-upgrade-all-at 0.0.6
2022-11-09 13:43:38,541 12188 [DEBUG] - choco-upgrade-all-at-startup 2021.03.15
2022-11-09 13:43:38,556 12188 [DEBUG] - chocolatey 1.2.0
2022-11-09 13:43:38,572 12188 [DEBUG] - chocolatey-compatibility.extension 1.0.0
2022-11-09 13:43:38,587 12188 [DEBUG] - chocolatey-core.extension 1.4.0
2022-11-09 13:43:38,603 12188 [DEBUG] - chocolatey-dotnetfx.extension 1.0.1
2022-11-09 13:43:38,619 12188 [DEBUG] - chocolatey-font-helpers.extension 0.0.4
2022-11-09 13:43:38,634 12188 [DEBUG] - chocolatey-preinstaller-checks.extension 0.0.2.2
2022-11-09 13:43:38,650 12188 [DEBUG] - chocolatey-toast-notifications.extension 0.0.4
2022-11-09 13:43:38,666 12188 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2022-11-09 13:43:38,681 12188 [DEBUG] - ChocoShortcuts 0.4.1
2022-11-09 13:43:38,697 12188 [DEBUG] - dependency-windows10 10.2111
2022-11-09 13:43:38,712 12188 [DEBUG] - dotnetfx 4.8.0.20220524
2022-11-09 13:43:38,744 12188 [DEBUG] - emacs 28.1.0
2022-11-09 13:43:38,744 12188 [DEBUG] - fontforge 2022.03.08
2022-11-09 13:43:38,759 12188 [DEBUG] - Ghostscript.app 9.56.1
2022-11-09 13:43:38,775 12188 [DEBUG] - gnuwin32-coreutils.install 5.3.0
2022-11-09 13:43:38,791 12188 [DEBUG] - grep 3.7
2022-11-09 13:43:38,791 12188 [DEBUG] - hxd 2.4.0.0
2022-11-09 13:43:38,806 12188 [DEBUG] - InkScape 1.2.1
2022-11-09 13:43:38,806 12188 [DEBUG] - instchoco 2.11
2022-11-09 13:43:38,822 12188 [DEBUG] - irfanview 4.60
2022-11-09 13:43:38,837 12188 [DEBUG] - jabref.install 5.7-dev
2022-11-09 13:43:38,837 12188 [DEBUG] - jre8 8.0.333
2022-11-09 13:43:38,853 12188 [DEBUG] - KB2919355 1.0.20160915
2022-11-09 13:43:38,853 12188 [DEBUG] - KB2919442 1.0.20160915
2022-11-09 13:43:38,869 12188 [DEBUG] - KB2999226 1.0.20181019
2022-11-09 13:43:38,869 12188 [DEBUG] - KB3033929 1.0.5
2022-11-09 13:43:38,884 12188 [DEBUG] - MarkdownMonster 2.6.9
2022-11-09 13:43:38,884 12188 [DEBUG] - mkvtoolnix 69.0.0
2022-11-09 13:43:38,900 12188 [DEBUG] - nmap 7.92.0.20220321
2022-11-09 13:43:38,900 12188 [DEBUG] - notcl 1.2.4
2022-11-09 13:43:38,915 12188 [DEBUG] - notepadplusplus 8.4.4
2022-11-09 13:43:38,915 12188 [DEBUG] - notepadplusplus.install 8.4.4
2022-11-09 13:43:38,931 12188 [DEBUG] - openssl 1.1.1.1700
2022-11-09 13:43:38,931 12188 [DEBUG] - pdftk 2.02
2022-11-09 13:43:38,947 12188 [DEBUG] - pdftk-server 2.02
2022-11-09 13:43:38,947 12188 [DEBUG] - pngquant 2.17.0.2022012001
2022-11-09 13:43:38,962 12188 [DEBUG] - powershell-core 7.2.5
2022-11-09 13:43:38,962 12188 [DEBUG] - programmersnotepad 2.4.2
2022-11-09 13:43:38,978 12188 [DEBUG] - programmersnotepad.install 2.4.2
2022-11-09 13:43:38,994 12188 [DEBUG] - putty.portable 0.77
2022-11-09 13:43:39,009 12188 [DEBUG] - pwsh 7.2.5
2022-11-09 13:43:39,009 12188 [DEBUG] - python3 3.10.2
2022-11-09 13:43:39,025 12188 [DEBUG] - qpdf 10.6.3
2022-11-09 13:43:39,040 12188 [DEBUG] - sed 4.8
2022-11-09 13:43:39,056 12188 [DEBUG] - shexview 2.01
2022-11-09 13:43:39,056 12188 [DEBUG] - shmnview 1.41
2022-11-09 13:43:39,072 12188 [DEBUG] - skype 8.86.0.409
2022-11-09 13:43:39,072 12188 [DEBUG] - subtitleedit 3.6.6
2022-11-09 13:43:39,087 12188 [DEBUG] - Sudo 1.1.2
2022-11-09 13:43:39,087 12188 [DEBUG] - svg-explorer-extension 0.1.1.20170428
2022-11-09 13:43:39,103 12188 [DEBUG] - swig 4.0.2.04082020
2022-11-09 13:43:39,119 12188 [DEBUG] - telegram 4.0.2
2022-11-09 13:43:39,134 12188 [DEBUG] - telegram.install 4.0.2
2022-11-09 13:43:39,150 12188 [DEBUG] - termite 3.4
2022-11-09 13:43:39,165 12188 [DEBUG] - tesseract 5.2.0.20220712
2022-11-09 13:43:39,181 12188 [DEBUG] - texstudio 4.2.3
2022-11-09 13:43:39,197 12188 [DEBUG] - texstudio.install 4.2.3
2022-11-09 13:43:39,212 12188 [DEBUG] - vcredist140 14.32.31332
2022-11-09 13:43:39,228 12188 [DEBUG] - vcredist2005 8.0.50727.619501
2022-11-09 13:43:39,244 12188 [DEBUG] - vcredist2010 10.0.40219.32503
2022-11-09 13:43:39,259 12188 [DEBUG] - vcredist2015 14.0.24215.20170201
2022-11-09 13:43:39,259 12188 [DEBUG] - vlc.install 3.0.17.4
2022-11-09 13:43:39,275 12188 [DEBUG] - volume2.install 1.1.7.450
2022-11-09 13:43:39,275 12188 [DEBUG] - winmerge 2.16.20
2022-11-09 13:43:39,290 12188 [DEBUG] - winscp 5.21.1
2022-11-09 13:43:39,290 12188 [DEBUG] - wireshark 3.6.8
2022-11-09 13:43:39,306 12188 [DEBUG] - x-mouse-button-control 2.19.2
2022-11-09 13:43:39,306 12188 [DEBUG] - zerotier-one 1.10.1
2022-11-09 13:43:39,322 12188 [DEBUG] - --- End of List ---
2022-11-09 13:43:39,384 12188 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\notcl".
2022-11-09 13:43:39,400 12188 [DEBUG] - Backing up existing notcl prior to operation.
2022-11-09 13:43:39,415 12188 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\notcl'
to 'C:\ProgramData\chocolatey\lib-bkp\notcl'
2022-11-09 13:43:41,434 12188 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\notcl".
2022-11-09 13:43:41,455 12188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notcl\notcl.exe"
to "C:\ProgramData\chocolatey\lib\notcl\notcl.exe".
2022-11-09 13:43:41,611 12188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notcl\notcl.nupkg"
to "C:\ProgramData\chocolatey\lib\notcl\notcl.nupkg".
2022-11-09 13:43:41,627 12188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notcl\notcl.nuspec"
to "C:\ProgramData\chocolatey\lib\notcl\notcl.nuspec".
2022-11-09 13:43:43,158 12188 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\notcl'
2022-11-09 13:43:43,174 12188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\notcl\notcl.exe'
with checksum '25C1CA94AEC2876B1B580E871CDBDDF1'
2022-11-09 13:43:43,189 12188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\notcl\notcl.nupkg'
with checksum '0038883169AD4F4EFECC48A43727BF5E'
2022-11-09 13:43:43,189 12188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\notcl\notcl.nuspec'
with checksum '842CB3765E954765C5ABC48E6C83FDB4'
2022-11-09 13:43:43,297 12188 [ERROR] - notcl not uninstalled. An error occurred during uninstall:
Package does not contain a manifest.
2022-11-09 13:43:43,328 12188 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2022-11-09 13:43:43,328 12188 [INFO ] -
2022-11-09 13:43:43,328 12188 [ERROR] - Failures
2022-11-09 13:43:43,344 12188 [ERROR] - - notcl (exited 1) - notcl not uninstalled. An error occurred during uninstall:
Package does not contain a manifest.
2022-11-09 13:43:43,344 12188 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `--skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
2022-11-09 13:43:43,359 12188 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2022-11-09 13:43:43,359 12188 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-11-09 13:43:43,375 12188 [DEBUG] - Exiting with 1
~~~