Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_data_file_clashes: Package libgcc1 wants to install file /lib/libgcc_s.so.1 But that file is already provided by package * libgcc #32

Open
typekpb opened this issue Apr 6, 2019 · 2 comments

Comments

@typekpb
Copy link
Contributor

typekpb commented Apr 6, 2019

building the Dockerfile:

FROM progrium/busybox:latest

RUN opkg-install coreutils-timeout

results in:

Downloading http://downloads.lede-project.org/snapshots/targets/x86/64/packages//Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/targets/x86/64/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/core.
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/base/Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/packages/x86_64/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/base.
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/luci/Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/packages/x86_64/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/luci.
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/packages/Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/packages/x86_64/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/packages.
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/routing/Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/packages/x86_64/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/routing.
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/telephony/Packages.gz.
Inflating http://downloads.lede-project.org/snapshots/packages/x86_64/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/telephony.
Installing coreutils-timeout (8.30-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/packages/coreutils-timeout_8.30-1_x86_64.ipk.
Installing coreutils (8.30-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/packages/coreutils_8.30-1_x86_64.ipk.
Installing librt (1.1.21-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/x86/64/packages//librt_1.1.21-1_x86_64.ipk.
Installing libpthread (1.1.21-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/x86/64/packages//libpthread_1.1.21-1_x86_64.ipk.
Installing libgcc1 (7.4.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/x86/64/packages//libgcc1_7.4.0-1_x86_64.ipk.
Configuring coreutils.
Collected errors:
 * check_data_file_clashes: Package libgcc1 wants to install file /lib/libgcc_s.so.1
        But that file is already provided by package  * libgcc
 * opkg_install_cmd: Cannot install package coreutils-timeout.

sounds like a package error, what would be the proper place to report it?

@typekpb
Copy link
Contributor Author

typekpb commented Apr 6, 2019

ok, workaround found (here openwisp/luci-openwisp#1 (comment)):

FROM progrium/busybox:latest

RUN \
    mv /lib/libgcc_s.so.1 /lib/libgcc_s.so.1.bak && \
    opkg-install coreutils-timeout

would be anyway interested to know where to report => keeping open

@henrisokka
Copy link

I was able to install packages using --force-overwrite flag for opkg-install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants