Closed HyP3r- closed 8 years ago
Delete the registry snapshot file. Look in c:\ProgramData\chocolatey\.chocolatey
- one of the .registry
files in there is corrupt. If you can, I'd like to know the contents of it (minus sensitive data if there is any) so we can see if it is something with the data itself or just a corrupted file.
Duplicate of #257
We also added #337 - but that's likely why choco is still running.
Removing those files solved my problem thanks. But unfortunately none of these Files seems to be invalid. I've renamed all .registry
files and uploaded it all, if you want to do some diagnostic:
7zip.install.9.38_registry.txt
autohotkey.install.1.1.22.04_registry.txt
autohotkey.install.1.1.22.06_registry.txt
autohotkey.install.1.1.22.07_registry.txt
autohotkey.install.1.1.22.09_registry.txt
autohotkey.portable.1.1.22.09_registry.txt
cdburnerxp.4.5.6.5844_registry.txt
cdburnerxp.4.5.6.5931_registry.txt
filezilla.3.13.1_registry.txt
filezilla.3.14.0_registry.txt
filezilla.3.14.1_registry.txt
flashplayeractivex.18.0.0.232_registry.txt
flashplayeractivex.19.0.0.185_registry.txt
flashplayeractivex.19.0.0.207_registry.txt
flashplayeractivex.19.0.0.226_registry.txt
flashplayeractivex.19.0.0.245_registry.txt
flashplayerplugin.18.0.0.232_registry.txt
flashplayerplugin.19.0.0.185_registry.txt
flashplayerplugin.19.0.0.207_registry.txt
flashplayerplugin.19.0.0.245_registry.txt
FoxitReader.7.1.3.0320_registry.txt
git.install.2.5.1_registry.txt
git.install.2.5.2_registry.txt
git.install.2.5.3_registry.txt
git.install.2.6.0_registry.txt
git.install.2.6.1_registry.txt
git.install.2.6.2_registry.txt
git.install.2.6.3_registry.txt
jre8.8.0.51_registry.txt
jre8.8.0.60.20150902_registry.txt
jre8.8.0.65_registry.txt
jre8.8.0.66_registry.txt
keepass-classic.1.29_registry.txt
notepadplusplus.install.6.8.3_registry.txt
notepadplusplus.install.6.8.5_registry.txt
notepadplusplus.install.6.8.6_registry.txt
openvpn.2.3.6_registry.txt
paint.net.4.0.5_registry.txt
PDFCreator.2.1.2_registry.txt
wireshark.1.12.7_registry.txt
wireshark.1.12.8_registry.txt
I got this error too and found out that it originates from the following lines in one of my .registry files: <Publisher>Microsoft�P</Publisher>
. IIRC �
represents the NUL
character, which is not allowed in XML.
After replacing <Publisher>Microsoft�P</Publisher>
by <Publisher>Microsoft</Publisher>
, everything works fine.
In 0.9.10, this will be handled to avoid these issues, but when a key has issues, it will tell you which key has the issue.
If I run this command:
choco upgrade -y all
, I get this errors:Unable to read registry snapshot file
.Here the full Log:
How can I solve that?