Solved

Unable to install Kodi on Ubuntu Mate 15.04 because of unmet dependency 'curl'

Posted on 2016-11-19
7
187 Views
Last Modified: 2016-11-26
I was trying to install the streaming app Kodi on Ubuntu Mate 15.04, based on these directions:

http://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux

I was unable to do it, because of an unmet dependency  'curl':

user@user-desktop:~$ sudo apt-get install software-properties-common
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@user-desktop:~$ sudo add-apt-repository ppa:team-xbmc/ppa
 
 More info: https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp0pg395vb/secring.gpg' created
gpg: keyring `/tmp/tmp0pg395vb/pubring.gpg' created
gpg: requesting key 91E7EE5E from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp0pg395vb/trustdb.gpg: trustdb created
gpg: key 91E7EE5E: public key "Launchpad PPA for XBMC for Linux" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
user@user-desktop:~$ 
user@user-desktop:~$ sudo apt-get update
Hit http://us.archive.ubuntu.com vivid InRelease
Hit http://ppa.launchpad.net vivid InRelease    
Hit http://us.archive.ubuntu.com vivid/main Sources                    
Hit http://us.archive.ubuntu.com vivid/restricted Sources   
Hit http://ppa.launchpad.net vivid InRelease                
Hit http://us.archive.ubuntu.com vivid/universe Sources                        
Hit http://us.archive.ubuntu.com vivid/multiverse Sources         
Get:1 http://ppa.launchpad.net vivid InRelease [15.4 kB]          
Hit http://us.archive.ubuntu.com vivid/main amd64 Packages                
Hit http://us.archive.ubuntu.com vivid/restricted amd64 Packages          
Hit http://us.archive.ubuntu.com vivid/universe amd64 Packages                 
Hit http://us.archive.ubuntu.com vivid/multiverse amd64 Packages  
Hit http://ppa.launchpad.net vivid/main amd64 Packages
Hit http://us.archive.ubuntu.com vivid/main i386 Packages         
Hit http://us.archive.ubuntu.com vivid/restricted i386 Packages   
Hit http://ppa.launchpad.net vivid/main i386 Packages
Hit http://us.archive.ubuntu.com vivid/universe i386 Packages     
Hit http://us.archive.ubuntu.com vivid/multiverse i386 Packages   
Hit http://ppa.launchpad.net vivid/main Translation-en
Hit http://us.archive.ubuntu.com vivid/main Translation-en        
Hit http://us.archive.ubuntu.com vivid/multiverse Translation-en  
Hit http://ppa.launchpad.net vivid/main amd64 Packages
Hit http://us.archive.ubuntu.com vivid/restricted Translation-en
Hit http://us.archive.ubuntu.com vivid/universe Translation-en
Hit http://ppa.launchpad.net vivid/main i386 Packages
Hit http://ppa.launchpad.net vivid/main Translation-en
Get:2 http://ppa.launchpad.net vivid/main amd64 Packages [21.9 kB]
Get:3 http://ppa.launchpad.net vivid/main i386 Packages [21.8 kB]  
Get:4 http://ppa.launchpad.net vivid/main Translation-en [8,391 B]   
Fetched 67.5 kB in 8s (8,382 B/s)                                              
Reading package lists... Done
user@user-desktop:~$ 
user@user-desktop:~$ 
user@user-desktop:~$ sudo apt-get install kodi
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:
 kodi : Depends: curl
E: Unable to correct problems, you have held broken packages.
user@user-desktop:~$ 

Open in new window


When I try to install curl, I get more unmet dependencies:
user@user-desktop:~$ sudo apt-get install curl
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:
 curl : Depends: libcurl3 (= 7.38.0-3ubuntu2) but 7.38.0-3ubuntu2.3 is to be installed
E: Unable to correct problems, you have held broken packages.
user@user-desktop:~$ 

Open in new window


What is happening here, and how can I correct it?

Thanks for your help.
0
Comment
Question by:AttilaB
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41894951
Can you post the mirrors your are using?
0
 

Author Comment

by:AttilaB
ID: 41895826
I don't understand the question. As you see in the captures from terminal I was just following the install instructions in the link, I am not sure what mirrors you are talking about.

Is there anything else I need to do, other then the command line instructions?
0
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 41896885
Mirrors are the "repository" that you are attempting to download the updates. Can you try the following?
sudo apt-get update

Open in new window


Please post the following if it fails as you may need to update the mirrors:
cat /etc/apt/sources.list

Open in new window


It appears this is a known issue for libcurl in Ubuntu 15. Ubuntu is on a short life recycle, I also recommend updating it to 16 or 18.
https://www.ubuntu.com/info/release-end-of-life
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:AttilaB
ID: 41897513
Actually the reason I have Ubuntu 15.05 on this machine is, that there was no way on earth to access wi-fi
with this installed hardware using Ubuntu 16.04. I have no idea why, but Ubuntu 16 seems to be extremely picky on
what kind of wireless network adapter it will work with. I had to replace mine in my desktop to make it work. But I don't have this luxury with this very small computer.  It worked though 'out of the box' with this, with Ubuntu 15.04, so I was happy.

If I upgrade the installation perhaps, instead of a fresh install is there a chance I can still keep the wi-fi working?

I will do
cat /etc/apt/sources.list

Open in new window

for you when I get home today.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41897557
Please see my previous post and run
sudo apt-get update

Open in new window

first. It shouldn't break the wifi.
0
 

Author Comment

by:AttilaB
ID: 41899236
Probably first I should try something like:
sudo apt-get install make

Open in new window

or possibly:
sudo apt-get install --reinstall make

Open in new window

I will tell you how it works.
0
 

Author Closing Comment

by:AttilaB
ID: 41902555
Well, I guess that's the real solution: Updating to Ubuntu 16. Thanks for your help.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The viewer will learn how to download, install, and customize fonts inside Adobe Illustrator CS6. To install and use a font: Go to dafont.com and download a premade font : Unzip it, and open it up by double-clicking: Press “Install This Font” in…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question