Please check whether it works in the original Knoppix you used as a base for your remaster. If it does, the packages in your remaster ("apt-get upgrade") are incompatible with the respective klik recipe you are using to run.Quote:
Originally Posted by kwadroke
Great! :) Some ideas I had on this:Quote:
Originally Posted by kwadroke
apt-get should run on the server. You can access apt-get through php (exec, I think). Now, at least for KDE apps, there is all you need: Let the PHP page call apt-get to display the available packages and to create the list of URLs to be included in the recipe (but always make sure you are using http://snapshot.debian.net/ with the date matching to the Knoppix version you want to generate the klik script for, e.g. http://snapshot.debian.net/archive/2...14/debian/pool for KNOPPIX_V3.3-2003-11-14, otherwise you might end up in broken packages and/or too many packages downloaded and broken URLs in the recipe - thanks Fabrian for this hint). Then, let the server extract the neccessary meta information for the klik recipe from the deb package. Finally, let PHP write the klik recipe. Should all be possible without too much hassle. HOWEVER this takes only into account the apps that were in unstable at the point of time the Knoppix version you are writing for was available. If you want more recent apps to run, you will possibly have to hand-write your recipe anyway, sometimes even using "dirty" sources such as Fedora RPMs and the like.
If it all works, it will be coooooooool :)
If you need some script snippets for the apt-get server side part I am talking about, drop me a line. I have them here (for my local use, not yet embedded into php, however).