Keine Installationen per apt-get möglich

andre161292

New Member
Guten Tag,

Ich bin seit gut 2 Monaten Administrator und Besitzer eines vServers bei Netcup. Anfangs und auch bis vor ein paar Tagen hat auch alles wunderbar geklappt.
Wenn ich jetzt allerdings irgendetwas über apt-get installieren möchte, will dieser mir immer wieder installieren, bevor etwas anderes installiert wird.

Hier mal ein Beispiel:

Code:
vxxxxxxxxxxxxxxxxxx:~# apt-get clean && apt-get update && apt-get install php5-curl
Hit http://debian.netcup.net lenny Release.gpg
Hit http://debian.netcup.net lenny/updates Release.gpg
Hit http://debian.netcup.net lenny Release
Hit http://debian.netcup.net lenny/updates Release
Ign http://debian.netcup.net lenny/main Packages/DiffIndex
Ign http://debian.netcup.net lenny/contrib Packages/DiffIndex
Ign http://debian.netcup.net lenny/non-free Packages/DiffIndex
Ign http://debian.netcup.net lenny/main Sources/DiffIndex
Ign http://debian.netcup.net lenny/contrib Sources/DiffIndex
Ign http://debian.netcup.net lenny/non-free Sources/DiffIndex
Ign http://debian.netcup.net lenny/main Packages
Ign http://debian.netcup.net lenny/contrib Packages
Ign http://debian.netcup.net lenny/non-free Packages
Ign http://debian.netcup.net lenny/main Sources
Ign http://debian.netcup.net lenny/contrib Sources
Ign http://debian.netcup.net lenny/non-free Sources
Hit http://debian.netcup.net lenny/main Packages
Hit http://debian.netcup.net lenny/contrib Packages
Hit http://debian.netcup.net lenny/non-free Packages
Hit http://debian.netcup.net lenny/main Sources
Hit http://debian.netcup.net lenny/contrib Sources
Hit http://debian.netcup.net lenny/non-free Sources
Ign http://debian.netcup.net lenny/updates/main Packages/DiffIndex
Ign http://debian.netcup.net lenny/updates/contrib Packages/DiffIndex
Ign http://debian.netcup.net lenny/updates/non-free Packages/DiffIndex
Ign http://debian.netcup.net lenny/updates/main Packages
Ign http://debian.netcup.net lenny/updates/contrib Packages
Ign http://debian.netcup.net lenny/updates/non-free Packages
Hit http://debian.netcup.net lenny/updates/main Packages
Hit http://debian.netcup.net lenny/updates/contrib Packages
Hit http://debian.netcup.net lenny/updates/non-free Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-curl is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  apache2: Depends: apache2-mpm-worker (>= 2.2.9-10+lenny7) but it is not going to be installed or
                    apache2-mpm-prefork (>= 2.2.9-10+lenny7) but 2.2.9-10+lenny6 is to be installed or
                    apache2-mpm-event (>= 2.2.9-10+lenny7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
vxxxxxxxxxxxxxxxxxx:~# apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-curl is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  apache2: Depends: apache2-mpm-worker (>= 2.2.9-10+lenny7) but it is not going to be installed or
                    apache2-mpm-prefork (>= 2.2.9-10+lenny7) but 2.2.9-10+lenny6 is to be installed or
                    apache2-mpm-event (>= 2.2.9-10+lenny7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
vxxxxxxxxxxxxxxxxxx:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache2-mpm-worker apache2.2-common
Suggested packages:
  apache2-doc
The following packages will be REMOVED:
  apache2-mpm-prefork
The following NEW packages will be installed:
  apache2-mpm-worker
The following packages will be upgraded:
  apache2.2-common
1 upgraded, 1 newly installed, 1 to remove and 11 not upgraded.
122 not fully installed or removed.
Need to get 28.4MB of archives.
After this operation, 12.3kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.netcup.net lenny/main mysql-server-5.0 5.0.51a-24+lenny2+spu1 [27.3MB]
Get:2 http://debian.netcup.net lenny/updates/main apache2.2-common 2.2.9-10+lenny7 [826kB]
Get:3 http://debian.netcup.net lenny/updates/main apache2-mpm-worker 2.2.9-10+lenny7 [258kB]
Fetched 28.4MB in 2s (11.6MB/s)
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
(Reading database ... 110843 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.51a-24+lenny2+spu1 (using .../mysql-server-5.0_5.0.51a-24+lenny2+spu1_amd64.deb) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.51a-24+lenny2+spu1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.0_5.0.51a-24+lenny2+spu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
vxxxxxxxxxxxxxxxxxx:~#

Der Inhalt der /etc/apt/sources.list, falls das hilft:

Code:
deb http://debian.netcup.net/debian/ lenny main contrib non-free 
deb-src http://debian.netcup.net/debian/ lenny main contrib non-free 

deb http://debian.netcup.net/debian-security/ lenny/updates main contrib non-free 

#deb http://www.dipconsultants.com/debian  etch main

Und hier noch ein paar Daten, die helfen könnten:
Code:
Operating system	Debian Linux 5.0
Kernel and CPU	Linux 2.6.33.2-vs2.3.0.36.30.4-netcup on x86_64

Danke schonmal :)
 
Vielen Dank,
So ein Ordner Problem hatte ich auch beim Updaten des ispCP schonmal, da bin ich dann aber selbst drauf gekommen..
Auf jeden Fall Danke für deine Hilfe, denn es klappt wieder :D

LG, André ;)
 
Back
Top