Hi Utu,
I see that some folks aren't too happy that Iceweasel/Firefox disappearing from Knoppix (and that KK has even asked for their opinion !). I also read mutterings that some are unhappy with the size of LibreOffice and wondered about chucking bits they did not want.
I had similar issues with Debian Squeeze but I didn't get Firefox direct from Mozilla nor did I start mixing packages from Wheezey and Sid in with my nice stable Squeeze. I went to Debian backports instead. This ensures I'm using packages built for my system so, I hope, minimises the risk of incompatibilities and sub-optimisation. So, I thought, why not do the same with Knoppix 6.7.0 ?
Iceweasel and Icedove
My understanding is that these are Firefox and Thunderbird simply re-branded for 'copyright' reasons. Otherwise nothing added and nothing taken away. Only they tend to be out-of-date versions and set to be more so as Mozilla intends to crank out a new release every three months.
You can find the Debian Mozilla Team's response at http://mozilla.debian.net/. There are some simple instructions there that allow you install up-to-date-as-you-like (yes, there's a choice) versions of Iceweasel and Icedove built for Squeeze, which is what Knoppix 6 is (was ?) largely based on.
Following the instructions, I added the backports repositories to my sources.list by adding a file I named backports.list to the directory /etc/sources/source.list.d:
Code:
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
deb http://mozilla.debian.net/ squeeze-backports icedove-release
deb http://backports.debian.org/debian-backports squeeze-backports main
Following the instructions, I then added the additional key for the mozilla.debian.net repository:
Code:
wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import
gpg --check-sigs --fingerprint --keyring /usr/share/keyrings/debian-keyring.gpg 06C4AE2A
gpg --export -a 06C4AE2A | sudo apt-key add -
sudo apt-get update
If you try this, following the original instructions on http://mozilla.debian.net/, not my copy.
I then installed the 'release' versions of Iceweasel and Icedove:
Code:
apt-get install -t squeeze-backports iceweasel icedove
That got me Iceweasel 6 and Icedove 5. I was able to install the (en-gb) internationalisation for Iceweasel but not for Icedove (it seems the latter is still for Icedove 3.2).
I hope this has stabilised. When I tried a couple of months ago I got Iceweasel 5 (no internationalisation available) and Iceweasel 3.1 (with internationalisation), which came from the main backports repository, not the Debian Mozilla repository.
LibreOffice
Debian Squeeze hasn't got LibreOffice so Knoppix uses the Wheezy version. I took off the Wheezy version and put on the version from Squeeze Backports and I did it so as to determine how much space you might save by installing just the word processor and spread sheet applications. This process regressed from LibreOffice 3.3.4 to 3.3.3.
Now for the bad news: it took three attempts. The first failed because of repository incompatibilities, second because I ran out of 'persistent' store. It failed when I started with an empty 'persistent' store of 512 Mb.
It was OK with 1 Gb.
First I removed the existing LibreOffice:
Code:
libreoffice=$(dpkg -l | awk "/libreoffice/"'{print $2}')
sudo apt-get purge ${libreoffice}
That, it told me, freed 301 Mb of diskspace.
Next (don't do this) I did:
Code:
sudo apt-get autoremove
To remove other 'no longer required packages'. That freed another 42.2 Mb.
This was a mistake: most of these packages need reinstalling when I put on the Squeeze Backports version and that failed due to some version incompatibility.
Start again. Put back just the word processor and spread sheet applications.
Code:
sudo apt-get install -t squeeze-backports libreoffice-writer libreoffice-calc
This used 256 Mb of space suggesting a saving of around 45 Mb.
Just to confirm:
Code:
sudo apt-get install -t squeeze-backports libreoffice
sudo apt-get install -t squeeze-backports libreoffice-l10n-en-gb
sudo apt-get autoremove
Added an extra 35 Mb and another 11 Mb and freed 1 Mb giving a total of 45 Mb to the nearest Mb.
If you want to save some space when remastering and your English happens to be an American dialect, remove all the German language internationalisation, help and spelling packages. That's all as in not-just-for-LibreOffice-but-for-all-packages.
Repositories
The really bad news is the repositories. Especially if you are using an installation with 'persistent store'.
Just doing a:
Code:
sudo apt-get update
uses 160 Mb and after the installation of the Squeeze Backports version of LibreOffice alone a further 167 Mb of packages are sitting in the apt cache. You certainly would not include the latter in a re-mastering and I doubt you'd include the former.
Then
Code:
sudo apt-get upgrade
tells me that already 142 packages are out of date. Ouch. Most of these will be from Wheezy or Sid as there is a lot more churn in these respositories than in Squeeze (by definition).
Worse the upgrade would only upgrade 63 of these: the other 79 were held back. I suspect this has something to do with a pending upgrade to the gcc compiler and the C++ libraries. To my mind one thing 'stable' means is you don't go messing with the compiler.
To complicate matters further, it wanted to upgrade the LibreOffice packages but half of them would be held back. Install the Squeeze Backport version made no difference. I'm sure I could pin LibreOffice to 'workaround' this one but that is beyond my current experience.
My conclusion is that upgrading, and therefore remastering Knoppix, is for braver men than me with far more spare time to burn.
Have fun.