On 12/20/2014 07:59 PM, Gergely Kiss wrote: > Hi Steven, > > I found an issue regarding your most recent commit > (65d8897100012b948e29b9d3ee71b468df6afac4) for the shadow package. > > The packages shadow-su and shadow-passwd are now causing file conflicts in > case the corresponding BusyBox-commands are compiled into the image (passwd > is included by default). > > As an example, libpq depends on shadow-utils which would install all of the > shadow packages including shadow-passwd which makes package installation fail: > > Collected errors: > * check_data_file_clashes: Package shadow-passwd wants to install file > /usr/bin/passwd > But that file is already provided by package * busybox > * opkg_install_cmd: Cannot install package shadow. > > Do you have any idea how to fix this? This bug prevents to install the > seafile packages I have recently contributed. :( > > > Thanks, > Gergely >
I've recompiled the packages using the same sources, and noticed that my version has different dependencies: ******************************* root@OpenWrt:~# opkg info shadow-utils Package: shadow-utils Version: 4.2.1-3 Depends: libc, shadow Status: unknown ok not-installed Section: utils Architecture: ar71xx Maintainer: Steven Barth <cy...@openwrt.org> MD5Sum: 6e7ec717b185b2f5354cbf8565d4e220 Size: 903 Filename: shadow-utils_4.2.1-3_ar71xx.ipk Source: feeds/packages/utils/shadow Description: Full versions of standard shadow utilities. Normally, you would not use this package, since the functionality in BusyBox is more than sufficient and much smaller. Package: shadow-utils Version: 4.2.1-4 Depends: libc Status: install user installed Section: utils Architecture: ar71xx Maintainer: Steven Barth <cy...@openwrt.org> MD5Sum: c332d38c847fd0845e6d10f18bb33014 Size: 894 Filename: shadow-utils_4.2.1-4_ar71xx.ipk Source: feeds/packages/utils/shadow Description: Full versions of standard shadow utilities. Normally, you would not use this package, since the functionality in BusyBox is more than sufficient and much smaller. Installed-Time: 1419111250 ******************************* I believe this is how it should work, now the conflict is gone as only the required components are installed by opkg. I'm going to create a pull request soon providing a fix for this. Regards, Gergely _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel