Frederick Posted June 25, 2004 Report Share Posted June 25, 2004 I finally have a working livecd (MDK10 Official, xfc4.0.3-2, kernel 2.4.25). I have written three scripts (Install-flash-7, Install-RealPlayer-10 and Install-Swiss-PDB-Viewer-3.7) so that the CD provides support for the major commercial programs and also one of particular interest to me. The flash install script works great since it does not include sudo. Note that all three scripts worked on the desktop i use for development of the cd. The last two scripts make use of sudo in the following way: sudo rpm -ivh package.rpm I get the following message when running the two scripts: sudo: timestamp too far in the future Jun 25 16:27:41 2004Installers/./Install-Real-Player-10: line 10: 6302 Broken pipe sudo rpm -ivh RealPlayer-0.4.0.186-20040615.i586.rpm I will release the scripts on this forum as soon as I worked out this bug. Any help in solving it would be welcome. Cheers. PS: I am writing this from the CD :P [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
tyme Posted June 25, 2004 Report Share Posted June 25, 2004 sounds like there's a clock problem...is your live cd displaying the correct time/date? Quote Link to comment Share on other sites More sharing options...
Frederick Posted June 25, 2004 Author Report Share Posted June 25, 2004 (edited) Ok, i have somewhat progressed, I added my default user as a sudoer instead of the group. Now here is the error i get: error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive modeerror: cannot open Packages database in /var/lib/rpm I am doing this experiment on the cd, I will try on the desktop. I thought, maybe change the permissions on the folder so that it is always writable. Another solution could be to just use sources instead of rpm. Any ideas? Edited June 25, 2004 by Frederick Quote Link to comment Share on other sites More sharing options...
Frederick Posted June 25, 2004 Author Report Share Posted June 25, 2004 I solved the problem by forgetting about rpm. I used the binary installer for real player and checked the license for openmotif (which was needed for one of the programs i wanted to install) and installed it via rpm directly in the system. I think that for anyone that is interested in doing such scripts, it is good to keep in mind that rpm will not work since the filesystem is write only for the CD. I will package the scripts with a readme and post them here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.