apt-get KAPUTT :-(

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Fluke667
Beiträge: 18
Registriert: 18.03.2005 16:30:58

apt-get KAPUTT :-(

Beitrag von Fluke667 » 19.03.2005 08:32:08

wenn ich :

MPDEEFS02:/# apt-get install vhcs
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
vhcs: PreDepends: mysql-server
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).



das gleiche bei jedem anderen Paket ....


bei 'apt-get -f install' kommt folgendes:


MPDEEFS02:/# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
mysql-server vhcs
Suggested packages:
vhcs-doc
The following NEW packages will be installed:
mysql-server vhcs
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/3750kB of archives.
After unpacking 10.1MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ...
dpkg: serious warning: files list file for package `php4-mcrypt' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `mysql-common' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `mysql-client' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-mpm-prefork' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `php4-common' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache-doc' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-utils' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `php4-mysql' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-common' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `php4-cli' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache-common' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `php4-pear' missing, assuming package has no files currently installed.
19935 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_4.0.23-7_i386.deb) ...
touch: cannot touch `/etc/mysql/dpkg__mysql_should_be_started': No such file or directory
dpkg: error processing /var/cache/apt/archives/mysql-server_4.0.23-7_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server_4.0.23-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
MPDEEFS02:/#

Benutzeravatar
Joghurt
Beiträge: 5244
Registriert: 30.01.2003 15:27:31
Wohnort: Hamburg
Kontaktdaten:

Beitrag von Joghurt » 19.03.2005 14:40:15

Code: Alles auswählen

apt-get --reinstall install [alle paket, die in der serious warning auftauchen]

Fluke667
Beiträge: 18
Registriert: 18.03.2005 16:30:58

Beitrag von Fluke667 » 19.03.2005 15:03:12

dann spuckt er wieder da hier aus:


MPDEEFS02:/# apt-get --reinstall install php4-mcrypt
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
vhcs-daemon: Depends: vhcs (>= 2.2-15) but it is not going to be installed
vhcs-gui: Depends: vhcs (>= 2.2-15) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

anderes paket:


MPDEEFS02:/# apt-get --reinstall install apache-common
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
vhcs-daemon: Depends: vhcs (>= 2.2-15) but it is not going to be installed
vhcs-gui: Depends: vhcs (>= 2.2-15) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
MPDEEFS02:/#

Benutzeravatar
Joghurt
Beiträge: 5244
Registriert: 30.01.2003 15:27:31
Wohnort: Hamburg
Kontaktdaten:

Beitrag von Joghurt » 19.03.2005 15:14:50

Alle Paket hintereinander in eine Liste. Und daran hänge noch ein "vhcs-daemon- vhcs-gui-" (beachte die minus) um die Pakete erstmal zu löschen.

Fluke667
Beiträge: 18
Registriert: 18.03.2005 16:30:58

Beitrag von Fluke667 » 19.03.2005 15:34:36

so erledigt , sieht aus als würde das wieder laufen ....



sonst noch was zu machen?

wodurch ist das zu den Fehlern gekommen?



Vielen Dank für die Hilfe :)

Benutzeravatar
Joghurt
Beiträge: 5244
Registriert: 30.01.2003 15:27:31
Wohnort: Hamburg
Kontaktdaten:

Beitrag von Joghurt » 19.03.2005 15:50:34

Datenverlust. Entweder hat root in /var/lib/dpkg/info rumgespielt, oder ein fsck wäre mal angebracht ;)
U.U. ist dpkg oder der Compi auch nur zu einer ungünstigen Zeit abgestürzt, als gerade die Pakete entpackt wurden.

Antworten