Skip to content

Depend on libcurl-ssl-dev instead of libcurl4-openssl-dev#57

Merged
vrabaud merged 1 commit intoros:masterfrom
ktossell:master
Jun 29, 2012
Merged

Depend on libcurl-ssl-dev instead of libcurl4-openssl-dev#57
vrabaud merged 1 commit intoros:masterfrom
ktossell:master

Conversation

@ktossell
Copy link
Copy Markdown
Contributor

The openssl version conflicts with libcurl4-gnutls-dev, which
is required by some system packages. libcurl-ssl-dev is a virtual
package satisfied by -openssl, -gnutls or -nss.

The openssl version conflicts with libcurl4-gnutls-dev, which
is required by some system packages. libcurl-ssl-dev is a virtual
package satisfied by -openssl, -gnutls or -nss.
vrabaud added a commit that referenced this pull request Jun 29, 2012
Depend on libcurl-ssl-dev instead of libcurl4-openssl-dev
@vrabaud vrabaud merged commit 2105b79 into ros:master Jun 29, 2012
@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2012

whenever i run rosdep install roboearth following error creeps in.

executing command [sudo apt-get install libcurl-ssl-dev]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl-ssl-dev is a virtual package provided by:
libcurl4-openssl-dev 7.22.0-3ubuntu4
libcurl4-nss-dev 7.22.0-3ubuntu4
libcurl4-gnutls-dev 7.22.0-3ubuntu4
You should explicitly select one to install.

E: Package 'libcurl-ssl-dev' has no installation candidate
ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install libcurl-ssl-dev] failed

what should be the solution for this error then. this stack was compiling properly few days back.
Thanks :)

@vrabaud
Copy link
Copy Markdown
Member

vrabaud commented Jul 2, 2012

Which OS are you on ? and which version ?

@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2012

maverick

@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2012

I guess this method is only supposed to work with ubuntu 12.04 and rosdep 2. Because i didn't had any problem in ubuntu precise and rosdep.
Thanks for ur help i got it compiled on ubuntu 12.04

@ktossell
Copy link
Copy Markdown
Contributor Author

ktossell commented Jul 2, 2012

I forgot that apt-get install $virtual_package will fail if more than one package provides the specified virtual name. Depends: $virtual_package is, however, the correct way to depend on a virtual package when constructing a .deb package.

Since there's apparently no 'or' operator in rosdep, this script would work for non-.deb uses of "rosdep install":

curl_installed=0
for pkg in libcurl4-gnutls-dev libcurl4-openssl-dev libcurl4-nss-dev; do
  if dpkg -s $pkg >/dev/null 2>/dev/null
    then curl_installed=1; break
  fi
done
if [ $curl_installed = 0 ]; then
  sudo apt-get install -y libcurl4-gnutls-dev
fi

The .deb file, though, needs to have "libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl4-nss-dev" or "libcurl-ssl-dev".

@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2012

thanks this will really help :)

@doudou
Copy link
Copy Markdown

doudou commented Jan 22, 2013

The following debian packages are still depending on openssl-dev:
ros-groovy-simulator-gazebo
ros-groovy-robot-model
ros-groovy-resource-retriever
ros-groovy-object-recognition-core
Isn't that supposed to be fixed by now ?

@vrabaud
Copy link
Copy Markdown
Member

vrabaud commented Jan 22, 2013

That got reverted 8873465

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants