[Solved] Error installing luci-app-samba

Hello.

I tried to follow the https://openwrt.org/docs/guide-user/services/nas/usb-storage-samba-webinterface page, but it do not install and i didn't realise what's the problem. I had tried opkg install luci-app-samba, had run opgk update and still get the same error. Tried on Luci and SSH.

Executing package manager
Installing luci-app-samba (git-20.131.47987-bcdb9fd-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/mipsel_24kc/luci/luci-app-samba_git-20.131.47987-bcdb9fd-1_all.ipk
Installing luci-compat (git-20.131.47987-bcdb9fd-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/mipsel_24kc/luci/luci-compat_git-20.131.47987-bcdb9fd-1_all.ipk
Errors
Collected errors:
 * check_data_file_clashes: Package luci-compat wants to install file /usr/lib/lua/luci/tools/webadmin.lua
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/add.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/apply.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/arrow.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/down.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/download.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/edit.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/fieldadd.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/file.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/find.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/folder.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/help.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/key.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/link.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/reload.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/remove.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/reset.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/save.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/up.gif
	But that file is already provided by package  * luci-base
 * check_data_file_clashes: Package luci-compat wants to install file /www/luci-static/resources/cbi/user.gif
	But that file is already provided by package  * luci-base
 * opkg_install_cmd: Cannot install package luci-app-samba.
The opkg install command failed with code 255.


OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.057.55219-13dd17f

Thank's in advace.

you could try opkg install --force-overwrite luci-compat

2 Likes

Yes, force-overwrite is safe in this case. The reported files recently have been moved from luci-base to luci-compat.

1 Like

It worked. I made it at Luci, just checked overwrite.

Good to know. I didn't know that a base change could result in this error.

Thank you both!

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.