My last post got closed as duplicate, and I don't know how to delete that duplicate mark. If you think this is duplicate or already answered please comment first, don't immediately mark as duplicate. Because these threads are not resolved my problem and I can't comment on these threads:
- Unable to install Cisco Packet Tracer 7.3 on Ubuntu 20.04.
- Can't install libdouble-conversion1 on Ubuntu-19.10
Because I can install and the packettracer works properly, but the package manager detected the packettracer has a dependency error (at-at-spi). So when I want to install another package, the package manager requires me to delete packettracer (--fix-broken). And in this case I use ubuntu 20.04 and packet tracer 7.3.
Package packettracer is refer to Cisco Packet Tracer 7.3. My OS is ubuntu 20.04.
I have a package packettracer that not clearly installed, but the package is working.
$sudo dpkg -i PacketTracer_730_amd64.deb Selecting previously unselected package packettracer. (Reading database ... 199702 files and directories currently installed.) Preparing to unpack .../PacketTracer_730_amd64.deb ... Unpacking packettracer (7.3.0) ... dpkg: dependency problems prevent configuration of packettracer: 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.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu2) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for shared-mime-info (1.15-1) ... Errors were encountered while processing: packettracer
Even the packettacer need qt-at-spi, but the packettracer is working, can run properly without error. However, when I tried to install another package (whatever is it), there is dependency error:
packettracer : Depends: qt-at-spi but it is not installable E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So, I must run "apt --fix-broken install" first and uninstall packettracer before install another package. Then when that another package installed, I reinstall the packettracer again. It is annoying.
$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages will be REMOVED: packettracer 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used.
Why I didn't fix the dependency qt-at-spi? Because there is no official package qt-at-spi for ubuntu 20.04 repository. I just found package for ubuntu 19.10 it requires many more packages that I have to install one by one. See details explanation about this on my another thread: Looking for qt-at-spi for ubuntu 20.04
The question is: Can I exclude packettracer from apt --fix-broken install? So, when I run that command, package packettracer not be uninstalled.