[Bug 1820604] Re: curtin fails to find itself in subiquity snap, when running on serial-subiquity at .service

Jim K 1820604 at bugs.launchpad.net
Tue Apr 30 02:16:52 UTC 2019


I received the error below, on a physical device.  The device is an
APU2D4 with a 120 GB mSATA SSD and has no video, so I was using the
serial port as a putty terminal.

vendor site on the device:  https://www.pcengines.ch/apu2d4.htm

I was following this article to use the serial port during install:

http://www.sundby.com/index.php/install-ubuntu-16-04-with-usb-stick-and-
serial-console/

I was using the ubuntu-18.04.2-live-server-amd64.iso image loaded on the
USB with RUFUS.

An error occurred during installation

┌──────────────────────────── Full installer output ───────────────────────────┐
│Traceback (most recent call last):                                            │
│  File "/snap/subiquity/664/usr/lib/python3.6/runpy.py", line 193, in         │
│_run_module_as_main                                                           │
│    "__main__", mod_spec)                                                     │
│  File "/snap/subiquity/664/usr/lib/python3.6/runpy.py", line 85, in _run_code│
│    exec(code, run_globals)                                                   │
│  File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/__main__.py",  │
│line 4, in <module>                                                           │
│    sys.exit(main())                                                          │
│  File                                                                        │
│"/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/main.py",    │
│line 177, in main                                                             │
│    raise OSError("Unable to find helpers or 'curtin' exe to add to path")    │
│OSError: Unable to find helpers or 'curtin' exe to add to path                │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
                                 [ Close      ]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1820604

Title:
  curtin fails to find itself in subiquity snap, when running on serial-
  subiquity at .service

Status in curtin:
  Invalid
Status in subiquity:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Bionic:
  Triaged

Bug description:
  serial-subiquity at .service runs very differently to the tty1 subiquity.

  In seiral-subiquity@ case, it doesn't block starting on snapd as it
  doesn't use /usr/bin/snap run.

  Also, it doesn't execute subiquity.subiquity-service script, meaning
  that PATH setting there is not exported, causing troubles for curtin
  to reexec itself, or to find the right python in $PATH.

  
  Fix that in both livecd-rootfs & subiquity.

  https://github.com/CanonicalLtd/subiquity/pull/428
  https://code.launchpad.net/~xnox/livecd-rootfs/+git/livecd-rootfs/+merge/364888

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1820604/+subscriptions



More information about the foundations-bugs mailing list