Gcc install Busybox conflict

I’m trying to install gcc, but I’m getting these errors:

root@turris:~# opkg install gcc
Installing gcc (5.4.0-3.39) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/gcc_5.4.0-3_arm_cortex-a9_vfpv3.ipk
Installing binutils (2.27-1.37) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/base/binutils_2.27-1_arm_cortex-a9_vfpv3.ipk
Collected errors:
 * check_data_file_clashes: Package binutils wants to install file /bin/strings
        But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package gcc.

How can I fix this? Thanks.

The problem is in binutils and not in gcc itself. By default, /bin/string is a symlink to the Busybox binary. The binutils package contains a “heavyweight” version of /bin/string and should treat the default symlink correctly. There is a bug which would be fixed soon (see https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/549).

1 Like