mininet / mininet

Emulator for rapid prototyping of Software Defined Networks

Home Page:https://mininet.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occurred when installing mininet using a script

zfloat opened this issue · comments

When I install Mininet using a new virtual machine, an error message appears as shown in the following figure. May I know how to resolve it.

图片

commented

I recommend trying to read and understand error messages. I also recommend pasting text rather than a screenshot.

In this case it seems to be telling you that the libc-bin installation is failing with a strange error, /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link, and that this error is preventing openvswitch-switch from installing. Note that file is not normally present on Ubuntu (nor is /usr/lib/wsl for that matter.)

I am sure you will agree that this doesn't look like a Mininet error at all and is almost certainly a problem with your environment.

Can you confirm that:

  1. sudo apt-get install libc-bin works properly
  2. sudo apt-get install openvswitch-switch works properly
  3. You are installing Mininet on a real Ubuntu 20.04 VM running on a regular hypervisor such as VirtualBox or VMware (or Hyper-V?)

Jan 31 20:57:20 test systemd[1]: Dependency failed for Open vSwitch.
Jan 31 20:57:20 test systemd[1]: openvswitch-switch.service: Job openvswitch-switch.service/start failed with result 'de
pendency'.
error occurs