Upgrade KDE to 4.2

Michael Zoet Michael.Zoet at michaelzoet.de
Fri Jan 30 10:56:24 UTC 2009

P Kapat schrieb:
> On 1/29/09, Amila Liyanaarachchi <amila.uoc at gmail.com> wrote:
>> ...
> Certainly not needed, but sometimes reinstalling might be less of a
> pain than identifying the problem and THEN fixing it.
If you know where to look and what to do you do not need to reinstall.
But you have to be familiar with the command line.

I installed KDE 4.2 a few days ago and the package system got srewed up.
Not because of KDE 4.2 but because I have so much software installed and
I got package dependency problems. What I did: deinstalled all KDE
packages and the reinstalled KDE 4.2. After that every thing worked and
I do not had to reinstall the whole system. I did this with dselect on
the command line. dselect is a software that is not recommended anymore
and you can use aptitude instead. You only have to learn how to use

> ...
> If any particular package is creating trouble, try to if you can purge it out
> apt-get --purge remove <pkg>
Trying to deinstall the packages, that causes trouble, is worth a try. I
had some difficulties with deinstalling particular KDE packages, so I
deinstalled (and purged) every KDE package...
> ...
> ...
> sing and dance
> ...
> ...
> BTW, if you use nvidia's driviers and the kernel version changes, then
> you'll need to re-install the  nvidia driver - this is a typical
> problem when using the binary from nvidia's site. You can look for
> lines starting with (EE) in /var/log/Xorg.0.log.
If you use the NVIDIA package provide by Ubuntu, this should not be a
> Many things can go wrong...
For sure ;-).
>> Second question is, after adding the "deb
>> http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main" to
>> third party SW, adept started downloading the updates. Is there a way
>> which I can choose some updates instead of downloading everything. In
>> my case I noticed that adept is downloading MySql server which I
>> didn't have in my system and I don't want to have. During the failed
>> installation it prompted for the root password for mysql as well.
The MYSQL server is needed by KDE in the future. Some KDE programs and
libraries need it and they depend on it. You can deinstall MySQL and
every KDE package that needs MySQL. But it will be some time in the
futuer where more and more KDE applications might need a local running
MySQL server. And so you have to decide what you want... This dependency
of MySQL with future KDE is something I really do not understand... But
for now I know no way to change this.

> Selectively, updating is a bit tricky.
I would not selectively update a system! This can break a lot of things.
What you can do is setting some packages on hold. This means packages
that are on hold will never get updated. But you should only use it if
you know what you are doing. And only on a small amount of packages.
Setting the whole KDE packages on hold might get you more trouble than
it is worth! KDE has really a lot of dependencies.
> Selective updating is possible through apt-pinning in
> /etc/apt/preferences file but that is another ball game. Another
> similar option is dpkg --set-selection <pkg> hold.... Aptitude folks
> might have some trick up their sleeve.
As mentioned above I would not recommend this unless you know what you
are doing and you know how things work in the Ubuntu/Debian package pool.


More information about the kubuntu-users mailing list