[precise] libcurl4-openssl-dev : Depends: librtmp-dev but it is not going to be installed

Asked by John Clemens

Is this just my machine or is libcurl4-dev broken in precise? This happens for all three variants (gnutls/nss/openssl):

$ sudo 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: librtmp-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tracking it a bit further..it appears librtmp0 is the problem.. trying to install librtmp-dev shows:

The following packages have unmet dependencies:
 librtmp-dev : Depends: librtmp0 (= 2.4~20110711.gitc28f1bab-1) but 2.4~20110711.gitc28f1bab-1ubuntu0~ppa1~oneiric1 is to be installed
E: Unable to correct problems, you have held broken packages.

that 'ppa1~onieric1' looks mighty suspicius, and may be related to me running the team-xbmc-unstable ppa before upgrading to precise (the ppa was disabled on the upgrade). However, trying to apt-get remove librtmp0 doesn't work either.

Any idea whats going on with my box?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu curl Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

i suggest you disable any 3rd party PPAs then retry. If it is still the same you should report a bug

Revision history for this message
Alexandros Nikolopoulos (alxnik) said :
#2

To the rest with this problem:

The problem originates from the team-xbmc ppa. I was able to fix it by disabling all the oneiric ppas, and then installing the correct packages.

Unfortunately the ppa package is considered an upgrade in relation to the official 12.04 package, so I had to download the packages manually and install them.

so:
wget https://launchpad.net/ubuntu/+source/rtmpdump/2.4~20110711.gitc28f1bab-1/+build/2844278/+files/librtmp0_2.4%7E20110711.gitc28f1bab-1_amd64.deb

wget https://launchpad.net/ubuntu/+source/rtmpdump/2.4~20110711.gitc28f1bab-1/+build/2844280/+files/librtmp0_2.4%7E20110711.gitc28f1bab-1_i386.deb

dpkg -i librtmp*

continue to an installation of libcurl4-openssl-dev and it should work.

Disclaimer: This is not the official way to do it so I don't know if it causes any problems. There might be a way to force apt-get to downgrade the versions correctly, or use ppa-purge (which in my case didn't work correctly)

Can you help with this problem?

Provide an answer of your own, or ask John Clemens for more information if necessary.

To post a message you must log in.