I'm trying to install ns3
and, before that, I need to run the command below:
sudo apt install gir1.2-goocanvas-2.0 python-gi python-gi-cairo python-pygraphviz python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython ipython3
After running this command, I get this error:
The following packages have unmet dependencies:
ipython : Depends: python-ipython (= 5.5.0-1) but it is not going to be installed
python-gi : Depends: python2 (< 2.8) but it is not going to be installed
Depends: python2 (>= 2.7~) but it is not going to be installed
Depends: python2:any (< 2.8)
Depends: python2:any (>= 2.7~)
python-gi-cairo : Depends: python-cairo (>= 1.11.1) but it is not going to be installed
Depends: python2 (< 2.8) but it is not going to be installed
Depends: python2 (>= 2.7~) but it is not going to be installed
Depends: python2:any (< 2.8)
Depends: python2:any (>= 2.7~)
E: Unable to correct problems, you have held broken packages.
What should I do to solve this problem?