04-26-2024 04:00 AM
Packet Tracer v.: 8.2.2
Hello. Reported in terminal when attempting to install the program:
$ sudo apt-get install ./Packet_Tracer822_amd64_signed.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'packettracer' instead of './Packet_Tracer822_amd64_signed.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
packettracer : Depends: libgl1-mesa-glx but it is not installable
E: Unable to correct problems, you have held broken packages.
04-26-2024 10:39 PM - edited 04-28-2024 02:41 AM
I have the same problem too after clean install the Ubuntu 24.04 LTS - Noble Numbat, and I think it occurs with this package libgl1-mesa-glx. Which is currently unavailable with current version of Ubuntu according to the package page here Ubuntu – Package Search Results -- libgl1-mesa-glx.
The following packages have unmet dependencies:
packettracer : Depends: libgl1-mesa-glx but it is not installable
E: Unable to correct problems, you have held broken packages.
EDIT: I tried myself to use the libgl1-mesa-glx packages from the repository link above and installed the libgl1-mesa-glx (23.0.4-0ubuntu1~23.04.1) [universe] .deb file here to my persistent machine which totally works for launching the Cisco Packet Tracer v8.2.2 on Ubuntu 24.04 LTS. But, this method is temporary and intended for someone who needs the program run ASAP, it would be better wait for the next update of the packages or CPT itself to be tested and delivered later (I guess, it might be on 24.04.1 or later updates).
04-28-2024 02:43 AM - edited 05-02-2024 06:44 PM
How to install the dependencies:
P.S: In case you don't know which architecture you used, you can check by using uname -m from terminal. Remember to install the dependencies or packettracer from the directory where the file is stored, so cd to the directory first. And, if you already installed the package and seems didn't work, try to reinstall the packet tracer first.
Hope it helps,
Regards.
10-10-2024 04:57 AM
I did some more research and found that this issue has been going on for previous distros as well. This issue has been going on for over 2 years now and Cisco has not done a work around or provided a solution in their documents. This type of laziness is unacceptable in this field. If they are being this lazy about updating their training software, how lazy are they with the rest of their products? I expect much more from a company like Cisco. How safe are their products? I'm heavily questioning Cisco's integrity right now.
04-28-2024 05:07 AM
Hello rickytigg,
I suggest you.... first try deknusapt's solution....hope it should work...
Incase...still if you have the issue...Please perfrom the following steps:
The two dependencies that refused to install were:
1) libxcb-xinerama0-dev
2) libgl1-mesa-glx
I simply installed the first one by opening my terminal and typing "sudo apt install libxcb-xinerama0-dev" and it worked.
Now, for the second dependency which was "libgl1-mesa-glx", I manually downloaded the file which was gotten from https://packages.debian.org/sid/libgl1-mesa-glx.
Scroll down and choose your architecture and click on it. When you get to the next page, choose any mirror link you want to start the download(it's a deb file).
When the download is done, open your terminal and type "sudo dpkg -i dependency_name.deb" and click enter or use a package installer to install it.
When the installation is done, try installing packet tracer by typing "sudo dpkg -i packet_tracer.deb" and click enter. This should install packet tracer finally for you.
I hope this helps.
Cheers!!
Best regards
******* If This Helps, Please Rate *******
04-28-2024 10:57 AM
Thank you very much it worked perfectly
05-02-2024 10:27 AM
Thanks, I'll try and I'll let u know
05-02-2024 10:44 AM
It worked perfectly, Thanks a lot!
12-24-2024 09:53 AM
This was very helpful indeed, but probably the link provided may no longer contain the resources needed for "libgl1-mesa-glx" : try looking into this: http://ftp.de.debian.org/debian/pool/main/m/mesa/libgl1-mesa-glx_22.3.6-1+deb12u1_amd64.deb . Just ensure it downloads into the same folder as the Packet Tracer i.e. Downloads folder. Good luck guys...
04-29-2024 01:25 AM
[Viable hack]
deknusapt | It seems you figured out a viable hack. We can now therefore only wait, hoping to have a solution included in the next release of the program.
P.S. This hack, like many others, illustrates the need in this interface for a Viable hack label in case the choice of the Accept as solution label turns out to be inadequate. By definition the latter label refers in this context to an installer that does not require any hacking.
04-29-2024 02:06 AM
Exactly, like I mention above, it would be better to wait for the next update to be delivered so we don't need this viable hack method. Thus, the solution I mentioned above is intended for someone who has Ubuntu or other Linux distribution as their main operating system and found the same problem like this, where they needs this program to run immediately for certain purpose and can't wait for unconfirmed time for the update delivered.
05-24-2024 10:39 AM - edited 02-09-2025 08:13 AM
I'm testing this tutorial today, and it's working well on Ubuntu 24.04. I will be adding an auto-install script to the repository.
https://github.com/PetrusNoleto/Error-in-install-cisco-packet-tracer-in-ubuntu-23.10-unmet-dependencieshttps://github.com/PetrusNoleto/Error-in-install-cisco-packet-tracer-in-ubuntu-23.10-Dependency-is-not-satisfiable-libgl1-mesa-glxPetrusNoleto/Erro...
11-21-2024 02:04 PM
Thank you very much. I have been trying to install Cisco packet tracer for so long, but I have failed. Finally, you have become more like Moses. this link it really works
12-24-2024 01:00 PM
Before installing the PacketTracer package, you should try the following command:
sudo apt-get update && sudo apt-get upgrade --with-new-pkgs
12-30-2024 12:50 PM
It looks like you're trying to install Cisco Packet Tracer on Ubuntu 24, but you're running into dependency issues. The error messages indicate that two packages, dialog and libxcb-xinerama0-dev, are missing, which are required by Packet Tracer.
To resolve this, follow these steps:
Install the missing dependencies: You can install the required packages by running the following command in the terminal:
sudo apt-get install dialog libxcb-xinerama0-dev
Reconfigure the Packet Tracer package: Once the dependencies are installed, reconfigure the Packet Tracer package to ensure that it is set up properly:
sudo dpkg --configure packettracer
Fix any remaining dependencies: If you encounter any other missing dependencies, run the following command to fix them:
sudo apt-get install -f
This command will try to automatically resolve any remaining dependency issues and configure the package correctly.
After completing these steps, Packet Tracer should be installed and functioning correctly on your system. Let me know if you face any other issues!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide