new digikam 1.6 needs Ubuntu package for maverick

Asked by filou78

Digikam is an amazing software, but the new version 1.6 needs an Ubuntu package in a repository.
Does anybody already did it from the official tarball available at www.digikam.org ?

Best

Question information

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

sudo add-apt-repository ppa:ferramroberto/digikam; sudo apt-get update; sudo apt-get -y upgrade

Should do it

Revision history for this message
filou78 (filou78) said :
#2

I added this repository, but update is impossible.

I obtained this message using sudo apt-get -y upgrade

dpkg : erreur de traitement de /var/cache/apt/archives/digikam_2%3a1.6.0-1~lffl~maverick~ppa_i386.deb (--unpack) :
 tentative de remplacement de « /usr/share/kde4/apps/solid/actions/digikam-opencamera.desktop », qui appartient aussi au paquet digikam-data 2:1.4.0-0ubuntu1
dpkg-deb: sous-processus coller tué par le signal (Relais brisé (pipe))
Traitement des actions différées (« triggers ») pour « man-db »...
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/digikam_2%3a1.6.0-1~lffl~maverick~ppa_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Theodotos Andreou (theodotos) said :
#3

Can you translate the error messages in english?

Revision history for this message
filou78 (filou78) said :
#4

oups, sorry, I haven't seen that some were in french.

Here is the translation in english:

dpkg : error in /var/cache/apt/archives/digikam_2%3a1.6.0-1~lffl~maverick~ppa_i386.deb (--unpack) :
 trying to replace « /usr/share/kde4/apps/solid/actions/digikam-opencamera.desktop », which is also part of digikam-data 2:1.4.0-0ubuntu1
dpkg-deb: sub-process killed by signal (broken link (pipe))
Postponed treatment of those actions (« triggers ») by « man-db »...
Some errors has been found :
 /var/cache/apt/archives/digikam_2%3a1.6.0-1~lffl~maverick~ppa_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks for your support...

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#5

There is a duplicated file in the deb file, dpkg doesn't like overwriting files which are in different packages as they should be seperate, you can force it by running:

sudo dpkg --force-all -i /var/cache/apt/archives/digikam_2%3a1.6.0-1~lffl~maverick~ppa_i386.deb

Should force it to overwrite the file and install ok.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

I also suggest you contact the ppa maintainer to let him/her know that their package causes an issue with upgrading.

Revision history for this message
filou78 (filou78) said :
#7

Thanks actionparsnip for your advice; it solved my problem when I also forced dpkg for kipi-plugins using:
sudo dpkg --force-all -i /var/cache/apt/archives/kipi-plugins_1.5.0-maverick~ppa1_i386.deb

Now digikam 1.6 is working fine.

I'll contact the maintainer of the package to let him know.

best,

Revision history for this message
filou78 (filou78) said :
#8

Thanks actionparsnip, that solved my question.