I installed DSL Linux for a simple web server and irc client.
While running an apt-get install apache, it crashes with the following error:
Code:
root@2[dsl]# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, apache is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 143 not upgraded.
3 packages not fully installed or removed.
Need to get 0B/59.0kB of archives. After unpacking 0B will be used.
(Reading database ... 16809 files and directories currently installed.)
Preparing to replace cron 3.0pl1-86 (using .../cron_3.0pl1-86_i386.deb) ...
cron: applet not found
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
cron: applet not found
dpkg: error processing /var/cache/apt/archives/cron_3.0pl1-86_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
stripping trailing /
cron: applet not found
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/cron_3.0pl1-86_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried running: apt-get install --reinstall cron
I have tried installing manually with dpkg, but to no avail. Google, and the forums havn't come up with anyhting. I'm kinda stuck at this point, very little will install without cron working.
If anyone could give me a hand getting cron fixed, i would appreciate it.
here is something else i tried:
Code:
root@2[archives]# dpkg --configure -a
dpkg: error processing cron (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of logrotate:
logrotate depends on cron (>= 3.0pl1-53) | anacron | fcron; however:
Package cron is not configured yet.
Package anacron is not installed.
Package fcron is not installed.
dpkg: error processing logrotate (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache:
apache depends on logrotate (>= 3.5.4-1); however:
Package logrotate is not configured yet.
dpkg: error processing apache (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cron
logrotate
apache