ich kann keine pakete installieren
![traurig :-(](./images/smilies/icon_sad.gif)
immer wenn ich etwas mit apt-get installieren will, kommt folgende fehlermeldung
Code: Alles auswählen
# apt-get install php5
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
console-tools: Depends: sysvinit (> 2.74) but it is not going to be installed
modutils: Depends: sysvinit (>= 2.71-2) but it is not going to be installed
php5: Depends: libapache2-mod-php5 (>= 5.2.1-0.dotdeb.2) but it is not going to be installed or
libapache-mod-php5 (>= 5.2.1-0.dotdeb.2) but it is not going to be installed or
php5-cgi (>= 5.2.1-0.dotdeb.2) but it is not going to be installed
Depends: php5-common (>= 5.2.1-0.dotdeb.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
danach fragt er wieder "do you want to continue" wobei ich YES mache undapt-get -f install
er spuckt folgendes dazu aus:
Code: Alles auswählen
dpkg: `update-rc.d' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)
Code: Alles auswählen
~# cat /root/.profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
export PATH
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
mesg n
bin für tipps dankbar