Forum
(Solved) Can't install libcurl4-openssl-dev - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: (Solved) Can't install libcurl4-openssl-dev (/thread-3317.html)



(Solved) Can't install libcurl4-openssl-dev - nickfx - 4th Feb, 2016 08:48 AM

Software
XBian version: 20160124-0
Overclock settings: Default

Hardware
Device type and model: RPi 2 B

Problem description:
I'm trying to install ownCloud and as part of that the libcurl4-openssl-dev package. However, I get the following error message:
Terminal
root@xbian ~ # apt-get install libcurl4-openssl-dev
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:
libcurl4-openssl-dev : Depends: libcurl3 (= 7.38.0-4+deb8u2) but 7.37.1-1 is to be installed
E: Unable to correct problems, you have held broken packages.

It looks like Xbian requires libcurl3 7.37.1-1 but I need the later one.. Any suggestion what I can do to install libcurl4-openssl-dev?

Thanks.
nickfx


RE: Can't install libcurl4-openssl-dev - IriDium - 5th Feb, 2016 12:34 AM

You didn't state how you were installing owncloud - or any reference to a web page/guide.

I have a feeling you are trying an outdated or more likely incorrect guide.

For owncloud 7.

I tried This.

and it installed successfully.

If you get 404 at <ip address>/owncloud.

Edit /etc/apache2/sites-available/000-default.conf and change:
Terminal
DocumentRoot /var/www/html
to
Terminal
DocumentRoot /var/www

Save and restart apache.

Terminal
sudo service apache2 restart


and you should be up and running.


RE: Can't install libcurl4-openssl-dev - nickfx - 5th Feb, 2016 06:23 AM

I followed this guide: http://www.htpcguides.com/install-owncloud-8-x-raspberry-pi-for-personal-dropbox/

It uses nginx as server.

To be honest, in the end I just left out the package and it all installed fine anyway. Not sure why it was included, it was probably just some standard list of php packages...

I'll change the topic to [Solved] if I can find out how...

Thanks anyway! Smile