[Solved for 17.01 stable release only] Digikam 5.3 unmet dependencies

Digikam install issue*:

[code]sudo apt-get -t stretch install digikam
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:
digikam : Depends: digikam-private-libs (= 4:5.3.0-1) but it is not going to be installed
Depends: kipi-plugins (= 4:5.3.0-1) but it is not going to be installed
N: Ignoring file ‘50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.[/code]

*Similar issues with Netrunner 16.09; http://forums.netrunner.com/showthread.php?tid=24014

Update: found the deb package here; https://packages.debian.org/stretch/digikam / amd64; https://packages.debian.org/stretch/amd64/digikam/download
However, not sure if it would work, or would be wise to do so?
Also, seems the program is dependent on several older kde packages that might have a negative impact on kde5?

If you are on 17.01, how about if you use
sudo apt install digikam

It pulls in 40 packages but doesnt have any conflicts?

Otherwise, you could also install an appimage from here:
http://download.kde.org/stable/digikam/

Attempted to install digikam from both terminal & synaptic, and digikam has broken packages.

[code]$ sudo apt install digikam
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:
digikam : Depends: digikam-private-libs (= 4:5.3.0-1) but it is not going to be installed
Depends: kipi-plugins (= 4:5.3.0-1) but it is not going to be installed
N: Ignoring file ‘50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.[/code]

Anyone else having this issue after upgrading from 16.09 to 17.01?



Update:
After reviewing info found here; 14.04 - N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension - Ask Ubuntu
I removed file ‘50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’
Then I ran “sudo apt autoremove” and it found over 450+ unused packages.

Now, Digikam installs without issue.

[code]sudo apt install digikam

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
digikam-data digikam-private-libs dolphin4 enblend enfuse hugin hugin-data hugin-tools icoutils install-info
kate-data katepart kde-baseapps-bin kde-baseapps-data kde-runtime kde-runtime-data kdelibs-bin kdelibs5-plugins
kdepimlibs-data kdoctools kfind kipi-plugins kipi-plugins-common konqueror konqueror-nsplugins kpart-webkit libaec0
libarchive-zip-perl libboost-filesystem1.62.0 libflann1.9 libgpgme++2v5 libhdf5-100 libid3tag0
libimage-exiftool-perl libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdesu5 libkdewebkit5
libkemoticons4 libkf5akonadicontact5 libkf5akonadicore-bin libkf5akonadicore5 libkf5akonadiprivate5
libkf5akonadiwidgets5 libkf5calendarcore5 libkf5contacts-data libkf5contacts5 libkf5mime5 libkfile4 libkhtml5
libkjsapi4 libkjsembed4 libkmediaplayer4 libknotifyconfig4 libkntlm4 libkonq-common libkonq5-templates libkonq5abi1
libkonqsidebarplugin4a libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkxmlrpcclient4 liblensfun-data-v1
liblensfun1 libmime-charset-perl libnepomukquery4a libnepomukutils4 libnl-route-3-200 libntrack-qt4-1 libntrack0
libpano13-3 libpano13-bin libplasma3 libpolkit-qt-1-1 libposix-strptime-perl libqca2 libqca2-plugins libqt4-designer
libqt4-qt3support libqt5xmlpatterns5 libqtwebkit4 libsombok3 libsz2 libthreadweaver4 libunicode-linebreak-perl
libvigraimpex6 minidlna ntrack-module-libnl-0 opencv-data plasma-scriptengine-javascript sound-theme-freedesktop
Suggested packages:
digikam-doc python-wxgtk3.0 libterm-readline-gnu-perl | libterm-readline-perl-perl djvulibre-bin finger kmail
vorbis-tools konq-plugins akonadi-server libencode-hanextra-perl libpod2-base-perl
The following NEW packages will be installed:
digikam digikam-data digikam-private-libs dolphin4 enblend enfuse hugin hugin-data hugin-tools icoutils install-info
kate-data katepart kde-baseapps-bin kde-baseapps-data kde-runtime kde-runtime-data kdelibs-bin kdelibs5-plugins
kdepimlibs-data kdoctools kfind kipi-plugins kipi-plugins-common konqueror konqueror-nsplugins kpart-webkit libaec0
libarchive-zip-perl libboost-filesystem1.62.0 libflann1.9 libgpgme++2v5 libhdf5-100 libid3tag0
libimage-exiftool-perl libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdesu5 libkdewebkit5
libkemoticons4 libkf5akonadicontact5 libkf5akonadicore-bin libkf5akonadicore5 libkf5akonadiprivate5
libkf5akonadiwidgets5 libkf5calendarcore5 libkf5contacts-data libkf5contacts5 libkf5mime5 libkfile4 libkhtml5
libkjsapi4 libkjsembed4 libkmediaplayer4 libknotifyconfig4 libkntlm4 libkonq-common libkonq5-templates libkonq5abi1
libkonqsidebarplugin4a libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkxmlrpcclient4 liblensfun-data-v1
liblensfun1 libmime-charset-perl libnepomukquery4a libnepomukutils4 libnl-route-3-200 libntrack-qt4-1 libntrack0
libpano13-3 libpano13-bin libplasma3 libpolkit-qt-1-1 libposix-strptime-perl libqca2 libqca2-plugins libqt4-designer
libqt4-qt3support libqt5xmlpatterns5 libqtwebkit4 libsombok3 libsz2 libthreadweaver4 libunicode-linebreak-perl
libvigraimpex6 minidlna ntrack-module-libnl-0 opencv-data plasma-scriptengine-javascript sound-theme-freedesktop
0 upgraded, 96 newly installed, 0 to remove and 0 not upgraded.
Need to get 143 MB of archives.
After this operation, 385 MB of additional disk space will be used.
Do you want to continue? [Y/n] [/code]

Thanks, I’ll try this appimage version also.


Note: You’ll need to make the appimage file executable by right clicking the appimage file, select “Properties” & check-mark “Is executable” under the “Permissions” Tab, then click “OK” to save setting. When you double click the appimage file, the application will run.
[attachment=1019]

Can you post a screenshot of your repository list?

Repository list attached. [attachment=1017][attachment=1018]

Repos look fine, but installing dolphin4 doesn’t.
You said in another thread the issue was fixed by “apt autoremove” old stuff after the upgrade?

What can help to get a very detailed log from apt and the reason why it isn’t installing it (so what package is actually conflicting) you can execute

sudo apt-get install digikam -o "Debug::pkgProblemResolver=1"

Also please use quotations or code tags for the answer as it makes it easier readable.

Seems the Digikam package, or another dependent package for Digikam requires dolphin4.
Hope this will not adversely affect the system?

Correct, the Digikam installing issue was corrected by running “sudo apt autoremove” [Ref; Upgrade to 17.01 #4 ]


Ref; Digikam 5.3 unmet dependencies #4 (Update)

Thanks. I’ve saved this command for the next install issue I may encounter. & I’ve tried to clean up a few posts.
As noted in my update of post #4, Digikam installed without issue. However, as noted in post #10, will “dolphin4” adversely affect the system?

I was checking Netrunner 17.10 for an optionnal migration from Maui, but I was unable to install digikam either 5.3 or 5.6 versions. Sames messages as indicated above and same attemps to remove /etc/apt file indicated above also. Still unable to use digikam.
SM