Updating to KDE 4.5.3 in Kubuntu 10.10 requires removal of necessary packages

Bug #670788 reported by Toni Helenius
190
This bug affects 37 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
Fix Released
Undecided
Unassigned

Bug Description

This can't be right. I'm trying to upgrade and KPackageKit tells me that it needs to remove packages that to me seem mighty important. Can this be right?

Revision history for this message
Toni Helenius (toni-helenius) wrote :
Revision history for this message
Michele Corazza (ashmikuz) wrote :

Same problem, same packages

Revision history for this message
dtr (dtr) wrote :

I figured there would be new packages that would be installed, perhaps with new names, so I did the upgrade. All seemed fine until I had to log off. Now I can't get kde to work, can only log in via the command line. Apparently there are new packages required but are not installable due to missing dependencies. apt-get reports there are several packages being held back.
Hope this is fixed ASAP.

Currently running Kubuntu 10.10 64 bit.

Revision history for this message
dcecchin (dcecchin-deactivatedaccount) wrote :

It's also broken from KDE 4.5.2 which is what I am running as of Thu Nov 4 08:28:49 UTC 2010 the kubuntu ppa wants to:

The following packages will be REMOVED:
  kde-window-manager kdebase-apps kdebase-bin kdebase-workspace kdebase-workspace-bin kdepasswd kdeplasma-addons kdeplasma-addons-dbg kdm kinfocenter konqueror ksysguard kubuntu-desktop kubuntu-konqueror-shortcuts libplasmaclock4b plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-wallpapers-addons plasma-widgets-addons
  plasma-widgets-workspace rekonq
The following NEW packages will be installed:
  libsmokeqt4-3
The following packages have been kept back:
  dolphin kde-config-cron kdeadmin kdeadmin-dbg kdebase-runtime kdebase-runtime-dbg kfind khelpcenter4 konqueror-nsplugins konsole ksystemlog kuser kwrite libkonq5 libkonqsidebarplugin4a libkwineffects1a libkworkspace4 libplasmagenericshell4 plasma-scriptengine-javascript plasma-widget-folderview systemsettings
The following packages will be upgraded:
  bomber bovo cantor cantor-backend-kalgebra granatier gwenview jovie kajongg kalgebra kalzium kalzium-data kamera kanagram kapman katomic kbattleship kblackbox kblocks kbounce kbreakout kbruch kcolorchooser kde-icons-mono kdeaccessibility kdeaccessibility-dbg kdeartwork-dbg kdebase-data kdebase-dbg kdebase-runtime-data kdebase-workspace-data
  kdebase-workspace-dbg kdebase-workspace-kgreet-plugins kdebase-workspace-wallpapers kdebindings-dbg kdeedu kdeedu-dbg kdeedu-kvtml-data kdegames kdegames-card-data kdegames-dbg kdegames-mahjongg-data kdegraphics kdegraphics-dbg kdegraphics-libs-data kdegraphics-strigi-plugins kdewallpapers kdiamond kfourinline kgamma kgeography kgeography-data kgoldrunner
  khangman kig kigo killbots kiriki kjumpingcube klettres klettres-data klines klipper kmag kmahjongg kmines kmousetool kmouth kmplot knetwalk kolf kollision kolourpaint4 konquest kpat kreversi krosspython kruler ksame kshisen ksirk ksnapshot kspaceduel ksquares kstars kstars-data ksudoku ksysguardd ktouch ktron ktuberling kturtle kubrick kwordquiz
  libkdcraw8 libkdecorations4 libkdeedu4 libkdegames-dev libkdegames5 libkephal4 libkexiv2-8 libkipi7 libkonq5-templates libksane0 libkscreensaver5 libksgrd4 libksignalplotter4 libmarblewidget10 libokularcore1 libplasma-geolocation-interface4 libprocesscore4a libprocessui4a librocslib4 libsolidcontrol4a libsolidcontrolifaces4 libtaskmanager4a lskat marble
  marble-data marble-plugins okular okular-extra-backends palapeli palapeli-data parley parley-data plasma-desktopthemes-artwork plasma-scriptengine-python python-kde4 rocs step system-config-printer-kde
131 upgraded, 1 newly installed, 22 to remove and 21 not upgraded.

remove 22 items critical for the system to run.

Revision history for this message
Pak (paolo-tezza) wrote :

Same issue here...
I was in hurry and I have removed the packages without reading, and now the system doesn't start

Trying to install "kubuntu-desktop" but without success cause there are some missing package dependency

Revision history for this message
Alex N (alex-n-email) wrote :

For cross-referencing: 670784 is related to this bug (this is what happens if you actually proceed with the update and then restart Kubuntu).

Changed in kubuntu-ppa:
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

Wow. Okay, that's a small packaging bug with extreme results. As far as I can see, some of the most important KDE parts in kubuntu-ppa repository have not been updated yet to 4.5.3. The remaining packages with version 4.5.2 have dependencies and need the other packages to be in version 4.5.2 as well. So kpackagekit decides, to make the update work, to remove the packages that are still version 4.5.2.

This includes essential ones a seen in the screenshot or below.

For example in the Packages file for 64-bit
http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/dists/maverick/main/binary-amd64/Packages

-------------------
Package: kdelibs-bin
Source: kde4libs
Priority: optional
Section: libs
Installed-Size: 968
Maintainer: Kubuntu Developers <email address hidden>
Architecture: amd64
Version: 4:4.5.2a-0ubuntu1~ppa2
-------------------

same for kdelibs5 and libkdecore5 and many more.

description: updated
Revision history for this message
Pulkit Swarup (pulkit-swarup) wrote :

did any one of you figured out an alternative to start the system or downgrade to 4.5.2

Revision history for this message
Michael Burger (michi-burger) wrote :

Seam problem for me ....

I'm on work and can't start my system.

I'll try delete my kde remove backports from sources and install default kde

Revision history for this message
Ukyoi (ukyoi) wrote :

Same problem on my system.
It seems that the old softwares should be uninstall but new softwares need libs 4.5.3 that are missing.

Revision history for this message
Jari Salo (jari-salo) wrote :

ppa-purge might work.

Revision history for this message
Michael Burger (michi-burger) wrote :

I will try ppa-purge

Revision history for this message
Alessandro Sivieri (scattino) wrote :

Looking at the package list in the PPA, it seems that the whole kde4libs is still at 4.5.2...

Revision history for this message
Andrew Sam (mailandrewsam) wrote :

The same issue here. Only thing sane that I'd been doing is that I didn't log off after stupidly pulling the trigger when it uninstalled critical packages :)

When is it goign to be updated? is there anyway around it?

Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

I guess the best fix for now should be to revert to KDE 3.5.1 from maverick release

Commands: (untested)

sudo ppa-purge ppa:kubuntu-ppa/ppa
sudo aptitude install kubuntu-desktop

Not sure if you need the latter, but it will not hurt and might reinstall needed packages that have been removed

Good luck!

Revision history for this message
Michael Burger (michi-burger) wrote :

ppa-purge had revert everything to KDE 4.5.1

when i restart my system i was able to boot until the logon mask, also I can log into.

But when loading the kde-desktop it crashes and goes into loop with several errors

Revision history for this message
Charles Opondo (charlesopondo) wrote :

It all didn't seem right to me, especially when the update said it was going to uninstall important packages such as kdm, kdebase* plasma* e.t.c. Silly me, I went on with it. Result? This frantic bug report in the wrong place: https://bugs.kde.org/show_bug.cgi?id=256025

Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

@Charles then it would be fair to tell the KDE guys that it's not their fault but a packaging problem.

Please try reverting the PPA with my 2 commands from comment #16. After Michael Burger said that just purging the PPA did not completely fix it, I hope the second command, installing kubuntu-desktop, fixes the rest.

Revision history for this message
Schrekkorr (olibolm) wrote :

ppa-purge worked, now using KDE 4.5.1 without any errors.

Revision history for this message
Georgi (gkourtev) wrote :

Same here -- I even tried updating through different servers in different countries (Bulgaria, US, Netherlands, Main server) to see if this is a synchronisation issue. No success. Hope that this will solved today.

Revision history for this message
Michael Burger (michi-burger) wrote :

@Daniel
i also tried installing kubuntu-destkop but it only install the single package and fixes nothing else

summary: - Updating KDE 4.5.1 -> 4.5.3 in Kubuntu 10.10 requires removal of
- necessary packages
+ Updating to KDE 4.5.3 in Kubuntu 10.10 requires removal of necessary
+ packages
Revision history for this message
Pulkit Swarup (pulkit-swarup) wrote :

The command:

sudo ppa-purge ppa:kubuntu-ppa/ppa

solved my problem. The system is up and running kde 4.5.1

@Michael While downgrading it displays a conflict between few packages. The open to select is Y or I to install the packages from kde 4.5.1 and discard from from the version kde 4.5.3. Maybe running the above mentioned command asks you the same question again and you can then go ahead and select the correct option.

Revision history for this message
Michael Burger (michi-burger) wrote :

@Pulkit
on purging the repository nowhere displays a conflict between few packeges.

i will again install kde 4.5.3 and then purge again the repository

Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

For me purging and reinstalling kubuntu-desktop results in krunner trying to start things, but segfauliting, when I have logged in.
(Gave up after krunner segfaulting over 90 times.)
Same experience anyone?

Revision history for this message
Vasil Manolov (bluecreature) wrote :

@#25: cleaning the kde temp files fixed it for me ( sudo rm -rf /tmp/kde* ; sudo rm -rf /var/tmp/kdecache* ).

Revision history for this message
Evgeny Brazgin (xapienz) wrote :

kde 4.5.3 needs libkfile4>=4:4.5.3 and libkio5>=4:4.5.3, but they both are 4:4.5.2a-0ubuntu1~ppa2 in ppa.
Maybe building only these two packages could solve the problem

Revision history for this message
Charles Opondo (charlesopondo) wrote :

The problems appears to extend to more than those two packages; in my case it includes:
libkio5
libwineffects1a
libworkspace4
libplasma3
kfind
konsole
libkonq5
plasma-widget-folderview
konqueror-nsplugins
libkfile4
libplasmagenericshell4
libweather-ion5

Revision history for this message
Yann Nave (yannux-onbebop) wrote :

Here is the packages it want to remove on my :
kde-window-manager kdebase-bin kdebase-workspace kdebase-workspace-bin kdepasswd kdm kinfocenter ksysguard kubuntu-desktop kubuntu-konqueror-shortcuts libplasmaclock4b plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-widgets-addons plasma-widgets-workspace rekonq

Revision history for this message
Aire Libre (i-contact-airelibre-fr) wrote :

Hi - Thanks @Vasil Manolov, your trick solved my problem (kde 4.5.1 didn't start : segfault problems) and now KDE works.

Revision history for this message
Evgeny Brazgin (xapienz) wrote :

Charles Opondo, most of your packages depend on libkfile and libkio5.

$ sudo apt-get install kfind
<...>
 kfind : Depends: libkfile4 (>= 4:4.5.3) but 4:4.5.2a-0ubuntu1~ppa2 will be installed
         Depends: libkio5 (>= 4:4.5.3) but 4:4.5.2a-0ubuntu1~ppa2 will be installed
E: Broken packages

The same with konsole, libkonq5.
And yes, I'd like to add libplasma3 to my list of two necessary packages. plasma-widget-folderview depends on it

Revision history for this message
Charles Opondo (charlesopondo) wrote :

@Daniel - done so:

I can confirm that:

sudo apt-get install ppa-purge (if you didn't already have it installed)
sudo ppa-purge ppa:kubuntu-ppa/ppa
sudo aptitude install kubuntu-desktop
sudo rm -rf /tmp/kde*
sudo rm -rf /var/tmp/kdecache*

results in a working KDE 4.5.1.

Revision history for this message
Asraniel (asraniel) wrote :

seriously, why does my computer break in 1 out of 3 kde updates? take your time, wait a week more, but test it. if i didn't know linux very well, i would have been lost and would have had to reinstall my computer. the backports ppa is supposed to be save, at least to the point that you should still be able to boot you computer after a upgrade.

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

kde4libs failed to copy over to the PPA. Now copied and will be published in a minute. Sorry for the hassle.

Revision history for this message
Alessandro Sivieri (scattino) wrote :

@Charles and others: I think they are all packages generated by kde4libs, which is still at 4.5.2; for some reasons, that source package has not been built, and I think creating it will solve all problems...

Revision history for this message
tekkenlord (linuxfever) wrote :

A similar problem has happened before with updates for the KDE 4.4.x series. Once reported, usually they fix it within a day or two. So, I guess we need to be a bit patient now...

Revision history for this message
Oceanwatcher (oceanwatcher) wrote :

@Jonathan Thank you for acting so quick on this. I updated last night before turning off, and when I booted up to start working this morning I discovered the same problem. Did not pay enough attention during the upgrade as I had other things to attend to.

Could you please post a message as soon as kde4libs is published?

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

@Oceanwatcher: Just ran an update and everything seems to be okay now.

@Asraniel: You can be certain that the great Kubuntu maintainers are testing packages before they are pushed to the public ppas. Once they are tested, they are copied over in launchpad. Somehow (as Jonathan wrote in comment #34) launchpad didn't copy all packages. But still your package manager should not remove due to broken dependencies. The good old apt-get kept these packages back, which wouldn't result in a broken/not running system.

Revision history for this message
Georgi (gkourtev) wrote :

I can confirm that after apt-get update all is fine now.

Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

For amd64 the problem has been solved. I guess it's fixed for all architectures.

@Christian: I agree. Missing packages and - as a result - unmet dependencies can happen quite easy, that's no biggie. A package manager that starts to nilly-willy deleting base packages to solve these has some serious issues. KPackageKit is to blame here for the mess it created with just a little click on the suggested default button.

Revision history for this message
Nick Sanders (nicksanders11) wrote :

I can confirm that

sudo aptitude upgrade
sudo aptitude install kde-window-manager kdebase-bin kdebase-workspace kdebase-workspace-bin kdepasswd kdm kinfocenter ksysguard kubuntu-desktop kubuntu-konqueror-shortcuts libplasmaclock4b plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-widgets-addons plasma-widgets-workspace rekonq
sudo aptitude upgrade

Fixed it for me

Revision history for this message
Charles Opondo (charlesopondo) wrote :

A fresh apt-get update and upgrade (after re-enabling the ppa repository) sorts it all for me too. Thanks a lot to the nice folks at Launchpad for the quick resolution :-) Happy KDE'er!

Revision history for this message
Oceanwatcher (oceanwatcher) wrote :

Did an update and upgrade and now there is nothing more to upgrade. Still not working. Ketting the bootsplash with Kubuntu 10.10 and the marching dots. They just keep marching... BTW - I did not revert to 4.5.1, I just waited for the fix here.

Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

@Vasil, @#26 Thanks!

Revision history for this message
Charles Opondo (charlesopondo) wrote :

@Oceanwatcher: start at #41

Revision history for this message
Charles Opondo (charlesopondo) wrote :

@Oceanwatcher: if that doesn't work do #32 then #41.

Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

@Jonathan, @34: Thanks!

Revision history for this message
Oceanwatcher (oceanwatcher) wrote :

@Charles #41 did the trick :-) Hoping that this version is more stable. I have had a lot of things suddenly crash on 10.10. Especially Nepomuk. So now on to the testing :-D Thanks!

Jonathan Riddell (jr)
Changed in kubuntu-ppa:
status: Confirmed → Fix Released
Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

@Daniel: It's not only a KPackageKit problem - aptitude would have removed a lot of packages too. Didn't try muon to see how this promising GUI package manager would have coped with the situation.

Revision history for this message
Michael Burger (michi-burger) wrote :

Now it works fine!

Simply make an update

Thx guys

Revision history for this message
Pak (paolo-tezza) wrote :

   apt-get update
   apt-get install kubuntu-desktop
   apt-get dist-upgrade

works for me
thanks for solving the issue so quickly :)

Revision history for this message
Asraniel (asraniel) wrote :

that bug was set to "fix released". does this mean we can now safely upgrade?

Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

@Asraniel: Yes. I tried on another system where I did update nothing yet and it worked as it should. The only package that was removed was "libweather-ion4a" and that's correct because it's been superseded by "libweather-ion5"

Revision history for this message
mero (merovirgian) wrote :

ppa-purge ppa:kubuntu-ppa/ppa

this works for me, now I've got

The following packages will be REMOVED:
  kdebase-workspace kdebase-workspace-bin libweather-ion4a plasma-desktop

etc...

Are you sure that now is fixed ? :) I'm worried to upgrade now :D

Revision history for this message
rklz (h-admin-sinapticanetworks-com) wrote :

The problem persist , kpackagekit wants to remove plasma kubuntu-desktop and other critical packages.

When this fix will be available?

Thank you

Revision history for this message
Nikola Snele (n-schnelle) wrote :

@rklz

I had the same problem with kpackagekit.

But with aptitude I had no problems. I did the following:

sudo aptitude update
sudo aptitude full-upgrade
sudo aptitude install kubuntu-desktop
sudo rm -rf /tmp/kde*
sudo rm -rf /var/tmp/kdecache*

Then reboot.

Revision history for this message
rklz (h-admin-sinapticanetworks-com) wrote :

@Nikola Snele

Thank you ! , that worked for me !

Cheers from Argentina :)

Revision history for this message
Kazma (kazma-deactivatedaccount) wrote :

Still dependency problem on kpackagekit.
Kubuntu 10.10(32bit) / 4.5.1 -> 4.5.3

Revision history for this message
Charles Opondo (charlesopondo) wrote :

I can also confirm that solution #56 works for those still having the issue of kpackagekit attempting to remove some important packages.

Revision history for this message
Jouni Karlsson (nakkel) wrote :

Kubuntu 10.10 64bit upgrading from 4.5.2 to 4.5.3 wants still to remove packages for me.

kdebase-workspace
kdebase-workspace-bin
kdeplasma-addons
kubuntu-desktop
plasma-dataengines-workspace
plasma-desktop plasma-netbook
plasma-wallpapers-addons
plasma-widgets-addons
plasma-widgets-workspace

Revision history for this message
Amun Hateb (amunhateb) wrote :

try this - go to konsole and print sudo aptitude dist-upgrade. And answer "Yes" on the question to change package version. Than should work as it works for me.

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.