PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem bei upgrade (dpkg)



fenestro
05.02.13, 15:43
Vor längerem hab ich versucht php5 zu installieren und es dann auch geschafft. Heute wollte ich jedoch Java installieren, was kläglich scheiterte.

Egal ob ich etwas installieren möchte oder apt-get upgrade mache, immer sieht es so (in der art) aus:


root@admin:/var/cache/apt/archives# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libapache2-mod-php5 (5.3.3-7+squeeze14) ...
dpkg-query: unknown option --control-path

Use --help for help about querying packages;
Use --license for copyright license and lack of warranty (GNU GPL).


dpkg: error processing libapache2-mod-php5 (--configure):
subprocess post-installation script returned error exit status 10
Setting up php5-cgi (5.3.3-7+squeeze14) ...
dpkg-query: unknown option --control-path

Use --help for help about querying packages;
Use --license for copyright license and lack of warranty (GNU GPL).


dpkg: error processing php5-cgi (--configure):
subprocess post-installation script returned error exit status 10
Setting up php5-cli (5.3.3-7+squeeze14) ...
dpkg-query: unknown option --control-path

Use --help for help about querying packages;
Use --license for copyright license and lack of warranty (GNU GPL).


dpkg: error processing php5-cli (--configure):
subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
Package php5-cli which provides phpapi-20090626 is not configured yet.
Package php5-cgi which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-suhosin:
php5-suhosin depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
Package php5-cli which provides phpapi-20090626 is not configured yet.
Package php5-cgi which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-suhosin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libapache2-mod-php5
php5-cgi
php5-cli
php5-gd
php5-suhosin
E: Sub-process /usr/bin/dpkg returned an error code (1)



Das System läuft auf Debian Lenny,
eine deinstallation von PHP möchte ich nicht vornehmen wenn nicht unbedingt erforderlich.

Ich hab schon viele Sachen wie z.b. apt-get install -f ausprobiert jedoch bekomme ich überall das Ergebnis von oben.

Ich hab mich jetzt hier registriert in der Hoffnung das mir Jemand helfen kann.

mfg
fenestro