Issues installing Gns3

Looking for some information as to why I cannot install Gns3. I’ve searched around the forum however I’m a bit perplexed how it seems that my issue is rather unique.

Error message:

└──╼ $sudo apt install gns3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 gns3 : Depends: python-qt4 (>= 4.5) but it is not installable
E: Unable to correct problems, you have held broken packages.




+ **Logs/Terminal output** *(use pastebin or similar services)***:**  

+ **Screenshots:**  



The GNS3 in the repo is old and apparently no longer supported. The proper way to install the latest GNS3 on Linux is documented on the GNS3 website.

For Debian Buster Refresh your metadata, and install the following packages:

sudo apt update
sudo apt install -y python3-pip python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebsockets qemu qemu-kvm qemu-utils libvirt-clients libvirt-daemon-system virtinst wireshark xtightvncviewer apt-transport-https ca-certificates curl gnupg2 software-properties-common

Then install GNS3 from Pypi:

pip3 install gns3-server
pip3 install gns3-gui

And launch from terminal (or create icon) by running


1 Like

PS: You will also need to install ubridge, which is no longer in the Parrot repository.

sudo nano /etc/apt/sources.list

Add the following repositories to sources.list:

deb bionic main
deb-src bionic main

Add the GPG key:

sudo apt-key adv --keyserver --recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B

Then run

sudo apt-get update
sudo apt install dynamips ubridge

Go back to sources.list and uncomment the 2 added repositories.

1 Like

Let me try debian packaging for this gns3. totally forgot about it

Thank you.

1 Like

Everything seems good. I’ll do actual packaging for it. And then try with the GNS3-server

gns3-gui, gns3-server, ubridge is almost ready. Basic debian packaging is completed. I just need to complete the whole debian standard which is pain in the arse and wait them to be on the repository.
p/s: dynamips is on repository but outdated and i’ll update it as well

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.