LS1012A NXP Yocto: Transaction test error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1012A NXP Yocto: Transaction test error

Jump to solution
2,066 Views
epoletaev
Contributor III
Error: Transaction test error:
file /usr/sbin/update-rc.d conflicts between attempted installs of update-rc.d-0.8-r0.noarch and ubuntu-main-22.04.1-r0.aarch64
file /usr/sbin/service conflicts between attempted installs of init-system-helpers-service-1.62-r0.aarch64 and ubuntu-main-22.04.1-r0.aarch64
 
I updated repo, removed build* folder and compiled everything from scratch, but getting the same error
 
Full log on pastebin - https://pastebin.com/vYBE1kvD
Tags (1)
0 Kudos
Reply
1 Solution
1,808 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please also add "init-system-helpers-service" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

 

View solution in original post

0 Kudos
Reply
6 Replies
2,022 Views
Irene
NXP Pro Support
NXP Pro Support

Can you copy the log into the ticket? 

What steps did you follow to build?

Which processor are you building for?

0 Kudos
Reply
2,007 Views
epoletaev
Contributor III

CPU: LS1012A (RDB)

Full steps:

 

repo init -u https://github.com/nxp-qoriq/yocto-sdk -b kirkstone -m ls-5.15.71-2.2.0_distro.xml
repo sync
. setup-env -m ls1012ardb
cd ..
DISTRO=fsl-qoriq-distro MACHINE=ls1012ardb source distro-setup-env
echo "INIT_MANAGER=\"none\"" >> conf/local.conf
bitbake  ls-image-lite

 

From my experience full steps should work. Issue happens on next builds, I don't know, something happens on servers or what but build suddenly starts failing.

Steps in this build:

 

cd src6
rm -rf build_ls1012ardb
repo sync
. setup-env -m ls1012ardb
cd ..
DISTRO=fsl-qoriq-distro MACHINE=ls1012ardb source distro-setup-env
bitbake  ls-image-lite

 

Log is attached, I cannot post it in message because it exceeds limits

0 Kudos
Reply
1,953 Views
epoletaev
Contributor III

I did rebuild from scratch using full steps and get the same error.

Seems `kirkstone` branch does not compile anymore.

0 Kudos
Reply
1,886 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please add "update-rc.d" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

0 Kudos
Reply
1,867 Views
epoletaev
Contributor III

Thanks! Tried that, but getting next error:

Error: Transaction test error:
file /usr/sbin/service conflicts between attempted installs of init-system-helpers-service-1.62-r0.aarch64 and ubuntu-main-22.04.1-r0.aarch64

ERROR: Task (/home/ubuntu/src7/sources/meta-nxp-desktop/recipes-fsl/images/ls-image-lite.bb:do_rootfs) failed with exit code '1'

0 Kudos
Reply
1,809 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please also add "init-system-helpers-service" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

 

0 Kudos
Reply