[yocto] conflicts between attempted installs of base-files-3.0.14-r89.prsg_x86_base and procps-3.3.12-r0.corei7_64

Vivek Berodhia vivek.berodhia at gmail.com
Thu Oct 19 00:19:48 PDT 2017


Hi All,

I am new to Yocto Project development, I am building core-image-minimal
with meta-secure-core for x86 platform. But facing issue in do_rootfs.
Issue may be simple but i have not found any solution after google a lot.
Please suggest where should i make changes, so that it will accept both
extension or generate all the files with same extension.

Main Error snippet:

Error: Transaction check error:
  file /etc/sysctl.conf conflicts between attempted installs of
base-files-3.0.14-r89.prsg_x86_base and procps-3.3.12-r0.corei7_64

Error Summary
-------------

Full Snippet:

vivek at LinuxServer:~/PRSG/poky/build$ bitbake core-image-minimal
Loading cache: 100%
|####################################################################################################################################################################|
Time: 0:00:00
Loaded 4170 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "prsg-x86-base"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3.2"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "pyro:717303e6fbcbbe181ad9645d762eb5a85d934523"
meta-intel        = "pyro:63de2abadfa8164e28575e412e2bd9c315840ddb"
meta-python
meta-networking
meta-filesystems
meta-oe           = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
meta-updater      = "pyro:36f1d8668a0ccdfe7f71f886a6829fb33be7cb48"
meta-rust         = "pyro:f6d973c5cacb9b52f32118caa879dcc7922d3c98"
meta-perl         = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
meta
meta-bsp-cellular-x86
meta-base-pkgs
meta-sdwan        = "master:8dda761d4eed1726b436c19ed30e38ef2c44f639"
meta              = "pyro:404a04a862a71a5a0fb1c20b6bc9fc9c8b2bb98c"
meta
meta-signing-key
meta-tpm
meta-tpm2
meta-efi-secure-boot
meta-integrity
meta-encrypted-storage = "master:a852a682270455fff886da8c2f3397a1516af2cb"

Initialising tasks: 100%
|###############################################################################################################################################################|
Time: 0:00:07
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: secure-core-image-initramfs-1.0-r0 do_rootfs: Could not invoke dnf.
Command
'/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/recipe-sysroot-native/usr/bin/dnf
-y -c
/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs/etc/dnf/dnf.conf
--setopt=reposdir=/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs/etc/yum.repos.d
--repofrompath=oe-repo,/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/oe-rootfs-repo
--installroot=/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs
--setopt=logdir=/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/temp
-x busybox-syslog --nogpgcheck install busybox initrdscripts-secure-core
packagegroup-tpm2-initramfs packagegroup-ima-initramfs
packagegroup-luks-initramfs run-postinsts base-passwd' returned 1:
Added oe-repo repo from
file:///home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:01 ago on Thu Oct 19 06:13:55 2017 UTC.
Dependencies resolved.
================================================================================
 Package                  Arch          Version                   Repository

Size
================================================================================
Installing:
 base-passwd              corei7_64     3.5.29-r0                 oe-repo
6.9 k
 busybox                  corei7_64     1.24.1-r0                 oe-repo
314 k
 initrdscripts-secure-core
                          corei7_64     1.0-r0                    oe-repo
7.2 k
 packagegroup-ima-initramfs
                          corei7_64     1.0-r0                    oe-repo
5.5 k
 packagegroup-luks-initramfs
                          corei7_64     1.0-r0                    oe-repo
5.5 k
 packagegroup-tpm2-initramfs
                          noarch        1.0-r0                    oe-repo
5.4 k
 run-postinsts            noarch        1.0-r9                    oe-repo
8.5 k
Installing dependencies:
 base-files               prsg_x86_base 3.0.14-r89                oe-repo
13 k
 bash                     corei7_64     4.3.30-r0                 oe-repo
400 k
 coreutils                corei7_64     8.26-r0                   oe-repo
846 k
 cryptfs-tpm2             corei7_64     0.6.0+git0+cf736b0fe0-r0  oe-repo
38 k
 cryptfs-tpm2-initramfs   corei7_64     0.6.0+git0+cf736b0fe0-r0  oe-repo
11 k
 cryptsetup               corei7_64     1.7.4-r0                  oe-repo
93 k
 eudev                    corei7_64     3.2.1-r0                  oe-repo
219 k
 gawk                     corei7_64     4.1.4-r0                  oe-repo
295 k
 grep                     corei7_64     3.0-r0                    oe-repo
112 k
 ima-evm-utils            corei7_64     1.0+git0+3e2a67bdb0-r0    oe-repo
25 k
 ima-policy               corei7_64     0.1-r0                    oe-repo
6.4 k
 initrdscripts-ima        corei7_64     1.0-r0                    oe-repo
7.3 k
 keyutils                 corei7_64     1.5.10+git0+308119c61e-r0 oe-repo
32 k
 kmod                     corei7_64     23+git0+65a885df5f-r0     oe-repo
60 k
 libacl1                  corei7_64     2.2.52-r0                 oe-repo
19 k
 libaio1                  corei7_64     0.3.110-r0                oe-repo
8.4 k
 libattr1                 corei7_64     2.4.47-r0                 oe-repo
13 k
 libblkid1                corei7_64     2.29.1-r0                 oe-repo
106 k
 libc6                    corei7_64     2.25-r0                   oe-repo
1.3 M
 libcap2                  corei7_64     2.25-r0                   oe-repo
14 k
 libcrypto1.0.2           corei7_64     1.0.2k-r0                 oe-repo
818 k
 libcurl4                 corei7_64     7.53.1-r0                 oe-repo
146 k
 libdevmapper             corei7_64     2.02.166-r0               oe-repo
199 k
 libexpat1                corei7_64     2.2.0-r0                  oe-repo
58 k
 libffi6                  corei7_64     3.2.1-r0                  oe-repo
20 k
 libgcc1                  corei7_64     6.3.0-r0                  oe-repo
41 k
 libglib-2.0-0            corei7_64     1:2.50.3-r0               oe-repo
937 k
 libgmp10                 corei7_64     6.1.2-r0                  oe-repo
216 k
 libgnutls30              corei7_64     3.5.9-r0                  oe-repo
480 k
 libidn11                 corei7_64     1.33-r0                   oe-repo
46 k
 libkmod2                 corei7_64     23+git0+65a885df5f-r0     oe-repo
36 k
 libmarshal0              corei7_64     1.1.0+git0+3fb91634e6-r0  oe-repo
9.8 k
 libmount1                corei7_64     2.29.1-r0                 oe-repo
114 k
 libncurses5              corei7_64     6.0+20161126-r0           oe-repo
63 k
 libpcre1                 corei7_64     8.40-r0                   oe-repo
87 k
 libpopt0                 corei7_64     1.16-r3                   oe-repo
27 k
 libreadline7             corei7_64     7.0-r0                    oe-repo
117 k
 libsapi0                 corei7_64     1.1.0+git0+3fb91634e6-r0  oe-repo
39 k
 libssl1.0.2              corei7_64     1.0.2k-r0                 oe-repo
142 k
 libstdc++6               corei7_64     6.3.0-r0                  oe-repo
348 k
 libtcti-device0          corei7_64     1.1.0+git0+3fb91634e6-r0  oe-repo
11 k
 libtcti-socket0          corei7_64     1.1.0+git0+3fb91634e6-r0  oe-repo
13 k
 libtinfo5                corei7_64     6.0+20161126-r0           oe-repo
52 k
 libudev1                 corei7_64     3.2.1-r0                  oe-repo
61 k
 libunistring2            corei7_64     0.9.7-r0                  oe-repo
366 k
 libuuid1                 corei7_64     2.29.1-r0                 oe-repo
12 k
 libz1                    corei7_64     1.2.11-r0                 oe-repo
48 k
 lvm2                     corei7_64     2.02.166-r0               oe-repo
916 k
 lvm2-udevrules           corei7_64     2.02.166-r0               oe-repo
12 k
 net-tools                corei7_64     1.60+26-r0                oe-repo
99 k
 nettle                   corei7_64     3.3-r0                    oe-repo
232 k
 openssl                  corei7_64     1.0.2k-r0                 oe-repo
196 k
 procps                   corei7_64     3.3.12-r0                 oe-repo
162 k
 sed                      corei7_64     4.2.2-r0                  oe-repo
68 k
 thin-provisioning-tools  corei7_64     0.6.3-r0                  oe-repo
359 k
 tpm2.0-tools             corei7_64     2.1.0+git0+97306d6dc1-r0  oe-repo
130 k
 update-alternatives-opkg corei7_64     0.3.4+git0+1a708fd73d-r0  oe-repo
8.3 k
 util-linux-blkid         corei7_64     2.29.1-r0                 oe-repo
37 k
 util-linux-mount         corei7_64     2.29.1-r0                 oe-repo
19 k
 util-linux-umount        corei7_64     2.29.1-r0                 oe-repo
16 k
Installing weak dependencies:
 busybox-udhcpc           corei7_64     1.24.1-r0                 oe-repo
7.8 k
 ca-certificates          noarch        20161130-r0               oe-repo
184 k
 key-store-ima-cert       corei7_64     0.1-r0                    oe-repo
6.8 k
 lvm2-scripts             corei7_64     2.02.166-r0               oe-repo
20 k
 ncurses-terminfo-base    corei7_64     6.0+20161126-r0           oe-repo
14 k
 openssl-conf             corei7_64     1.0.2k-r0                 oe-repo
9.6 k
 udev-cache               corei7_64     3.2.1-r0                  oe-repo
8.6 k
 update-rc.d              noarch        0.7-r5                    oe-repo
8.0 k

Transaction Summary
================================================================================
Install  75 Packages

Total size: 11 M
Installed size: 38 M
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /etc/sysctl.conf conflicts between attempted installs of
base-files-3.0.14-r89.prsg_x86_base and procps-3.3.12-r0.corei7_64

Error Summary
-------------


ERROR: secure-core-image-initramfs-1.0-r0 do_rootfs: Function failed:
do_rootfs
ERROR: Logfile of failure stored in:
/home/vivek/PRSG/poky/build/tmp/work/prsg_x86_base-poky-linux/secure-core-image-initramfs/1.0-r0/temp/log.do_rootfs.11892
ERROR: Task
(/home/vivek/PRSG/meta-secure-core/meta/recipes-core/images/secure-core-image-initramfs.bb:do_rootfs)
failed with exit code '1'
ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Error executing a
python function in exec_python_func() autogenerated:


-- 
Vivek Kr. Berodhia
Contact No. 09468486085
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171019/0287701e/attachment.html>


More information about the yocto mailing list