Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Ubuntu 16.04 (latest) #6034

Closed
ferdinandyb opened this issue Sep 15, 2017 · 58 comments
Closed

Can't install on Ubuntu 16.04 (latest) #6034

ferdinandyb opened this issue Sep 15, 2017 · 58 comments

Comments

@ferdinandyb
Copy link

Expected behaviour

sudo apt-get install owncloud-client should install it (an upgrade removed it, that's why I even tried)

Actual behaviour

Does not install.

>> sudo apt-get install owncloud-client
owncloud-client : Depends: ocqt562-libqt5webkit5 but it is not going to be installed

>> sudo apt-get install ocqt562-libqt5webkit5
ocqt562-libqt5webkit5 : Depends: ocqt562-libqt5opengl5 but it is not installable

>> sudo apt-get install ocqt562-libqt5opengl5
Package ocqt562-libqt5opengl5 is not available, but is referred to by another package.

Steps to reproduce

Server configuration

Operating system:
Ubuntu 16.04.3 LTS
Web server:

Database:

PHP version:

ownCloud version:

Storage backend (external storage):

Client configuration

Client version:

Operating system:

OS language:

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):

@Phlos
Copy link

Phlos commented Sep 15, 2017

Same issue -- also commented in the Qt5 issue - has to do with that? #5470

@bytepan
Copy link

bytepan commented Sep 15, 2017

Same issue -- please fix it ASAP.
Thanks !

@m3asmi
Copy link

m3asmi commented Sep 15, 2017

same issue

@tipichris
Copy link

Also on 14.04. An upgrade failed. A 'partial upgrade' to fix things removed owncloud-client. Can't reinstall.

The following packages have unmet dependencies. owncloud-client : Depends: ocqt562-libqt5webkit5 but it is not going to be installed

Attempting to install ocqt562-libqt5webkit5 gives
The following packages have unmet dependencies. ocqt562-libqt5webkit5 : Depends: ocqt562-libqt5opengl5 but it is not installable

# apt-cache policy ocqt562-libqt5opengl5
ocqt562-libqt5opengl5:
  Installed: (none)
  Candidate: (none)
  Version table:

Another machine that somehow survived the upgrade reports

$ apt-cache policy ocqt562-libqt5opengl5
ocqt562-libqt5opengl5:
  Installed: 5.6.2-1+14.1
  Candidate: 5.6.2-1+14.1
  Version table:
 *** 5.6.2-1+14.1 0
        100 /var/lib/dpkg/status

So it's still there, but there are no sources for it.

@SamuAlfageme
Copy link
Contributor

SamuAlfageme commented Sep 15, 2017

@priestoferis @Phlos @bytepan @m3asmi @tipichris we found some problems with the packages distribution and we're working on a fix.

On the meantime, you guys can try the alternative mirror in: https://download.owncloud.com/repositories/desktop/download

@SamuAlfageme SamuAlfageme mentioned this issue Sep 15, 2017
3 tasks
@Phlos
Copy link

Phlos commented Sep 15, 2017

Thanks @SamuAlfageme . That worked!

@jnweiger jnweiger self-assigned this Sep 15, 2017
@ferdinandyb
Copy link
Author

Following the instruction on the given page I got the following errors:

>> sudo apt-get install owncloud-client
Err:1 https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04  ocqt562-libqt5webkit5 5.6.2-1
Protocol "http" not supported or disabled in libcurl

As far as I know, this error can be fixed by changing the https to http, but I can't see where.

And error for installing the recommended package ocqt562-libqt5svg5

>> sudo apt-get install ocqt562-libqt5svg5
`E: Package 'ocqt562-libqt5svg5' has no installation candidate`

@SamuAlfageme
Copy link
Contributor

@priestoferis if you properly replaced the repository URL in your /etc/apt/sources.list.d/owncloud.list, you should not be hitting https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 still. Seems like openSUSE download servers are having some problems with their SSL configuration.

If you got an incomplete installation previously try wiping out those before reinstalling from the new mirrors:

# apt-get purge owncloud-client
# apt-get autoremove
# apt-get autoclean
# apt-get install owncloud-client

@ferdinandyb
Copy link
Author

Ok, the issue was, that my original source list was owncloud-client.list while the above link's intstruction create an owncloud.list Thanks!

@ShaohanJiang
Copy link

Thanks! That worked!

@jnweiger
Copy link
Contributor

the rebuilds are ongoing. I expect the packages to be all back in ca 1h from now.

@jnweiger
Copy link
Contributor

jnweiger commented Sep 15, 2017

I've just tested the install on ubuntu 16.04 from the official repo st
https://software.opensuse.org//download.html?project=isv%3AownCloud%3Adesktop&package=owncloud-client

Works again, as before. Phew. Closing here. Please reopen, if it is not yet fixed for you (or anybody)

@bytepan
Copy link

bytepan commented Sep 15, 2017

sudo apt-get install owncloud-client
...
The following packages have unmet dependencies:
owncloud-client : Depends: ocqt562-libqt5webkit5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Sorry it still doesn't work.

@TimTim2017
Copy link

I tried it again just now and it seems to work. I was finally able to install owncloud-client on Mint 18.2 from the official repo without unmet dependencies.

@bytepan
Copy link

bytepan commented Sep 17, 2017

Solved, but I had to rename /etc/X11/Xsession.d/91ocqt562-qt5-opengl/90qt5-opengl to /etc/X11/Xsession.d/91ocqt562-qt5-opengl/90qt5-opengl.bak because it was giving error when installing ocqt562-libqt5gui5

dpkg: error processing archive /var/cache/apt/archives/ocqt562-libqt5gui5_5.6.2-1+22.1_amd64.deb (--unpack): trying to overwrite shared '/etc/X11/Xsession.d/91ocqt562-qt5-opengl/90qt5-opengl', which is different from other instances of package ocqt562-libqt5gui5:amd64

@ghost
Copy link

ghost commented Sep 18, 2017

Does not work on ubuntu 17.04:
Redirection from https to 'http://ftp.gwdg.de/pub/opensuse/repositories/isv:/ownCloud:/desktop/Ubuntu_17.04/amd64/owncloud-client_2.3.3-8338_amd64.deb' is forbidden

@jnweiger
Copy link
Contributor

jnweiger commented Sep 18, 2017

@smasherppk
I am getting the same issue. Looks like the mirrors downgrade your nice https request to http, which is a bit silly, as ftp.gwdg.de can handle https:// perfectly well.

$ curl https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_17.04/./amd64/owncloud-client_2.3.3-8338_amd64.deb
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://ftp.gwdg.de/pub/opensuse/repositories/isv:/ownCloud:/desktop/Ubuntu_17.04/amd64/owncloud-client_2.3.3-8338_amd64.deb">here</a>.</p>
<hr>
<address>Apache/2.2.34 (Linux/SUSE) Server at download.opensuse.org Port 443</address>
</body></html>

As a workaround edit your /etc/apt/sources.list.d/owncloud-client.list either

  • deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_17.04/ /
    or
  • deb https://ftp.gwdg.de/pub/opensuse/repositories/isv:/ownCloud:/desktop/Ubuntu_17.04/ /
    both work for me.

@dragotin is this something that should be fixed on the openSUSE side or on the ownCloud side?

@bee272
Copy link

bee272 commented Sep 21, 2017

Thanks jnweiger, using your http link and changing version to 16.04 solved the issue on my 16.04 as well.

@ernstki
Copy link

ernstki commented Sep 22, 2017

I think this issue needs to be reopened, because the "download" links from everywhere else on the web site point to the openSuSE site.

Which as of today still produces the errors described by the reporter.

There is also mention of this problem in the forums (which I'm going to go reply to in a minute, to point them here).

@ghost
Copy link

ghost commented Sep 22, 2017

Probably solved anyway once owncloud-archive/owncloud.org#1277 is accepted / merged and the new links are published. So probably no need to re-open this.

@kemoc
Copy link

kemoc commented Sep 25, 2017

I have the same problem,
maybe this will help for devs
stack-curl-problem
i know there is about problem with cURL on windows but maybe we have the same pb on linux.

@michaelstingl
Copy link
Contributor

OBS issue has been reported: https://bugzilla.opensuse.org/show_bug.cgi?id=1060231

@jnweiger
Copy link
Contributor

Fixed by the friendly openSUSE admins as discussed in openSUSE/software-o-o#123
Our downloads there should now work again!

@kemoc
Copy link

kemoc commented Sep 27, 2017

@jnweiger i confirm, on ubuntu 16.04 works, thanks.

@atanasantonov
Copy link

@SamuAlfageme Thank You!!!

@jnweiger
Copy link
Contributor

jnweiger commented Nov 2, 2017

I am still stuck understanding the '.. but it is not going to be installed' part. For me it just means, that
something is in a bad state. I cannot reproduce the issue. Neither with fresh installs, nor with upgrades.

@shaneonabike @jdcrecur can you please post the output of

apt policy owncloud-client ocqt562-libqt5core5a

If anybody could send me a VM image with a broken install, I'd be more than happy to investigate.

Oh, I don't expect this to help, but: In case there are again broken mirrors out there, please also try explicitly choosing the same one that I get when testing:

cat /etc/apt/sources.list.d/owncloud-client.list
deb http://ftp.gwdg.de/pub/opensuse/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10/ /

To get a clean restart, please to all of

apt purge owncloud-client
apt autoremove
apt autoclean
apt install -f
apt install owncloud-client

@jdcrecur
Copy link

jdcrecur commented Nov 2, 2017

# apt policy owncloud-client ocqt562-libqt5core5a
owncloud-client:
  Installed: (none)
  Candidate: 2.3.3-8338
  Version table:
     2.3.3-8338 500
        500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10  Packages
     2.1.1+dfsg-1ubuntu1.1 500
        500 http://ftp.hosteurope.de/mirror/archive.ubuntu.com xenial-updates/universe amd64 Packages
     2.1.1+dfsg-1ubuntu1 500
        500 http://ftp.hosteurope.de/mirror/archive.ubuntu.com xenial/universe amd64 Packages
ocqt562-libqt5core5a:
  Installed: (none)
  Candidate: 5.6.2-1+22.1
  Version table:
     5.6.2-1+22.1 500
        500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10  Packages

@jdcrecur
Copy link

jdcrecur commented Nov 2, 2017

$ apt-get install owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 owncloud-client : Depends: libowncloudsync0 (= 2.3.3-8338) but it is not going to be installed
                   Depends: ocqt562-libqt5core5a but it is not going to be installed
                   Depends: ocqt562-libqt5dbus5 but it is not going to be installed
                   Depends: ocqt562-libqt5gui5 but it is not going to be installed
                   Depends: ocqt562-libqt5keychain1 but it is not going to be installed
                   Depends: ocqt562-libqt5network5 but it is not going to be installed
                   Depends: ocqt562-libqt5webkit5 but it is not going to be installed
                   Depends: ocqt562-libqt5widgets5 but it is not going to be installed
                   Depends: ocqt562-libqt5xml5 but it is not going to be installed
                   Depends: owncloud-client-l10n but it is not going to be installed
                   Depends: ocqt562-libqt5sql5-sqlite but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

john-  / # libowncloudsync0
libowncloudsync0: command not found

john- / # apt-get install libowncloudsync0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libowncloudsync0 : Depends: libsqlite3-0 (>= 3.12.0) but 3.11.0-1ubuntu1 is to be installed
                    Depends: ocqt562-libqt5core5a but it is not going to be installed
                    Depends: ocqt562-libqt5gui5 but it is not going to be installed
                    Depends: ocqt562-libqt5keychain1 but it is not going to be installed
                    Depends: ocqt562-libqt5network5 but it is not going to be installed
                    Depends: ocqt562-libqt5widgets5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

It looks like if libowncloudsync0 is the issue then the this could be sqlite:

Depends: libsqlite3-0 (>= 3.12.0) but 3.11.0-1ubuntu1 is to be installed

@shaneonabike
Copy link

owncloud-client:
Installed: (none)
Candidate: 2.3.3-8338
Version table:
2.3.3-8338 500
500 https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Packages
2.2.2+dfsg-1ubuntu0.2 500
500 http://ca.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages
2.2.2+dfsg-1 500
500 http://ca.archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
ocqt562-libqt5core5a:
Installed: (none)
Candidate: 5.6.2-1+22.1
Version table:
5.6.2-1+22.1 500
500 https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Packages

@shaneonabike
Copy link

Furthermore, when I dig deeper it looks like it goes beyond libowncloudsync0. When I trace it down to the core problem I //believe// that it's related to no install candidate for libicu55 :/

`The following packages have unmet dependencies:
libowncloudsync0 : Depends: ocqt562-libqt5core5a but it is not going to be installed
Depends: ocqt562-libqt5gui5 but it is not going to be installed
Depends: ocqt562-libqt5keychain1 but it is not going to be installed
Depends: ocqt562-libqt5network5 but it is not going to be installed
Depends: ocqt562-libqt5widgets5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
shaneonabike@local:~$ sudo apt-get install ocqt562-libqt5core5a
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
ocqt562-libqt5core5a : Depends: libicu55 (>= 55.1-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
shaneonabike@local:~$ sudo apt-get install libicu55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu55' has no installation candidate
`

@jnweiger
Copy link
Contributor

jnweiger commented Nov 2, 2017

Ouch! You are missing your main ubuntu repo.
libicu55 comes from http://archive.ubuntu.com/ubuntu/ xenial
Try

echo 'deb http://archive.ubuntu.com/ubuntu/ xenial main' >> /etc/apt/sources.list

And while beeing there, check if there are any trusty wily vivid remainders ...

@jdcrecur
Copy link

jdcrecur commented Nov 2, 2017

$ apt policy libicu55
libicu55:
  Installed: 55.1-7ubuntu0.3
  Candidate: 55.1-7ubuntu0.3
  Version table:
 *** 55.1-7ubuntu0.3 500
        500 http://ftp.hosteurope.de/mirror/archive.ubuntu.com xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     55.1-7 500
        500 http://ftp.hosteurope.de/mirror/archive.ubuntu.com xenial/main amd64 Packages

I also missed the mirror url. Changed this and still no joy as you expected.

deb http://ftp.gwdg.de/pub/opensuse/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10/ /

@jnweiger
Copy link
Contributor

jnweiger commented Nov 2, 2017

@jdcrecur you are one ahead of @shaneonabike regarding libicu55.

@shaneonabike
Copy link

I was on Ubuntu 16.10 so I added that additional package which is super halloween weird that it was not there. I checked and there are no other remaining strange packages. Also, adding that package does not seem to make the system aware of that package. Looking in synaptic I can see that there is a libicu57 but not a libicu55?

@jnweiger
Copy link
Contributor

jnweiger commented Nov 2, 2017

@shaneonabike there is confusion with 16.10 and 16.04 in your system.

. /etc/os-release
echo $VERSION_ID
echo $UBUNTU_CODENAME

search for everyhting in /etc/apt/sources.list and /etc/apt/sources.list.d/* that has a different version_id or a different codename.

@shaneonabike
Copy link

That! is so strange. But you were totally right and after I switched the owncloud it was happy as a clam. I apologize for all the false positive and I appreciate you helping me out @jnweiger

@jnweiger
Copy link
Contributor

jnweiger commented Nov 3, 2017

I guess, we can close here for now. This second round did not have much in common with the first round anyway.

@jnweiger jnweiger closed this as completed Nov 3, 2017
@jdcrecur
Copy link

jdcrecur commented Nov 3, 2017

Any idea on how to fix the sqlite issue?

Depends: libsqlite3-0 (>= 3.12.0) but 3.11.0-1ubuntu1 is to be installed

@ghost
Copy link

ghost commented Nov 3, 2017

@jdcrecur You're using the Ubuntu 16.10 repository:

500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10 Packages

but your base system is 16.04:

Depends: libsqlite3-0 (>= 3.12.0) but 3.11.0-1ubuntu1 is to be installed

https://packages.ubuntu.com/search?keywords=libsqlite3-0
https://packages.ubuntu.com/xenial/libsqlite3-0

If you add a 3rdparty repository to your system make sure that it is matching your OS.

@jdcrecur
Copy link

jdcrecur commented Nov 5, 2017

@kdslkdsaldsal
Thanks! Switching to 16.04 fixed the issue, i just assumed Linux Mint Cinnamon was based on the desktop distro of ubuntu. Thanks for the tip! It now works.

There must have been something recent that changed as on another linux mint machine half a year ago the install with the desktop owncloud-client apt repo worked from 16.10.

Thanks again!

@ahmedatawfik
Copy link

Hi guys,
It seems it got broken again after owncloud-client 2.4 is released:

sudo apt install owncloud-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
owncloud-client : Depends: libowncloudsync0 (= 2.4.0-8911) but it is not going to be installed
Depends: ocqt562+240-libqt5core5a but it is not installable
Depends: ocqt562+240-libqt5dbus5 but it is not installable
Depends: ocqt562+240-libqt5gui5 but it is not installable
Depends: ocqt562+240-libqt5keychain1 but it is not installable
Depends: ocqt562+240-libqt5network5 but it is not installable
Depends: ocqt562+240-libqt5webkit5 but it is not installable
Depends: ocqt562+240-libqt5widgets5 but it is not installable
Depends: ocqt562+240-libqt5xml5 but it is not installable
Depends: owncloud-client-l10n but it is not going to be installed
Depends: ocqt562+240-libqt5sql5-sqlite but it is not installable
E: Unable to correct problems, you have held broken packages.

@michaelstingl
Copy link
Contributor

@socrat3000 work is going on in #6267

@jnweiger
Copy link
Contributor

@socrat3000 fixed. Please try again.

@ahmedatawfik
Copy link

ahmedatawfik commented Dec 30, 2017 via email

@tdeuling
Copy link

Hi,
is it broken again?
I receive the same error on Linux Mint 18.1 Cinnamon 64-bit.

sudo apt-get install owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 owncloud-client : Depends: libowncloudsync0 (= 2.4.0-8911) but 2.1.1+dfsg-1ubuntu1.1 is to be installed
                   Depends: ocqt562+240-libqt5core5a but it is not going to be installed
                   Depends: ocqt562+240-libqt5dbus5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5gui5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5keychain1 but it is not going to be installed
                   Depends: ocqt562+240-libqt5network5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5webkit5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5widgets5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5xml5 but it is not going to be installed
                   Depends: ocqt562+240-libqt5sql5-sqlite but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I'm using this URL:

deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_17.10/ /

@guruz
Copy link
Contributor

guruz commented Feb 13, 2018

@tdeuling 2.1.1+dfsg-1ubuntu1.1 is something from upstream Ubuntu, not from owncloud.org..
Maybe check /etc/apt/sources.list and /etc/apt/sources.list.d/* ?

@jnweiger
Copy link
Contributor

jnweiger commented Feb 13, 2018

Mint 18.1 is a Ubuntu 16.04 variant. Trying the 17.10 repo is supposed to fail.

If really needed, you can try apt-get purge owncloud-client to uninstall the old 2.1.1+dfsg thing from upstream Ubuntu.

@tdeuling
Copy link

Yesterday I performed a distribution update. Now I'm running 18.3 and the current version of owncloud-client works well.
Version 2.1.1 wasn't new enough for communicating with Server version 10.0.6.

@guruz
Copy link
Contributor

guruz commented Feb 14, 2018

@tdeuling 2.1.1 is the one from the Mint/Ubuntu/idontknowwhat:-) repositories.
You need the client from ownCloud's repositories which are on download.opensuse.org (yes, confusing hostname, @jnweiger is working on changing that).

@typoworx-de
Copy link

Also can't install. An AppImage or Snap would have been nice to avoid dependency problems for users with older distributions (same here).

@TheOneRing
Copy link
Contributor

We are working on an official AppImage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests