Bug 264718 - Kontact Touch on n900 requires libclucene0ldbl, conflicting with clucene-core from the Maemo 5 repos
Summary: Kontact Touch on n900 requires libclucene0ldbl, conflicting with clucene-core...
Status: RESOLVED INTENTIONAL
Alias: None
Product: KDE PIM Mobile
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 10:11 UTC by Dhraak
Modified: 2011-02-07 15:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dhraak 2011-01-29 10:11:50 UTC
Version:           unspecified
OS:                Linux

"apt-get install kdepim-mobile" errors because of libclucene0ldbl

last attempted with 4.6~10220106.1209.gitfde48d5-maemo1.1211475

Reproducible: Always

Steps to Reproduce:
1. Install clucene-core or something that requires it
2. apt-get install kdepim-mobile

or vice versa

Actual Results:  
--installing kdepim-mobile with clucene-core already present--
Nokia-N900:~# apt-get install kdepim-mobile
<snip>
Errors were encountered while processing:
 /var/cache/apt/archives/libclucene0ldbl_0.9.21bmaemo1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#

--vice-versa--
Nokia-N900:~# apt-get install katana
<snip>
Unpacking clucene-core (from .../clucene-core_0.9.21b-0maemo1_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/clucene-core_0.9.21b-0maemo1_armel.deb (--unpack):
 trying to overwrite `/usr/lib/libclucene.so.0', which is also in package libclucene0ldbl
<snip>
Errors were encountered while processing:
 /var/cache/apt/archives/clucene-core_0.9.21b-0maemo1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#

Expected Results:  
kdepim-mobile installs alongside packages requiring clucene-core (or vice versa) without trouble.

I ran the following (starting with the first three and adding packages to the command until it stopped complaining or giving me errors).

apt-get remove clucene-core sword16 katana libstreamanalyzer0 kdepim-strigi-plugins libkio5 nepomukserver kaddressbook-mobile kdebase-runtime kdelibs5-kio-runtime kdelibs5-runtime kdepim-mobile kdepim-runtime kdepimlibs-kio-plugins kleopatra kmail-mobile korgac korganizer-mobile libakonadi-calendar4 libakonadi-contact4 libakonadi-kde4 libakonadi-kmime4 libakonadi-next4 libcalendarsupport4 libeventviews4 libincidenceeditors4 libkcalutils4 libkdepim4 libkdepimdbusinterfaces4 libkdepimmobileui4 libkdewebkit5 libkemoticons4 libkfile4 libkldap4 libkleo4 libkmanagesieve4 libkmediaplayer4 libkorganizer4 libkparts4 libkpimidentities4 libkpimtextedit4 libktnef4 libmailcommon4 libmailtransport4 libmessagecomposer4 libmessagecore4 libmessageviewer4 libsieveui4 libtemplateparser4 notes-mobile tasks-mobile kdelibs5-emoticons kdelibs5-imageio-plugins kdelibs5-kross-runtime-qtscript libakonadi-kabc4 libkpimutils4 kdebase-runtime-data kdepim-mobileui libkmbox4 \
liblzma1 libkdecore5 libkdeui5 kdepim-runtime-mobile libkabc4 libkcalcore4 libkcmutils4 libkpty4 libkdesu5 libkdnssd4 libkholidays4 libkidletime4 libkmime4 libkimap4 libkjsapi4 libkntlm4 libkpgp4 libkrosscore4 libksieve4 libnepomuk4 libnepomukquery4a

Afterwards, I was able to install kdepim-mobile.
Comment 1 Tobias Koenig 2011-01-31 10:53:34 UTC
Removing komo3 tag since N900 is out of scope for komo3 project.
Comment 2 Bjoern Ricks 2011-02-07 12:57:59 UTC
Hi for maemo I did follow the Debian packaging (see http://packages.debian.org/source/sid/clucene-core).
If you take a look at http://repository.maemo.org/extras-devel/pool/fremantle/free/c/clucene-core/ there was the same packaging for clucene 0.9.20 on maemo too. I don't know why the new packager renamed the packages (which is completely wrong imho) and didn't add a conflicts and replaces line in the control file.

This should be solved in the maemo repository.
Comment 3 Bjoern Ricks 2011-02-07 15:07:03 UTC
I did upload new clucene packages in our extra repo which include conflict and replaces entries. This doesn't solve your problem but will give you an error message before installing or upgrading.