Kubuntu upgrade from Feisty to Gutsy failed due to conflicting file in kdepim

Bug #119664 reported by Krzysztof Lichota
28
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: kdepim

I have tried upgrading Kubuntu from Feisty to Gutsy using manual method:
1. Replaced feisty with gutsy in /etc/apt/sources.list
2. Run Adept Manager, fetched updates and did "Full upgrade".
3. Installation aborted at some point (without giving opportunity to see apt output).
4. Running "apt-get install -f" showed the following problem:
kkk@gutsy:~$ sudo apt-get install -f
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libkdepim1a
The following packages will be upgraded:
  libkdepim1a
1 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
267 not fully installed or removed.
Need to get 0B/581kB of archives.
After unpacking 139kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 95545 files and directories currently installed.)
Preparing to replace libkdepim1a 4:3.5.6-0ubuntu6 (using
.../libkdepim1a_4%3a3.5.7-1ubuntu3_i386.deb) ...
Unpacking replacement libkdepim1a ...
dpkg: error processing
/var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu3_i386.deb (--unpack):
 trying to overwrite
/usr/share/apps/kdepim/icons/crystalsvg/22x22/actions/checkedbox.png', which
is also in package korganizer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
zabbaskeema (zabbaskeema) wrote :

Same here:
root@zabba9000:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  libkcal2b: Depends: libkdepim1a (>= 4:3.5.7) but 4:3.5.6-0ubuntu6 is installed
E: Unmet dependencies. Try using -f.
root@zabba9000:/etc/apt# apt-get -f install

The following packages will be upgraded:
  libkdepim1a
1 upgraded, 0 newly installed, 0 to remove and 530 not upgraded.
454 not fully installed or removed.
Need to get 0B/581kB of archives.
After unpacking, 139kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 238315 files and directories currently installed.)
Preparing to replace libkdepim1a 4:3.5.6-0ubuntu6 (using .../libkdepim1a_4%3a3.5.7-1ubuntu4_i386.deb) ...
Unpacking replacement libkdepim1a ...
dpkg: error processing /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu4_i386.deb (--unpack):
 trying to overwrite `/usr/share/apps/kdepim/icons/crystalsvg/22x22/actions/checkedbox.png', which is also in package korganizer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Will test this with our upgrade testing. Please work around it in the mean time.

Changed in kdepim:
assignee: nobody → hobbsee
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Lattyware (info-lattyware) wrote :

Same thing here:

(Reading database ... 178668 files and directories currently installed.)
Preparing to replace libkdepim1a 4:3.5.6-0ubuntu6 (using .../libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement libkdepim1a ...
dpkg: error processing /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/apps/kdepim/icons/crystalsvg/22x22/actions/checkedbox.png', which is also in package korganizer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any hints on how to work around this?

Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

Workaround?
As far as I remember:
apt-get remove korganizer

Revision history for this message
Lattyware (info-lattyware) wrote :

In the end I used dpkg with force all and it all worked out.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

using dpkg -i --force-overwrite /path/to/deb/foo.deb

Revision history for this message
Stefan Schmid (schms) wrote :

Same here

(Reading database ... 104789 files and directories currently installed.)
Preparing to replace libkdepim1a 4:3.5.7-0ubuntu1~feisty1 (using .../libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement libkdepim1a ...
dpkg: error processing /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/apps/kdepim/icons/crystalsvg/22x22/actions/checkedbox.png', which is also in package ko
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
r794@xxxx:/etc/apt$

Revision history for this message
Scott Kitterman (kitterman) wrote :

In addition to the icons conflicts, I also got:

Preparing to replace akregator 4:3.5.7-0ubuntu1~feisty1 (using .../akregator_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement akregator ...
dpkg: error processing /var/cache/apt/archives/akregator_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/services/kontact/akregatorplugin.desktop', which is also in package kontact

Preparing to replace kaddressbook 4:3.5.7-0ubuntu1~feisty1 (using .../kaddressbook_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement kaddressbook ...
dpkg: error processing /var/cache/apt/archives/kaddressbook_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/services/kontact/kaddressbookplugin.desktop', which is also in package kontact
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Preparing to replace karm 4:3.5.7-0ubuntu1~feisty1 (using .../karm_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement karm ...
dpkg: error processing /var/cache/apt/archives/karm_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/services/kontact/karmplugin.desktop', which is also in package kontact
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Preparing to replace kmail 4:3.5.7-0ubuntu1~feisty1 (using .../kmail_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement kmail ...
dpkg: error processing /var/cache/apt/archives/kmail_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/config.kcfg/customtemplates_kfg.kcfg', which is also in package kpilot
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Preparing to replace knotes 4:3.5.7-0ubuntu1~feisty1 (using .../knotes_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement knotes ...
dpkg: error processing /var/cache/apt/archives/knotes_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/services/kontact/knotesplugin.desktop', which is also in package kontact
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Preparing to replace korganizer 4:3.5.7-0ubuntu1~feisty1 (using .../korganizer_4%3a3.5.7-1ubuntu5_i386.deb) ...
Unpacking replacement korganizer ...
dpkg: error processing /var/cache/apt/archives/korganizer_4%3a3.5.7-1ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/share/services/kontact/korganizerplugin.desktop', which is also in package kontact
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Revision history for this message
Jonathan Riddell (jr) wrote :

fixed in kdepim_3.5.7-1ubuntu7

Changed in kdepim:
status: Confirmed → Fix Released
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

It appears that this is not fixed - another user has found this.

Preparing to replace libkdepim1a 4:3.5.6-0ubuntu6 (using .../libkdepim1a_4%3a3.5.7-1ubuntu7_i386.deb) ...
Unpacking replacement libkdepim1a ...
dpkg: error processing /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu7_i386.deb (--unpack):
 trying to overwrite `/usr/share/apps/kdepim/icons/crystalsvg/22x22/actions/checkedbox.png', which is also in package korganizer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkdepim1a_4%3a3.5.7-1ubuntu7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in kdepim:
status: Fix Released → Confirmed
Revision history for this message
Jonathan Riddell (jr) wrote :

Really fixed in kdepim_3.5.7enterprise20070810-0ubuntu2

Changed in kdepim:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.