当我尝试从deb
文件安装 Cisco 数据包跟踪器时,它给出了以下错误:
Unpacking packettracer (7.3.0) ...
dpkg: dependency problems prevent configuration of packettracer:
packettracer depends on libdouble-conversion1; however:
Package libdouble-conversion1 is not installed.
packettracer depends on qt-at-spi; however:
Package qt-at-spi is not installed.
dpkg: error processing package packettracer (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Processing triggers for shared-mime-info (1.10-1) ...
Errors were encountered while processing:
packettracer
然后我尝试libdouble-conversion1
使用命令安装sudo apt-get install libdouble-conversion1
。它给出了以下错误
Package libdouble-conversion1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libdouble-conversion1' has no installation candidate
首先下载这些包:
打开终端并将目录更改为下载(下载的包所在的位置)
使所有下载的包可执行(
chmod +x packagename
)复制
/home/username/.config/mimeapps.list
到/root/.config/
安装 libdouble-conversion1 和 qt-at-spi 包 (
sudo dpkg -i packagename
)安装 libjpeg-turbo8 包。在这里,您可能会发现库冲突错误。如果是这样,请删除旧的 (
sudo apt purge packagename
)。会有一些警告。只需键入此命令 (sudo apt --fix-broken install
)。然后,再次删除。现在,您可以再次安装 libjpeg-turbo8 软件包。安装 libjpeg8 包。
最后,您可以安装 Packet Tracer 7.3 软件包。\
祝你好运
您可以使用其他版本的软件包:
然后,从终端安装 Packet Tracer:
下载数据包跟踪器后,我尝试安装它
sudo dpkg -i PacketTracer_730_amd64.deb
并得到了这个:当我尝试安装时,
qt-at-spi
我收到了这条消息运行
sudo apt --fix-broken install
解决了我的所有问题,安装了数据包跟踪器。