Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNS3-VM v2.2.27 no longer supports IOU #3267

Closed
b-ehlers opened this issue Dec 3, 2021 · 1 comment
Closed

GNS3-VM v2.2.27 no longer supports IOU #3267

b-ehlers opened this issue Dec 3, 2021 · 1 comment
Labels
Milestone

Comments

@b-ehlers
Copy link

b-ehlers commented Dec 3, 2021

Describe the bug

Community:
https://gns3.com/community/discussions/iou-l2-l3-not-run-32-bit-binary-support-is-probably-not-installed
https://gns3.com/community/featured/cannot-start-iou-l2-l3-images-on-2-2-27

On a freshly downloaded GNS3-VM v2.2.27 trying to run an IOU image fails with No such file or directory, even though the IOU image exists and is executable.

gns3@gns3vm:~$ file i86bi-linux-l3-adventerprisek9-15.4.1T.bin
i86bi-linux-l3-adventerprisek9-15.4.1T.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped
gns3@gns3vm:~$ ./i86bi-linux-l3-adventerprisek9-15.4.1T.bin
-bash: ./i86bi-linux-l3-adventerprisek9-15.4.1T.bin: No such file or directory

Running the same commands works fine on a freshly downloaded GNS3VM v2.2.26.

GNS3 version and operating system

  • OS: Linux
  • GNS3 version 2.2.27
  • using official GNS3 VM

To Reproduce
Steps to reproduce the behavior:

  1. Upload IOU image to GNS3VM
  2. Start image

Additional context

The following log shows, that with GNS3-VM v2.2.27 the package gns3-iou is not installed. Trying to install it fails, because i386 architecture is not enabled. After doing that and installing gns3-iou, the IOU image correctly starts.

gns3@gns3vm:~$ dpkg -l | grep gns3-iou
gns3@gns3vm:~$ apt-cache search gns3-iou
gns3@gns3vm:~$ sudo apt-get update
Get:1 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]   
Get:3 http://ppa.launchpad.net/gns3/ppa/ubuntu focal InRelease [17.5 kB]       
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:6 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [12.9 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:8 http://ppa.launchpad.net/gns3/ppa/ubuntu focal/main amd64 Packages [1,824 B]
Get:9 http://ppa.launchpad.net/gns3/ppa/ubuntu focal/main Translation-en [996 B]
Get:10 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,062 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [196 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [560 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [80.2 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [663 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [111 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,386 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [281 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [606 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [86.8 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [877 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [190 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,212 B]
Get:26 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,628 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5,124 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [41.2 kB]
Get:29 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [9,732 B]
Get:30 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [18.9 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [7,524 B]
Fetched 22.1 MB in 4s (5,002 kB/s)                            
Reading package lists... Done
gns3@gns3vm:~$ apt-cache search gns3-iou
gns3-iou - GNS3 support for IOU
gns3@gns3vm:~$ sudo apt-get install gns3-iou
Reading package lists... Done
Building dependency tree       
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-iou : Depends: libssl1.0.0:i386 but it is not installable or
                     libssl1.1:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
gns3@gns3vm:~$ sudo dpkg --add-architecture i386
gns3@gns3vm:~$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/gns3/ppa/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-security InRelease                
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease                 
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease            
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-security/main i386 Packages [343 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security/restricted i386 Packages [20.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-security/universe i386 Packages [520 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [570 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [21.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [649 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8,112 B]
Get:15 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages [4,642 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [33.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [10.5 kB]
Fetched 7,536 kB in 2s (3,428 kB/s)                          
Reading package lists... Done
gns3@gns3vm:~$ sudo apt-get install gns3-iou
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gcc-10-base:i386 lib32z1 libc6:i386 libc6-i386 libcrypt1:i386 libgcc-s1:i386
  libidn2-0:i386 libssl1.1 libssl1.1:i386 libunistring2:i386
Suggested packages:
  glibc-doc:i386 locales:i386
The following NEW packages will be installed:
  gcc-10-base:i386 gns3-iou lib32z1 libc6:i386 libc6-i386 libcrypt1:i386
  libgcc-s1:i386 libidn2-0:i386 libssl1.1:i386 libunistring2:i386
The following packages will be upgraded:
  libssl1.1
1 upgraded, 10 newly installed, 0 to remove and 26 not upgraded.
Need to get 8,582 kB of archives.
After this operation, 34.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/gns3/ppa/ubuntu focal/main amd64 gns3-iou amd64 0.0.3~focal1 [1,576 B]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.9 [1,321 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-security/main i386 gcc-10-base i386 10.3.0-1ubuntu1~20.04 [20.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-security/main i386 libgcc-s1 i386 10.3.0-1ubuntu1~20.04 [49.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/main i386 libcrypt1 i386 1:4.4.10-10ubuntu4 [90.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main i386 libc6 i386 2.31-0ubuntu9.2 [2,572 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main i386 libssl1.1 i386 1.1.1f-1ubuntu2.9 [1,319 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-i386 amd64 2.31-0ubuntu9.2 [2,723 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 lib32z1 amd64 1:1.2.11.dfsg-2ubuntu1.2 [56.5 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/main i386 libunistring2 i386 0.9.10-2 [377 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/main i386 libidn2-0 i386 2.2.0-2 [51.4 kB]
Fetched 8,582 kB in 1s (13.7 MB/s)    
Preconfiguring packages ...
(Reading database ... 42649 files and directories currently installed.)
Preparing to unpack .../00-libssl1.1_1.1.1f-1ubuntu2.9_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.9) over (1.1.1f-1ubuntu2.8) ...
Selecting previously unselected package gcc-10-base:i386.
Preparing to unpack .../01-gcc-10-base_10.3.0-1ubuntu1~20.04_i386.deb ...
Unpacking gcc-10-base:i386 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libgcc-s1:i386.
Preparing to unpack .../02-libgcc-s1_10.3.0-1ubuntu1~20.04_i386.deb ...
Unpacking libgcc-s1:i386 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libcrypt1:i386.
Preparing to unpack .../03-libcrypt1_1%3a4.4.10-10ubuntu4_i386.deb ...
Unpacking libcrypt1:i386 (1:4.4.10-10ubuntu4) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../04-libc6_2.31-0ubuntu9.2_i386.deb ...
Unpacking libc6:i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package libssl1.1:i386.
Preparing to unpack .../05-libssl1.1_1.1.1f-1ubuntu2.9_i386.deb ...
Unpacking libssl1.1:i386 (1.1.1f-1ubuntu2.9) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../06-libc6-i386_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-i386 (2.31-0ubuntu9.2) ...
Replaced by files in installed package libc6:i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package lib32z1.
Preparing to unpack .../07-lib32z1_1%3a1.2.11.dfsg-2ubuntu1.2_amd64.deb ...
Unpacking lib32z1 (1:1.2.11.dfsg-2ubuntu1.2) ...
Selecting previously unselected package gns3-iou.
Preparing to unpack .../08-gns3-iou_0.0.3~focal1_amd64.deb ...
Unpacking gns3-iou (0.0.3~focal1) ...
Selecting previously unselected package libunistring2:i386.
Preparing to unpack .../09-libunistring2_0.9.10-2_i386.deb ...
Unpacking libunistring2:i386 (0.9.10-2) ...
Selecting previously unselected package libidn2-0:i386.
Preparing to unpack .../10-libidn2-0_2.2.0-2_i386.deb ...
Unpacking libidn2-0:i386 (2.2.0-2) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.9) ...
Setting up gcc-10-base:i386 (10.3.0-1ubuntu1~20.04) ...
Setting up libc6-i386 (2.31-0ubuntu9.2) ...
Setting up lib32z1 (1:1.2.11.dfsg-2ubuntu1.2) ...
Setting up libcrypt1:i386 (1:4.4.10-10ubuntu4) ...
Setting up libgcc-s1:i386 (10.3.0-1ubuntu1~20.04) ...
Setting up libc6:i386 (2.31-0ubuntu9.2) ...
Setting up libssl1.1:i386 (1.1.1f-1ubuntu2.9) ...
Setting up libunistring2:i386 (0.9.10-2) ...
Setting up libidn2-0:i386 (2.2.0-2) ...
Setting up gns3-iou (0.0.3~focal1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
gns3@gns3vm:~$ ./i86bi-linux-l3-adventerprisek9-15.4.1T.bin
***************************************************************
IOS On Unix - Cisco Systems confidential, internal use only
Under no circumstances is this software to be provided to any
non Cisco staff or customers.  To do so is likely to result
in disciplinary action. Please refer to the IOU Usage policy at
wwwin-iou.cisco.com for more information.
***************************************************************
@b-ehlers b-ehlers added the Bug label Dec 3, 2021
@grossmj grossmj added this to the 2.2.28 milestone Dec 7, 2021
@grossmj
Copy link
Member

grossmj commented Dec 7, 2021

Thanks, this has been fixed recently: https://github.com/GNS3/gns3-vm/blob/focal-stable/config/install.sh#L61-L62

@grossmj grossmj closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants