Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error: unable to allocate pty: No such device

442 views
Skip to first unread message

haryy

unread,
Mar 11, 2024, 11:11:50 AM3/11/24
to kiwi
Hello Kiwi Gurus,

I am trying to build Ubuntu 23.04 using the example appliance. The host is a fresh install of Ubuntu 23.04 with minimal dependencies added for kiwi. I can successfully build an ISO that works as expected for the first ~5 builds. Then I will run into this error "sudo: unable to allocate pty: No such device" and I cannot figure out how to fix it. I will normally spin up a new VM (on vSphere) and use that and it will work again but after ~5 builds I run into this same error. I can reboot the VM and I still get the same error as well. Have you ever scene this error? Is there an easy fix I am missing?

I checked with ChatGPT and the fixes it provided did not work and I confirmed devpts is mounted as show by ChatGPT as well

error-0.png

error-1.png

Thank you
-haryy

haryy

unread,
Mar 11, 2024, 11:53:11 AM3/11/24
to kiwi
I did try running this without sudo by logging in as root but I get the same error

haryy

unread,
Mar 11, 2024, 12:28:10 PM3/11/24
to kiwi
Also just double checked and the I am using python 3.10.12
Reply all
Reply to author
Forward
0 new messages