[CentOS] CentOS 7 missing package kio_mtp - required for digikam

Wed Aug 6 00:25:06 UTC 2014
Greg Peterson <glp at ares.eonet.ne.jp>

On 08/06/2014 06:50 AM, Johnny Hughes wrote:
> On 08/01/2014 11:03 PM, Greg Peterson wrote:
>> Greetings,
>>
>> Has anyone installed digikam-4.0 with yum on CentOS 7?
>>
>> On my CentOS 7 machine "yum install digikam" fails. Apparently "kio_mtp"
>> is not available:
>>
>>    greg at tss20:~$ sudo yum install digikam
>>    Loaded plugins: fastestmirror, langpacks
>>    Loading mirror speeds from cached hostfile
>>     * base:ftp.iij.ad.jp
>>     * epel:ftp.iij.ad.jp
>>     * extras:ftp.iij.ad.jp
>>     * updates:ftp.iij.ad.jp
>>    Resolving Dependencies
>>    --> Running transaction check
>>    ---> Package digikam.x86_64 0:4.0.0-3.el7 will be installed
>>    --> Processing Dependency: digikam-libs(x86-64) = 4.0.0-3.el7 for
>> package: digikam-4.0.0-3.el7.x86_64
>>    --> Processing Dependency: kio_mtp for package: digikam-4.0.0-3.el7.x86_64
>>    --> Processing Dependency: libdigikamdatabase.so.4.0.0()(64bit) for
>> package: digikam-4.0.0-3.el7.x86_64
>>    --> Processing Dependency: libdigikamcore.so.4.0.0()(64bit) for
>> package: digikam-4.0.0-3.el7.x86_64
>>    --> Running transaction check
>>    ---> Package digikam.x86_64 0:4.0.0-3.el7 will be installed
>>    --> Processing Dependency: kio_mtp for package: digikam-4.0.0-3.el7.x86_64
>>    ---> Package digikam-libs.x86_64 0:4.0.0-3.el7 will be installed
>>    --> Finished Dependency Resolution
>>    Error: Package: digikam-4.0.0-3.el7.x86_64 (epel)
>>               Requires: kio_mtp
>>     You could try using --skip-broken to work around the problem
>>     You could try running: rpm -Va --nofiles --nodigest
>>    greg at tss20:~$
>>
>>    greg at tss20:~$ sudo yum deplist digikam
>>    [sudo] password for greg:
>>    Loaded plugins: fastestmirror, langpacks
>>    Loading mirror speeds from cached hostfile
>>     * base:ftp.iij.ad.jp
>>     * epel:ftp.iij.ad.jp
>>     * extras:ftp.iij.ad.jp
>>     * updates:ftp.iij.ad.jp
>>    package: digikam.x86_64 4.0.0-3.el7
>>      dependency: /bin/sh
>>       provider: bash.x86_64 4.2.45-5.el7
>>      dependency: /usr/bin/perl
>>       provider: perl.x86_64 4:5.16.3-283.el7
>>      dependency: digikam-libs(x86-64) = 4.0.0-3.el7
>>       provider: digikam-libs.x86_64 4.0.0-3.el7
>>      dependency: kcm_colors
>>       provider: kcm_colors.x86_64 4.10.5-18.el7
>>      dependency: kde-runtime >= 4.10.5
>>       provider: kde-runtime.x86_64 4.10.5-8.el7
>>       provider: kde-runtime.i686 4.10.5-8.el7
>>      dependency: kio_mtp
>>       Unsatisfied dependency
>>      ... [output deleted]
>>
>> Fedora 20 on another machine has a "kio_mtp" package: kio_mtp.x86_64
>> 0.75-4.20131020git2063e75.fc20
>>
>>     greg at tpt510-home:~$ yum deplist digikam
>>       ... [output deleted]
>>       dependency: kio_mtp
>>        provider: kio_mtp.x86_64 0.75-4.20131020git2063e75.fc20
>>      ... [output deleted]
>>
>> Is the package "kio_mtp.x86_64" available somewhere?
> 'yum install digikam' worked fine for me with epel enabled.
>
> The version I got was :  4.0.0-4.el7 (newer than yours version of
> 4.0.0-3.el7)
>
> I would say do 'yum clean metadata' and try again.  If you are hosting
> your own epel mirror, then update it first.
>
> Thanks,
> Johnny Hughes

That did it. First, "yum clean metadata" and "yum update",  and then
"yum installl digikam" installed the newer version:

digikam.x86_64 0:4.0.0-4.el7
digikam-libs.x86_64 0:4.0.0-4.el7

Many thanks!

Greg Peterson