自己做项目需要用到网络传输助手,安装中遇到许多问题,只是想自己记录一下,避免后续自己忘记,大家谨慎参考
具体流程参照解决Ubuntu网络调试助手安装后无法打开问题_linux安装网络调试助手为啥打不开-CSDN博客
其中有一些细节需要修改
本人电脑系统为ubuntu22.04,一开始都能按序执行,在添加密钥后八位后,执行
sudo apt-get update
但是发现提示
W: http://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://ppa.launchpadcontent.net/rock-core/qt4/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://cz.archive.ubuntu.com/ubuntu/dists/xenial/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
后来查阅资料尝试
sudo apt-get install aptitude
sudo aptitude install libqtgui4:amd64
上面这两条执行完以后,出来好多类似
Removing libasound2-dev:amd64 (1.2.6.1-1ubuntu1) ...
的东西,吓死了,不知道有没有什么影响
而后避开
sudo apt-get update
直接执行
sudo apt-get install libqtgui4:amd64
接着就按照文章正常提示做就可以打开了