cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13120
Views
4
Helpful
15
Replies

Packet tracer kali linux

Belal Ebrahim
Level 1
Level 1

i try to install it on kali but this error still exist 

The following packages have unmet dependencies:
packettracer: Depends: libgl1-mesa-glx but it is not installable
15 Replies 15

Gopinath_Pigili
Spotlight
Spotlight

Hello Belal Ebrahim,

Please check you system is meeting following hardware and software requirements for Cisco Packet Tracer 8.2 (64 bit):

  • Computer with one of the following operating systems: Microsoft Windows 8.1, 10, 11 (64bit), Ubuntu 20.04, 22.04 LTS (64bit) or macOS 10.14 or newer. 
    • amd64(x86-64) CPU
    • 4GB of free RAM
    • 1.4 GB of free disk space
  • Run the command "sudo apt-get install <absolute path to the .deb file>" and follow the instructions shown on your screen.
    (Note that using "sudo dpkg -i <absolute path to the .deb file>" will not install the dependencies needed).
  • if you have errors with the installation... finally try with sudo apt --fix-broken install (or) sudo apt --fix-missing update command at termianl

Best regards
******* If This Helps, Please Rate *******

 

Gopinath_Pigili
Spotlight
Spotlight

 try with sudo apt --fix-broken install (or) sudo apt --fix-missing update commands from termianl

For reference go through the video: https://www.youtube.com/watch?v=Nf1t92zY3E8&t=100s

Best regards
******* If This Helps, Please Rate *******

In this video, I will gonna show How To Install Cisco Packet Tracer in Kali Linux step by step. Packet Tracer is a cross-platform visual simulation tool designed by Cisco Systems that allows users to create network topologies and imitate modern computer networks. The software allows users to ...

└─$ sudo apt --fix-missing update
Get:1 https://linux.teamviewer.com/deb stable InRelease [11.9 kB]
Get:3 https://linux.teamviewer.com/deb stable/main amd64 Packages [7848 B]
Get:4 https://linux.teamviewer.com/deb stable/main i386 Packages [7337 B]
Hit:2 http://kali.download/kali kali-rolling InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Err:5 http://security.ubuntu.com/ubuntu focal-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Reading package lists... Done
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
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.

----

└─$ sudo apt-get install ./CiscoPacketTracer_821_Ubuntu_64bit.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'packettracer' instead of './CiscoPacketTracer_821_Ubuntu_64bit.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.




$ sudo apt --fix-missing update
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:2 https://linux.teamviewer.com/deb stable InRelease
Hit:3 http://kali.download/kali kali-rolling InRelease
Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Reading package lists... Done
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
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.

Ruben Cocheno
Spotlight
Spotlight

@Belal Ebrahim 

 sudo apt --fix-missing update --allow-unauthenticated

There is also a Docker container that might works better for you if it is the case

https://github.com/frzifus/docker-packet-tracer

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

┌──(belal㉿kali)-[~]
└─$ sudo apt --fix-missing update --allow-unauthenticated
[sudo] password for belal:
Hit:2 https://linux.teamviewer.com/deb stable InRelease
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:1 http://kali.download/kali kali-rolling InRelease
Err:3 http://security.ubuntu.com/ubuntu focal-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Reading package lists... Done
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
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.

AnalystChris
Level 1
Level 1

I've been encountering this issue for nearly a month and thus was how I solved it.

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!!

This worked for me, after days trying, I'm a Kali Linux user for pentesting study

Nice, BUT somebody left just the files for RISC architecture, so, for AMD64, I have used THIS (re)source:

# DOWNLOAD required package MANUALLY !!!
~ Libgl1-mesa-glx Download (DEB)
https://pkgs.org/download/libgl1-mesa-glx

~ Debian Main amd64 (Official):
libgl1-mesa-glx_22.3.6-1+deb12u1_amd64.deb Debian 12 Download
https://debian.pkgs.org/12/debian-main-amd64/libgl1-mesa-glx_22.3.6-1+deb12u1_amd64.deb.html

http://ftp.de.debian.org/debian/pool/main/m/mesa/libgl1-mesa-glx_22.3.6-1+deb12u1_amd64.deb

And, now do what you have mentioned in your solution:


``` z-bash
# SO, use this package for your computer architecture AMD64 !!!
┌──(dragancajic㉿kali)-[~/Downloads]
└─$ sudo dpkg -i libgl1-mesa-glx_22.3.6-1+deb12u1_amd64.deb

# FINALLY, NOW install Packet Tracer 8.2.2 for Debian/KALI Linux √
┌──(dragancajic㉿kali)-[~/Downloads]
└─$ sudo dpkg -i Packet_Tracer822_amd64_signed.deb

┌──(dragancajic㉿kali)-[~/Downloads]
└─$ packettracer --version
Starting Packet Tracer 8.2.2
```

Hava a nice day and CHEERS!

P.S. Just a couple of screenshots to have for your convenience!
So, let's see what we have here:

69jr
Level 1
Level 1

Real Hero. Followed the steps and got it installed finally.

kimalab
Level 1
Level 1

Hi everyone! I am trying to use PT 822 for the first time, i have tried on Kali and Mint and i get a error on both. libgl1-mesa-glx it is not installable and there is no installation candidate. On some Kali forums i have red that is a bug on Cisco side. Its been 2 days already that i am trying to make this work. Does anyone has a solution, or an link to get an older version of PT? Thank you!

Hello Kimalab, 

Have you tried...AnalystChris's solution...?

 It worked for others..!!

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!!

 

Hey! thank you. It did not work on the machine i wanted. I have tried on a different one and it did

Hi try from the following link...

https://packages.debian.org/sid/libgl1-mesa-glx

Best regards
******* If This Helps, Please Rate *******

Review Cisco Networking for a $25 gift card