Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Installation Failed Boost.Python error in job 'machineid'. (Read 4993 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Installation Failed Boost.Python error in job 'machineid'.

Installation Failed Boost.Python error in job 'machineid'.

<class 'subprocess.CalledProcessError'>
Command 'dbus-uuidgen --ensure' returned non-zero exit status 127

File "/usr/lib/calamares/modules/machineid/main.py:. line 64, in run check_target_env_call(["dbus-uuidgen", --ensure"])

File "<strings>", line 2, in <module>

I keep getting this when I try to install Artix on another one of my computers. Its a Toshiba Satellite C750 or 745 I think.
Its a quad-core 1.4ghz 64-bit laptop, in BIOS not UEFI. I installed Artix on a non-UEFI and a UEFI computer just fine but for some reason I am encountering this error. What's happening here? Is it not connecting to download the packages it needs? :S
I am using the latest LXQT Artix ISO from sourceforge, the newest one. I'm going to try to use the i3 one to see what happens with it.

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #1
I figured it out! It was the connection - I had to edit /etc/pacman.d/mirrorlist - changed the servers on the live USB to the ones on my main PC already running Artix:

Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = http://artix.wheaton.edu/repos/$repo/os/$arch/
Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://www.uex.dk/repos/artix/repos/$repo/os/$arch

^ those are the servers I added to the live USB, I did a sudo pacman -Syyu & then tried Calamares & it worked!

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #2
I figured it out! It was the connection - I had to edit /etc/pacman.d/mirrorlist - changed the servers on the live USB to the ones on my main PC already running Artix:

Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = http://artix.wheaton.edu/repos/$repo/os/$arch/
Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://www.uex.dk/repos/artix/repos/$repo/os/$arch

^ those are the servers I added to the live USB, I did a sudo pacman -Syyu & then tried Calamares & it worked!
But why is this ongoing issue?

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #3
The only way to find out is to run sudo -E calarares -d in terminal, and look at the output when the issue occurs again
If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #4
I've been having this exact same issue, right down to the error code! However, I tried what kenny_w did and pacman -Syyu failed (this was on the most recent install iso). I tried installing Artix with any iso I could find and it has constantly failed with the same error. Does anybody know why this keeps happening?
“My spirit will rise from the grave and the world will see I was right.”

t. A wise man

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #5
Weird, I can do pacman -Syyu no problem.. you commented out the other ones right?
You gotta have the ones I listed above, they're the ones I'm using right now.

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #6
I've been having this exact same issue, right down to the error code! However, I tried what kenny_w did and pacman -Syyu failed (this was on the most recent install iso). I tried installing Artix with any iso I could find and it has constantly failed with the same error. Does anybody know why this keeps happening?

Please run sudo -E calamares -d  in terminal, reproduce the issue, paste the output from terminal to any paste hosting site and link it here
If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #7
Please run sudo -E calamares -d in terminal, reproduce the issue, paste the output from terminal to any paste hosting site and link it here
Here you go:
https://ghostbin.com/paste/7evn4

EDIT: The first link only included the stuff at the end, so a more complete version is here: https://ghostbin.com/paste/fp82u
“My spirit will rise from the grave and the world will see I was right.”

t. A wise man

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #8
Code: [Select]
21:03:58 [1]: [PYTHON JOB]:  "Mode: 0o755" 
error: target not found: lxqt-common
warning: skipping target: compton
warning: skipping target: network-manager-applet
warning: skipping target: powertop
warning: skipping target: xdg-user-dirs
warning: skipping target: xdg-utils
warning: skipping target: terminus-font
21:04:06 [0]: Running "chroot" ("/tmp/calamares-root-xvn4bnzk", "pacman-key", "--init")
21:04:06 [0]: Finished. Exit code: 127
21:04:06 [0]: Target cmd ("pacman-key", "--init")
21:04:06 [0]: Target out "chroot: failed to run command ‘pacman-key’: No such file or directory"
21:04:06 [0]: Running "chroot" ("/tmp/calamares-root-xvn4bnzk", "pacman-key", "--populate", "archlinux", "artix")
21:04:06 [0]: Finished. Exit code: 127
21:04:06 [0]: Target cmd ("pacman-key", "--populate", "archlinux", "artix")
21:04:06 [0]: Target out "chroot: failed to run command ‘pacman-key’: No such file or directory"

From the looks of the log, it seems the pacman failed to find lxqt-common. Can you try check the contents of /etc/pacman.d/mirrorlist and /etc/pacman.d/mirrorlist-arch

Also, while you're at live session, run the command sudo pacman -Syyu in there and paste the output of it. I have feeeling the installation fails because of pacman errors itself...
If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #9
"error: target not found: lxqt-common" looks to me that this is the error it would appear, checking pamac, that lxqt-common has been removed so in the calamares package selection untick it.

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #10
I have just update the netgroup (And also iso-profiles) to replace lxqt-common with lxqt-themes

@Endymyon ,  please try to do the installations again

https://github.com/artix-linux/netgroups/commit/a0d047c72671566a85c12952376293870134944c
https://github.com/artix-linux/iso-profiles/commit/0ca86c6c612c3cc34b12f3ded4823affa0dde544

Special thanks to @robin0800 for noticing it
And also @Endymyon for posting the logs !
If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #11
I have just update the netgroup (And also iso-profiles) to replace lxqt-common with lxqt-themes

@Endymyon ,  please try to do the installations again

https://github.com/artix-linux/netgroups/commit/a0d047c72671566a85c12952376293870134944c
https://github.com/artix-linux/iso-profiles/commit/0ca86c6c612c3cc34b12f3ded4823affa0dde544

Special thanks to @robin0800 for noticing it
And also @Endymyon for posting the logs !

Many thanks @thefallenrat!
“My spirit will rise from the grave and the world will see I was right.”

t. A wise man

Re: Installation Failed Boost.Python error in job 'machineid'.

Reply #12
This problem has begun to re-occur, I've made a new thread about it.

https://artixlinux.org/forum/index.php?topic=203.0

Gonna mark this one as 'solved', go to the weblink above if you are encountering a similar problem