client icon indicating copy to clipboard operation
client copied to clipboard

Please back port install fix to 14.04

Open ornearius opened this issue 11 years ago • 10 comments

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,

ornearius avatar Dec 08 '14 23:12 ornearius

Which repo are you using? rc1 is old, 1.7.0 final is current.

danimo avatar Dec 09 '14 06:12 danimo

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.

ornearius avatar Dec 09 '14 07:12 ornearius

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.

danimo avatar Dec 09 '14 07:12 danimo

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'.

danimo avatar Dec 09 '14 07:12 danimo

@jnweiger has insights in this problem, its tricky.

dragotin avatar Dec 09 '14 08:12 dragotin

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.

jnweiger avatar Dec 09 '14 13:12 jnweiger

Maybe related : #2592

ghost avatar Dec 11 '14 21:12 ghost

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

jnweiger avatar Dec 11 '14 22:12 jnweiger

Can this be closed?

guruz avatar Mar 13 '15 16:03 guruz

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

jnweiger avatar Mar 23 '15 16:03 jnweiger