User Feedback :: How to install the cron on DSL



Hi clacker,
             Thank for your suggestion. I tried to following your step to process. Unfortunately, I still fail to use the cron. Some error message showed on the screen. Now I write the process and error message for your reference.

1. chroot /mnt/hda1/DSL-sys
2. mount -t proc /proc proc
3. mydsl-load dsl-dpkg.dsl
4. mydsl-load gnu-utils.dsl
Error: "hda6:Bad access:block 2, count=2 end_request: I/O error... Ext2-fs: unable to read superblock"
5. dpkg -i cron_3.0pli-72-i386.deb
(your version is cron-3.0pl1-86_i386.deb. I only download the cron-30pl1-72-i386.db from "apt-get install cron" command)
Error: "Error: cannot access . dpkg:error processing cron-30pl1-72-i386.deb cannot access archive: No such file or directory Error:were counted while processing cron-30pl1-72-i386.deb"
6. The 4 and 5 step is not successful so I only to complete "rm dsl-dpkg.dsl
7. umount proc
8 <CTRL>D
After the above process, I still remastering process. Error message shows on screen when bootup the  new remastering Live CD.
" starting periodic command scheduler: cron/usr/sbin/cron: couldn't open or create /var/run/crond.pid: Read only file system."
I try to use the "crontab -e" command. An error message appears. "no crontab for root -using an empty one /bin/sh: line 1: /usr/bin/editor: No such file or directory crontab: /usr/bin/editor exited with status 127."

Do you have any suggestion for me to solve the problem? Thanks!

kennyfung,

A) Are you using dsl 0.8.3?  That's what I used.

B) The error with mydsl-load gnu-utils.dsl shows a problem.  That shouldn't have failed.  Take a look at your error.  It says hda6, but your new root was on hda1.  Was the file you tried to install still on hda6?  You need to make sure all of those installation files are on in your new directory before you change the root (unless you are use apt-get to draw them from the internet).  I've noticed that gnu-utils makes some directoris writable, perhaps that's why I didn't get the error, because your gnu-utils failed.

C) My cron was that number because I changed the word "stable" to "unstable" in /etc/apt/source.list (some things only instal from the unstable packages because of dependancies with dsl).

Here is my whole routine.  I make a source directory on a Linux drive (a windows or Dos drive will not preserve permissions and modes).  so I did:

mkdir source
cp -Rp /KNOPPIX source
cp /wherever/dsl-dpkg.dsl source/KNOPPIX
cp /wherever/gnu-utils.dsl source/KNOPPIX
cp /wherever/cron-3.0pl1-86_i386.deb source/KNOPPIX
chroot source/KNOPPIX
mount -t proc /proc proc
mydsl-load dsl-dpkg.dsl
mydsl-load gnu-utils.dsl
dpkg -i cron_3.0pl1-86_i386.deb
rm dsl-dpkg.dsl
rm gnu-utils.dsl
rm cron_3.0pl1-86_i386.deb
umount proc
<CTRL> D


Then do the rest as you did.  I hope this helps.

Hi clacker,
              I use the dsl version 8 but I am not sure the version is 8... The cron is used apt-get command through the internet to download. I sure that I install all the file at hda1 since I only have one hard disk and cfdisk it with hda1 and one swap partition. Do you install the cron locally? But I will try to following your step to install the cron. Thanks your help!

If you open up Dillo from your desktop it usualy shows the DSL manual (if you have changed it then the file is usaly stored in file:///usr/share/doc/dsl/getting_started.html
(hopes that links works, if not just navigate to /usr/share/doc/dsl/getting_started.html)

At the top in big bold black letters it should say something like:

Getting Started with DSL Version ____ is replaced with the version number :)

Anyhow, I hope that help you determine your version number :)

~Me

Hi clacker,
              I tried to follow your step to build up the cron but I could not find the cron_3.0pl1-86_i386.deb from the Debian. I got the cron-3.0pl1.orig.tar.gz from Debian but I could not use the "make install" to complie it at Linux. Where I can find the dsl-dpkg.dsl ,gnu-utils.dsl and  cron_3.0pl1-86_i386.deb. Could you help me? Thanks!

Next Page...
original here.