To save everyone some trouble.
If you follow these instructions they should provide the easiest and most hassle free way to upgrade knoppix.
Maybe I was doing something wrong, but I tried doing everything on this page 4 times and failed each time. Now it seems KDE 3.2 is mostly in the unstable repository, and I'll describe what I did which eventually worked. After messing everything up, I did a clean install with the latest version of Knoppix 3.3
Do NOT add any extra lines to your /etc/apt/sources.list file
Here is all you need to do people.
(revised guide, thanks Stephen)
1. Install Knoppix
2. log in as root (Do NOT do this from KDE, log into fluxbox or just do it from the console.)
3. apt-get update
4. apt-get -u -t unstable dist-upgrade
it downloads the packages and on mine and likely anyone else using a new clean version of knoppix it failed after doing trying to install kdebase.
5. dpkg --force--overwrite --install xxx.deb for each package that has this problem. (if you get a huge list of things you need to force try doing a 'apt-get -f install')
6. dpkg --configure -a
7. apt-get -u -t unstable dist-upgrade (it picks up where it left off)
follow steps 4 - 7 until you get no more errors
8. apt-get -u -t unstable install kdeartwork
9. Log out and type kdm, or just reboot.
10. Enjoy!
Anyway, it works. mostly, I don't seem to have the new taskbar applets but I think thats just because they havn't been added to the repository yet.
Re: To save everyone some trouble.
Quote:
Originally Posted by kovk
Do NOT add any extra lines to your /etc/apt/sources.list file
Correct KDE 3.2.1 is mostly in unstable now.
Quote:
4. apt-get -u -t people.debian.org dist-upgrade
Should be -t unstable you do not need the people packages and some people may want to use apt-get install -t unstable kdebase kdebase-bin ..... until you have all the KDE packages installed if they do not want to upgrade their whole install to unstable.
Quote:
it downloads the packages and on mine(and likely anyone else using this version of knoppix. it failed after doing trying to install kdebase)
5. dpkg --force--overwrite --install xxx.deb for each package that has this problem. (should just be one, kdebase)
Good thing it was a fresh install and not the CVS packages I had to do all kinds of overwrites.
Quote:
6. apt-get -u -t people.debian.org dist-upgrade (it picks up where it left off)
You should always use dpkg --configure -a before picking back up to configure any packages that may have been missed when you had the errors and had to force overwrite.
Quote:
Anyway, it works. mostly, I don't seem to have the new taskbar applets or the plastik theme, but I think thats just because they havn't been added to the repository yet. I assume they will appear and I will be able to get them later with an additional 'apt-get -u -t people.debian.org dist-upgrade'
You missed some of the artwork packages it was either the -style or the -theme-window that did not get installed on mine.
Code:
[10:21 PM Sun Mar 07: stephen @ ~]
>$ COLUMNS=125 dpkg -l | grep 3.2.1
[snip...]
ii kdeartwork 3.2.1-1 themes, styles and more from the official KDE release
ii kdeartwork-misc 3.2.1-1 various multimedia goodies released with KDE
ii kdeartwork-style 3.2.1-1 widget styles released with KDE
ii kdeartwork-theme-desktop 3.2.1-1 Dummy upgrade package for official KDE desktop themes
ii kdeartwork-theme-icon 3.2.1-1 icon themes released with KDE
ii kdeartwork-theme-window 3.2.1-1 window decoration themes released with KDE
[snip...]
kdm dead or at least badly wounded, borked kde install?
A little update as I'm too tired for work and I'm tired of F5'ing the main (forum) page waiting for news of Knoppix 3.4 CeBIT ;)
Seems I was a bit hasty in stopping the dist-upgrade installation (actually must have been configuration by now - I'm pretty sure I was doing a 'dpkg --configure -a') of a package that I thought had hung - cannot remember the exact name, but it was the 'locales' one. For some reason this took *ages* to complete (40 minutes or so), and made my CPU process hit 100% for a lot of the time. At one of the z*-*** locales the app really looked as if had hung - nothing for 10-15 (maybe longer) minutes (this is when I cancelled the first time). Anyway after my last post I kept the faith, waited for ages so letting it complete etc.
The result was that at the end 'dpkg --configure -a' only returned one error - about j2re1.4 (which I need and hwich I'll try to fix later). I rebooted, hoping that this time I could get into kde 3.2
Can't remember exactly (was 3 a.m. by this stage), whether kdm worked at *all* or whether I had to use startx, but I was greeted by kdm :)) Only this time kde3 is no where to be seen in the list of window manager! I could log into the other window managers OK though.
I think I must have screwed up my (k)dm or window manager settings when debconf wanted to configure my updated xfree (asking about keboard maps and who knows what else)....
Anyway after a couple of hours of looking (googling a bit then checking out the kde-linux mailing list archives) I've got a number of things to check out tonight. Otherwise I'll just have to do a new Knoppix installwith the 3.4 CeBIT version.
Anyway, time for some serious work before lunch.
Re: kdm dead or at least badly wounded, borked kde install?
Quote:
Originally Posted by c123
A little update as I'm too tired for work and I'm tired of F5'ing the main (forum) page waiting for news of Knoppix 3.4 CeBIT ;)
Seems I was a bit hasty in stopping the dist-upgrade installation (actually must have been configuration by now - I'm pretty sure I was doing a 'dpkg --configure -a') of a package that I thought had hung - cannot remember the exact name, but it was the 'locales' one. For some reason this took *ages* to complete (40 minutes or so), and made my CPU process hit 100% for a lot of the time. At one of the z*-*** locales the app really looked as if had hung - nothing for 10-15 (maybe longer) minutes (this is when I cancelled the first time). Anyway after my last post I kept the faith, waited for ages so letting it complete etc.
That damn bug is still there over a year later thats not performance at all. Use apt-get install localepurge and go through the configuration and unselect all locales except the ones you want to keep for me that is usually the en and all the en_US... and say yes to the delete man pages and no to be informed of new locales just let the system delete them as they are added. Then edit the file /etc/locale.gen and delete all the locales except the ones you kept and now when you install new software for the first time again you should see about a couple of hundred megs of junk get removed if you choose the calculation of space saved during the configuration.
Quote:
The result was that at the end 'dpkg --configure -a' only returned one error - about j2re1.4 (which I need and hwich I'll try to fix later). I rebooted, hoping that this time I could get into kde 3.2
Can't remember exactly (was 3 a.m. by this stage), whether kdm worked at *all* or whether I had to use startx, but I was greeted by kdm :)) Only this time kde3 is no where to be seen in the list of window manager! I could log into the other window managers OK though.
Ah the joys of the late night upgrade fired my entire system once doing that. I seem to remember reading on the developer list that you need a ~/.wmrc with only kde3 as the contents and when I first upgraded to the 3.2 I had to choose the kde3 from the menu list in the KDM or it would not login.
Quote:
I think I must have screwed up my (k)dm or window manager settings when debconf wanted to configure my updated xfree (asking about keboard maps and who knows what else)....
Anyway after a couple of hours of looking (googling a bit then checking out the kde-linux mailing list archives) I've got a number of things to check out tonight. Otherwise I'll just have to do a new Knoppix installwith the 3.4 CeBIT version.
Anyway, time for some serious work before lunch.
You should be able to dpkg-reconfigure package_name to have the configuration questions asked again so you can check the prior answers that you gave or were accepted on your behalf with the defaults if you said yes to them all. For the keymaps if you are having problems it would be IIRC console-common for the console keymap and xserver-xfree86 for X.