mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 11:59:40 +01:00
With --force-overwrite (implied by --force-all), dpkg will not abort when a package overwrites files from different packages. As this can also lead to "The following package disappeared from your system as all files have been overwritten by other packages: <package>" and subsequently broken dependencies, this makes the simple case of conflicting files hard to debug. Instead of finding all possibly required force options, only disable overwrite for now. (From OE-Core rev: 4292387ef6c4e80428bad6a07c844a288b27d9a1) Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
43 lines
860 B
Plaintext
43 lines
860 B
Plaintext
Dir "${STAGING_DIR_NATIVE}/"
|
|
{
|
|
State "var/lib/apt/"
|
|
{
|
|
Lists "#APTCONF#/lists/";
|
|
status "#ROOTFS#/var/lib/dpkg/status";
|
|
};
|
|
Cache "var/cache/apt/"
|
|
{
|
|
Archives "archives/";
|
|
pkgcache "";
|
|
srcpkgcache "";
|
|
};
|
|
Bin "${STAGING_BINDIR_NATIVE}/"
|
|
{
|
|
methods "${STAGING_LIBDIR}/apt/methods/";
|
|
gzip "/bin/gzip";
|
|
dpkg "dpkg";
|
|
dpkg-source "dpkg-source";
|
|
dpkg-buildpackage "dpkg-buildpackage";
|
|
apt-get "apt-get";
|
|
apt-cache "apt-cache";
|
|
};
|
|
Etc "#APTCONF#"
|
|
{
|
|
Preferences "preferences";
|
|
};
|
|
};
|
|
|
|
APT
|
|
{
|
|
Install-Recommends "true";
|
|
Immediate-Configure "false";
|
|
Architecture "i586";
|
|
Get
|
|
{
|
|
Assume-Yes "true";
|
|
Force-Yes "true"
|
|
};
|
|
};
|
|
|
|
DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-force-overwrite";"--no-debsig"};
|