Skip to contentSkip to conversation

package_rpm and file conflicts.

DISCUSSION Randall 2 participants 2 messages Mar 23, 2021

lore
Share & tools
lore

Randall

author
#0 lore raw

HI,

Building up a customization layer over the top of poke to install 3rd party RPM files at build time. These packages contain some basic global configuration changes for the destination environment.

Unfortunately I am getting RPM file conflicts (EG: /etc/network/interfaces) when I go to build. How can force the package installation allowing for the conflicting file from the custom layer to over write the files in the base packages?

EG:

Quoted 5 lines

file /etc/network/interfaces conflicts between attempted installs of router-1.0-r0.noarch and init-ifupdown-1.0-r7.qemuarm64 file /etc/udhcpc.d/50default conflicts between attempted installs of router-1.0-r0.noarch and busybox-udhcpc-1.24.1-r0.aarch64

#1 lore raw

Hi Randall,

Quoted 6 lines · Randall

HI,

Building up a customization layer over the top of poke to install 3rd party RPM files at build time. These packages contain some basic global configuration changes for the destination environment.

Unfortunately I am getting RPM file conflicts (EG: /etc/network/interfaces) when I go to build. How can force the package installation allowing for the conflicting file from the custom layer to over write the files in the base packages?

You cannot, you need to either not instal init-ifupdown and busybox-udhdpc or modify them to not install this file in your image.

Cheers,
Quentin