LS1012A NXP Yocto: Transaction test error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1012A NXP Yocto: Transaction test error

ソリューションへジャンプ
1,394件の閲覧回数
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
タグ(1)
0 件の賞賛
返信
1 解決策
1,136件の閲覧回数
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 件の賞賛
返信
6 返答(返信)
1,350件の閲覧回数
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 件の賞賛
返信
1,335件の閲覧回数
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 件の賞賛
返信
1,281件の閲覧回数
epoletaev
Contributor III

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

Seems `kirkstone` branch does not compile anymore.

0 件の賞賛
返信
1,214件の閲覧回数
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 件の賞賛
返信
1,195件の閲覧回数
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 件の賞賛
返信
1,137件の閲覧回数
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 件の賞賛
返信