fishros / install

一键安装程序,欢迎大家提交代码和小鱼一起一键安装停止浪费生命
https://fishros.github.io/install/
1.54k stars 196 forks source link

【日志反馈BUG】一键安装VSCODE出现错误依赖错误 #77

Open fishros opened 2 months ago

fishros commented 2 months ago
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_install_vscode.py -O /tmp/fishinstall/tools/tool_install_vscode.py --no-check-certificate]
[-][0.11s] CMD Result:success                                               169|:80... connected.y

欢迎使用一键安装Vscode,本工具由作者小鱼提供
开始根据系统架构,为你下载对应版本的vscode~
Run CMD Task:[sudo wget https://vscode.download.prss.microsoft.com/dbazure/download/stable/903b1e9d8990623e3d7da1df3d33db3e42d80eda/code_1.86.2-1707854558_amd64.deb -O /tmp/vscode.deb]
下载完成,接下来为你安装Vscode~
Run CMD Task:[sudo dpkg -i /tmp/vscode.deb]
[-][10.47s] CMD Result:code:1                                                 ....)

Run CMD Task:[rm -rf /tmp/vscode.deb]
[-][0.00s] CMD Result:success

安装完成~
欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
Execute Command: sudo dpkg -i /tmp/vscode.deb Error Code1
====================OUT====================
Selecting previously unselected package code.
(Reading database ... 234496 files and directories currently installed.)
Preparing to unpack /tmp/vscode.deb ...
Unpacking code (1.86.2-1707854558) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
====================ERR====================
dpkg: dependency problems prevent configuration of code:
 code depends on libc6 (>= 2.28); however:
  Version of libc6:amd64 on system is 2.27-3ubuntu1.6.
 code depends on libgssapi-krb5-2 (>= 1.17); however:
  Version of libgssapi-krb5-2:amd64 on system is 1.16-2ubuntu0.4.
 code depends on libxkbfile1 (>= 1:1.1.0); however:
  Version of libxkbfile1:amd64 on system is 1:1.0.9-2.
elysia-best commented 2 months ago

明显是系统版本低了,这种情况只能安装低版本的

fishros commented 1 month ago

是的,所以一键安装vscode应该根据系统版本来下载,又一个bug