Please back port install fix to 14.04
new install 1.7.0cr1 on Ubuntu 14.10 fails to locate system sync-exclude.lst #2442
If you look at this previous issue you will see that people are still having trouble. It would be good to fix the 14.04 install as it is the long term support version.
Cheers,
Which repo are you using? rc1 is old, 1.7.0 final is current.
My install is now working and is the latest version. There was a comment on the old issue #2442 that another user had the same issue I did on 14.04. I assume he was using deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/
Once he did a dist upgrade it started working.
My concern is that 14.04 is a lts version of ubuntu so it is likely there are more people having or going to have problems as they migrate up to 14.04.
I did note the comment on #2442 that looking back the deb installer seemed to have been broken for a while. I do not know if the fix made to 14.10 made it's way back.
Huh? OBS does not produce packages that exhibit a different behavior between 14.10 and 14.04. If it works on 14.04, it works on 14.10 and vice versa. If it now works for one, it will work for the other as well.
The point is that the file is in libowncloudsync0, not owncloud-client. So uninstalling and reinstalling owncloud-client yields nothing. The dist-upgrade on the other hand did, as would have an 'upgrade'.
@jnweiger has insights in this problem, its tricky.
Insight:
$ apt-get remove libowncloudsync0 $ dpkg -L libowncloudsync0
makes $user unhappy, as it still shows /etc/ownCloud/sync-exclude.lst as installed. And it is installed. So $user manually deletes /etc/ownCloud/sync-exclude.lst and is surprised that from that point on, all newly installed clients complain about missing /etc/ownCloud/sync-exclude.lst
The catch is, that dpkg remembers manually deleted files as "should never" come back. Several ugly solutions exist:
$ apt-get purge libowncloudsync0 $ echo force-confmiss > /etc/dpkg/dpkg.cfg.d/global-confmiss $ sed -i -e '/\/etc\/ownCloud\/sync\-exclude\.lst/d' /var/lib/dpkg/status
I am testing an automatic solution via preinst/postinst scripts from within the libowncloudsync0 package itself.
Maybe related : #2592
debian.libowncloudsync0.postinst debian.libowncloudsync0.preinst added to
https://build.opensuse.org/package/show/isv:ownCloud:community:testing/owncloud-client https://build.opensuse.org/package/show/isv:ownCloud:community:nightly/owncloud-client
Can this be closed?
Yes, closed here. pre/post scripts are in place at https://build.opensuse.org/package/show/isv:ownCloud:desktop/owncloud-client But see also https://github.com/owncloud/client/issues/2821