KDE 4.2 upgrade fails with kde-window-manager package (8.10 64bit)

Bug #324752 reported by Donovan Schönknecht
12
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The kde-window-manager package fails to install correctly - something about a file overwrite in another package - this leaves the desktop unusable (there are no title bars).

Tried this with two different machines (both 64bit). Spoken to someone who is running 32bit and they said that they did not experience this problem so I'm inclined to think it's limited to the 64bit packages.

Experienced the same problem with the 4.2 betas and hoped that it would be fixed by release but it appears that it has slipped through.

Tags: kwin
Revision history for this message
Donovan Schönknecht (undesigned) wrote :

Obviously this is using the kubuntu-experimental repo.

Also, the koffice-data-kde4 package which is supposed to be in incompatible with 4.2 was not installed.

If nobody can verify this I will gladly run the upgrade again to grab the aptitude output.

Revision history for this message
Donovan Schönknecht (undesigned) wrote :

Forgot to mention - this happens with a fresh install of Kubuntu 8.10.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you do a sudo apt-get install kde-window-manager and paste the entire log? Thanks.

Changed in kdebase-workspace:
importance: Undecided → High
Revision history for this message
Donovan Schönknecht (undesigned) wrote :
Download full text (20.6 KiB)

don@laptop:~$ sudo apt-get install kde-window-manager
[sudo] password for don:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gstreamer0.10-plugins-base gstreamer0.10-plugins-good kde-icons-oxygen kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdelibs-bin kdelibs5 kdelibs5-data libavc1394-0 libdv4 libiec61883-0 libkwineffects1 liboil0.3 libpcre3
  libphonon4 libsearchclient0 libshout3 libsoprano4 libsoup2.4-1 libstreamanalyzer0 libstreams0 libstrigihtmlgui0 libstrigiqtdbusclient0 libv4l-0 libxml2-utils phonon phonon-backend-gstreamer soprano-daemon strigi-client strigi-daemon ttf-dejavu ttf-dejavu-extra
Suggested packages:
  kdebase libdv-bin phonon-backend-vlc phonon-backend-mplayer strigi-plugins
Recommended packages:
  gvfs gstreamer0.10-x
The following packages will be REMOVED:
  kubuntu-desktop phonon-backend-xine
The following NEW packages will be installed:
  gstreamer0.10-plugins-base gstreamer0.10-plugins-good libavc1394-0 libdv4 libiec61883-0 liboil0.3 libshout3 libsoup2.4-1 libv4l-0 libxml2-utils phonon-backend-gstreamer ttf-dejavu ttf-dejavu-extra
The following packages will be upgraded: ...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ok, thanks. Now I'll need to know the output of 'apt-cache policy kdebase-workspace-data'

Changed in kdebase-workspace:
status: New → Confirmed
Revision history for this message
Donovan Schönknecht (undesigned) wrote :

don@laptop:~$ apt-cache policy kdebase-workspace-data
kdebase-workspace-data:
  Installed: 4:4.1.3-0ubuntu1~intrepid1
  Candidate: 4:4.2.0-0ubuntu1~intrepid1~ppa5
  Version table:
     4:4.2.0-0ubuntu1~intrepid1~ppa5 0
        500 http://ppa.launchpad.net intrepid/main Packages
 *** 4:4.1.3-0ubuntu1~intrepid1 0
        500 http://za.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     4:4.1.2-0ubuntu12 0
        500 http://za.archive.ubuntu.com intrepid/main Packages
don@laptop:~$

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ah, kde-window manager should conflict kdebase-workspace-data with a version (<= 4:4.1.3) rather than (<= 4.1.3). Oops.

Changed in kdebase-workspace:
assignee: nobody → echidnaman
status: Confirmed → In Progress
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

In the meantime you can get past this with this command:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/kde-window-manager_4%3a4.2.0-0ubuntu1~intrepid1~ppa5_amd64.deb ; sudo apt-get install -f

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed to bzr. The fix will be released to Jaunty once alpha freeze is over (after alpha 4 is released).
I can push this fix to the Intrepid PPA in a few minutes, though.

Changed in kdebase-workspace:
status: In Progress → Fix Committed
milestone: none → jaunty-alpha-5
Revision history for this message
Donovan Schönknecht (undesigned) wrote :

You rock Jonathan.

Had the same problem with the systemsettings package (does this require a new bug report?). With --force-overwrite and an upgrade of the kdebase-workspace packages it installed and seems to be working correctly.

Thank you for your help!

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

It might require a bug report. It might not. It depends on the file it was trying to overwrite, and which package the file was part of. If the file it was trying to overwrite was in kdebase-workspace-data the fix I made would fix that too, but if the file was in a different package we'd need to add a conflicts/replaces rule for that package.

Revision history for this message
Donovan Schönknecht (undesigned) wrote :

dpkg: error processing /var/cache/apt/archives/systemsettings_4%3a4.2.0-0ubuntu1~intrepid1~ppa5_amd64.deb (--unpack):
 trying to overwrite `/usr/lib/kde4/kcm_colors.so', which is also in package kdebase-workspace-bin
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Just shout if you'd like me to open a new ticket for this package.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Nah, I'll just fix it without the second bug.
Thanks for testing.

Revision history for this message
Donovan Schönknecht (undesigned) wrote :

Excellent. The PPA packages install perfectly now.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Great, once alpha freeze is over (after alpha 4 is released) these can be uploaded to Jaunty and this bug can be closed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.2.0-0ubuntu4

---------------
kdebase-workspace (4:4.2.0-0ubuntu4) jaunty; urgency=low

  * Make kde-window-manager conflict/replace on kdebase-workspace-data (<= 4:4.1.4)
    rather than (<= 4.1.4) (LP: #324752)
  * Bump systemsettings' conflicts/replaces version on kdebase-workspace-bin to
    (<< 4:4.1.80) to accomodate KDE 4.1.4 installs
  * Add kubuntu_59_fix_klipper_firefox_actions from openSUSE to fix the "open with
    firefox/mozilla" klipper actions. (LP: #302122)

 -- Jonathan Thomas <email address hidden> Tue, 03 Feb 2009 17:20:00 -0500

Changed in kdebase-workspace:
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote :

The fix was incomplete because it didn't cover upgrades from 4.1.4. Updated in bzr.

Changed in kdebase-workspace:
assignee: echidnaman → nobody
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.2.0-0ubuntu5

---------------
kdebase-workspace (4:4.2.0-0ubuntu5) jaunty; urgency=low

  [ Scott Kitterman ]
  * Adjust Vcs-* for Kubuntu in debian/control
  * Update kde-window-manager conflicts/replaces kdebase-workspace-data
    versions to << 4:4.1.80 so upgrades from 4.1.4 work (LP: #324752)

  [ Jonathan Riddell ]
  * Add kubuntu_60_low_disk_space.diff from SuSE
  * Add kubuntu_61_suspend_buttons.diff, make suspect/hibernate
    options consistent text and icons with battery applet

 -- Jonathan Riddell <email address hidden> Mon, 16 Feb 2009 21:10:44 +0000

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

Other bug subscribers

Remote bug watches

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