安装软件时遇到 1152:Error extracting to the temporary location

简介: 问题: jdk安装包 双击安装,没反映,xshell双击安装报错新装的系统竟然出现了这个问题,而且不是所有软件装不了,是部分软件无法安装。

问题: jdk安装包 双击安装,没反映,xshell双击安装报错


新装的系统竟然出现了这个问题,而且不是所有软件装不了,是部分软件无法安装。难道我还要重遍系统?不甘心,决定自己解决。

根据这个提示应该是临时文件夹出问题导致的,但他也没提示出具体是那个目录,这么办呢

灵激一动,想起来好像winrar 解压也会用到临时文件夹。看他报什么错。

我打开了一个压缩包,把里面的其中一个文件解压出来,果然报了这个错:


哈,终于找到目录了 C:\Users\Administrator\AppData\Local\Temp\2


,到那个目录下一看


发现问题了,

 C:\Users\Administrator\AppData\Local\Temp\2\ 

这个应该是一个目录啊,怎么变成一个文件了?于是删除之,新建了一个目录 名称起名为 2 (为什么非得起名叫2 ?  难道系统也 2 )


然后重新解压文件,发现问题解决了。

重新安装jdk,等软件,发现可以正常安装了。

总结:最后问题虽然解决了, 但不知道是什么导致的这个问题。有高手知道吗?

相关文章
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
155 0
|
7月前
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
4月前
Error: Cannot create file “D:xampp\xampp-controlin“.拒绝访问。
Error: Cannot create file “D:xampp\xampp-controlin“.拒绝访问。
|
缓存 PHP 开发工具
Composer 更新时报错:PHP Fatal error: composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
Composer 更新时报错:PHP Fatal error: composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
180 0
Composer 更新时报错:PHP Fatal error:  composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
88 0
成功解决404 Not Found Not Found The requested URL was not found on the server. If yo
成功解决404 Not Found Not Found The requested URL was not found on the server. If yo
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
|
PHP Windows
composer PHP Fatal error: Allowed memory size of 报错解决
composer PHP Fatal error: Allowed memory size of 报错解决
99 0
|
开发工具 容器
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz
问题 操作容器应该是属于服务器开发同学的常规操作,经常我们会遇到系统缺少对应的工具的情况,比如我们进入容器后,想使用 vim 修改某个文件,但是发现该容器没有安装 vim 工具。这个时候,一般都需要自己手动安装,比如在 unbuntu 系统中,可以使用 apt-get 包管理命令。
601 0
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz
|
应用服务中间件 PHP nginx
nginx配置出错duplicate location “/”nginx: [emerg] duplicate location “/”
将nginx配置文件中的两个location合并成一个 就好了。 server { listen ******; listen *****; server_name ****; root /*****; location / { index index.
13018 0

热门文章

最新文章