Fehlermeldungen bei der Installation von FAI auf einen Debian-Server
Hallo!
Ich habe mit VMware Server einen virtuellen Server erstellt und Debian 4.0r1 installiert. Nun möchte ich zu späteren Testzwecken FAI installieren, aber ich bekomme viele Fehlermeldungen, wie folgt:
aptitude install fai-quickstart
Reading package lists... Done
Building dependency tree... Done
E: Could not get lock /var/lock/aptitude - open (11 Resource temporarily unavail able)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
apt-move binutils cfengine2 dash debootstrap dhcp3-server fai-client
fai-doc genisoimage libapt-pkg-perl mkisofs nfs-kernel-server rsh-server
syslinux tftpd-hpa
The following packages have been kept back:
klibc-utils libklibc linux-image-2.6-686 linux-image-2.6.18-5-686
The following NEW packages will be installed:
apt-move binutils cfengine2 dash debootstrap dhcp3-server fai-client
fai-doc fai-quickstart fai-server genisoimage libapt-pkg-perl mkisofs
nfs-kernel-server rsh-server syslinux tftpd-hpa
0 packages upgraded, 17 newly installed, 0 to remove and 4 not upgraded.
Need to get 1253kB/5991kB of archives. After unpacking 18.4MB will be used.
Do you want to continue? [Y/n/?] Y
Get:1 http://ftp.de.debian.org etch/main dash 0.5.3-7 [86.0kB]
Get:2 http://ftp.de.debian.org etch/main apt-move 4.2.26-1 [49.7kB]
Get:3 http://ftp.de.debian.org etch/main genisoimage 9:1.1.2-1 [552kB]
Get:4 http://ftp.de.debian.org etch/main mkisofs 9:1.1.2-1 [884B]
Get:5 http://ftp.de.debian.org etch/main fai-doc 3.1.8 [562kB]
Get:6 http://ftp.de.debian.org etch/main fai-quickstart 3.1.8 [1880B]
Fetched 1253kB in 7s (160kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
Selecting previously deselected package dash.
(Reading database ... 18458 files and directories currently installed.)
Unpacking dash (from .../archives/dash_0.5.3-7_i386.deb) ...
Selecting previously deselected package apt-move.
Unpacking apt-move (from .../apt-move_4.2.26-1_i386.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.17-3_i386.deb) ...
Selecting previously deselected package cfengine2.
Unpacking cfengine2 (from .../cfengine2_2.1.20-1_i386.deb) ...
Selecting previously deselected package dhcp3-server.
Unpacking dhcp3-server (from .../dhcp3-server_3.0.4-13_i386.deb) ...
Selecting previously deselected package genisoimage.
Unpacking genisoimage (from .../genisoimage_9%3a1.1.2-1_i386.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.20_i386.deb) ...
Selecting previously deselected package mkisofs.
Unpacking mkisofs (from .../mkisofs_9%3a1.1.2-1_all.deb) ...
Selecting previously deselected package nfs-kernel-server.
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.0.10-6+etch.1_i386.deb) ...
Selecting previously deselected package syslinux.
Unpacking syslinux (from .../syslinux_1%3a3.31-4_i386.deb) ...
Selecting previously deselected package debootstrap.
Unpacking debootstrap (from .../debootstrap_0.3.3.2etch1_all.deb) ...
Selecting previously deselected package fai-client.
Unpacking fai-client (from .../fai-client_3.1.8_all.deb) ...
Selecting previously deselected package fai-doc.
Unpacking fai-doc (from .../archives/fai-doc_3.1.8_all.deb) ...
Selecting previously deselected package fai-server.
Unpacking fai-server (from .../fai-server_3.1.8_all.deb) ...
Selecting previously deselected package tftpd-hpa.
Unpacking tftpd-hpa (from .../tftpd-hpa_0.43-1.1_i386.deb) ...
Selecting previously deselected package fai-quickstart.
Unpacking fai-quickstart (from .../fai-quickstart_3.1.8_all.deb) ...
Selecting previously deselected package rsh-server.
Unpacking rsh-server (from .../rsh-server_0.17-13_i386.deb) ...
Setting up dash (0.5.3-7) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dash (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apt-move:
apt-move depends on dash; however:
Package dash is not configured yet.
dpkg: error processing apt-move (--configure):
dependency problems - leaving unconfigured
Setting up binutils (2.17-3) ...
Setting up cfengine2 (2.1.20-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing cfengine2 (--configure):
subprocess post-installation script returned error exit status 1
Setting up dhcp3-server (3.0.4-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dhcp3-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up genisoimage (1.1.2-1) ...
Setting up libapt-pkg-perl (0.1.20) ...
Setting up mkisofs (1.1.2-1) ...
Setting up nfs-kernel-server (1.0.10-6+etch.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing nfs-kernel-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up syslinux (3.31-4) ...
Setting up debootstrap (0.3.3.2etch1) ...
dpkg: dependency problems prevent configuration of fai-client:
fai-client depends on cfengine2 | cfengine; however:
Package cfengine2 is not configured yet.
Package cfengine is not installed.
dpkg: error processing fai-client (--configure):
dependency problems - leaving unconfigured
Setting up fai-doc (3.1.8) ...
dpkg: dependency problems prevent configuration of fai-server:
fai-server depends on fai-client; however:
Package fai-client is not configured yet.
dpkg: error processing fai-server (--configure):
dependency problems - leaving unconfigured
Setting up tftpd-hpa (0.43-1.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing tftpd-hpa (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-quickstart:
fai-quickstart depends on fai-server; however:
Package fai-server is not configured yet.
fai-quickstart depends on dhcp3-server; however:
Package dhcp3-server is not configured yet.
fai-quickstart depends on nfs-kernel-server | nfs-server; however:
Package nfs-kernel-server is not configured yet.
Package nfs-server is not installed.
Package nfs-kernel-server which provides nfs-server is not configured yet.
fai-quickstart depends on tftpd-hpa; however:
Package tftpd-hpa is not configured yet.
fai-quickstart depends on apt-move; however:
Package apt-move is not configured yet.
dpkg: error processing fai-quickstart (--configure):
dependency problems - leaving unconfigured
Setting up rsh-server (0.17-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing rsh-server (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dash
apt-move
cfengine2
dhcp3-server
nfs-kernel-server
fai-client
fai-server
tftpd-hpa
fai-quickstart
rsh-server
W: Could not lock the cache file. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dash (0.5.3-7) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dash (--configure):
subprocess post-installation script returned error exit status 1
Setting up tftpd-hpa (0.43-1.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing tftpd-hpa (--configure):
subprocess post-installation script returned error exit status 1
Setting up rsh-server (0.17-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing rsh-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up nfs-kernel-server (1.0.10-6+etch.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing nfs-kernel-server (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apt-move:
apt-move depends on dash; however:
Package dash is not configured yet.
dpkg: error processing apt-move (--configure):
dependency problems - leaving unconfigured
Setting up cfengine2 (2.1.20-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing cfengine2 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-quickstart:
fai-quickstart depends on nfs-kernel-server | nfs-server; however:
Package nfs-kernel-server is not configured yet.
Package nfs-server is not installed.
Package nfs-kernel-server which provides nfs-server is not configured yet.
fai-quickstart depends on tftpd-hpa; however:
Package tftpd-hpa is not configured yet.
fai-quickstart depends on apt-move; however:
Package apt-move is not configured yet.
dpkg: error processing fai-quickstart (--configure):
dependency problems - leaving unconfigured
Setting up dhcp3-server (3.0.4-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dhcp3-server (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-client:
fai-client depends on cfengine2 | cfengine; however:
Package cfengine2 is not configured yet.
Package cfengine is not installed.
dpkg: error processing fai-client (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fai-server:
fai-server depends on fai-client; however:
Package fai-client is not configured yet.
dpkg: error processing fai-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dash
tftpd-hpa
rsh-server
nfs-kernel-server
apt-move
cfengine2
fai-quickstart
dhcp3-server
fai-client
fai-server
Ich kann damit überhaupt nichts anfangen. Woran liegt es, dass die Installation nicht funktioniert?
Ich habe mit VMware Server einen virtuellen Server erstellt und Debian 4.0r1 installiert. Nun möchte ich zu späteren Testzwecken FAI installieren, aber ich bekomme viele Fehlermeldungen, wie folgt:
aptitude install fai-quickstart
Reading package lists... Done
Building dependency tree... Done
E: Could not get lock /var/lock/aptitude - open (11 Resource temporarily unavail able)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
apt-move binutils cfengine2 dash debootstrap dhcp3-server fai-client
fai-doc genisoimage libapt-pkg-perl mkisofs nfs-kernel-server rsh-server
syslinux tftpd-hpa
The following packages have been kept back:
klibc-utils libklibc linux-image-2.6-686 linux-image-2.6.18-5-686
The following NEW packages will be installed:
apt-move binutils cfengine2 dash debootstrap dhcp3-server fai-client
fai-doc fai-quickstart fai-server genisoimage libapt-pkg-perl mkisofs
nfs-kernel-server rsh-server syslinux tftpd-hpa
0 packages upgraded, 17 newly installed, 0 to remove and 4 not upgraded.
Need to get 1253kB/5991kB of archives. After unpacking 18.4MB will be used.
Do you want to continue? [Y/n/?] Y
Get:1 http://ftp.de.debian.org etch/main dash 0.5.3-7 [86.0kB]
Get:2 http://ftp.de.debian.org etch/main apt-move 4.2.26-1 [49.7kB]
Get:3 http://ftp.de.debian.org etch/main genisoimage 9:1.1.2-1 [552kB]
Get:4 http://ftp.de.debian.org etch/main mkisofs 9:1.1.2-1 [884B]
Get:5 http://ftp.de.debian.org etch/main fai-doc 3.1.8 [562kB]
Get:6 http://ftp.de.debian.org etch/main fai-quickstart 3.1.8 [1880B]
Fetched 1253kB in 7s (160kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
Selecting previously deselected package dash.
(Reading database ... 18458 files and directories currently installed.)
Unpacking dash (from .../archives/dash_0.5.3-7_i386.deb) ...
Selecting previously deselected package apt-move.
Unpacking apt-move (from .../apt-move_4.2.26-1_i386.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.17-3_i386.deb) ...
Selecting previously deselected package cfengine2.
Unpacking cfengine2 (from .../cfengine2_2.1.20-1_i386.deb) ...
Selecting previously deselected package dhcp3-server.
Unpacking dhcp3-server (from .../dhcp3-server_3.0.4-13_i386.deb) ...
Selecting previously deselected package genisoimage.
Unpacking genisoimage (from .../genisoimage_9%3a1.1.2-1_i386.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.20_i386.deb) ...
Selecting previously deselected package mkisofs.
Unpacking mkisofs (from .../mkisofs_9%3a1.1.2-1_all.deb) ...
Selecting previously deselected package nfs-kernel-server.
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.0.10-6+etch.1_i386.deb) ...
Selecting previously deselected package syslinux.
Unpacking syslinux (from .../syslinux_1%3a3.31-4_i386.deb) ...
Selecting previously deselected package debootstrap.
Unpacking debootstrap (from .../debootstrap_0.3.3.2etch1_all.deb) ...
Selecting previously deselected package fai-client.
Unpacking fai-client (from .../fai-client_3.1.8_all.deb) ...
Selecting previously deselected package fai-doc.
Unpacking fai-doc (from .../archives/fai-doc_3.1.8_all.deb) ...
Selecting previously deselected package fai-server.
Unpacking fai-server (from .../fai-server_3.1.8_all.deb) ...
Selecting previously deselected package tftpd-hpa.
Unpacking tftpd-hpa (from .../tftpd-hpa_0.43-1.1_i386.deb) ...
Selecting previously deselected package fai-quickstart.
Unpacking fai-quickstart (from .../fai-quickstart_3.1.8_all.deb) ...
Selecting previously deselected package rsh-server.
Unpacking rsh-server (from .../rsh-server_0.17-13_i386.deb) ...
Setting up dash (0.5.3-7) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dash (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apt-move:
apt-move depends on dash; however:
Package dash is not configured yet.
dpkg: error processing apt-move (--configure):
dependency problems - leaving unconfigured
Setting up binutils (2.17-3) ...
Setting up cfengine2 (2.1.20-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing cfengine2 (--configure):
subprocess post-installation script returned error exit status 1
Setting up dhcp3-server (3.0.4-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dhcp3-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up genisoimage (1.1.2-1) ...
Setting up libapt-pkg-perl (0.1.20) ...
Setting up mkisofs (1.1.2-1) ...
Setting up nfs-kernel-server (1.0.10-6+etch.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing nfs-kernel-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up syslinux (3.31-4) ...
Setting up debootstrap (0.3.3.2etch1) ...
dpkg: dependency problems prevent configuration of fai-client:
fai-client depends on cfengine2 | cfengine; however:
Package cfengine2 is not configured yet.
Package cfengine is not installed.
dpkg: error processing fai-client (--configure):
dependency problems - leaving unconfigured
Setting up fai-doc (3.1.8) ...
dpkg: dependency problems prevent configuration of fai-server:
fai-server depends on fai-client; however:
Package fai-client is not configured yet.
dpkg: error processing fai-server (--configure):
dependency problems - leaving unconfigured
Setting up tftpd-hpa (0.43-1.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing tftpd-hpa (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-quickstart:
fai-quickstart depends on fai-server; however:
Package fai-server is not configured yet.
fai-quickstart depends on dhcp3-server; however:
Package dhcp3-server is not configured yet.
fai-quickstart depends on nfs-kernel-server | nfs-server; however:
Package nfs-kernel-server is not configured yet.
Package nfs-server is not installed.
Package nfs-kernel-server which provides nfs-server is not configured yet.
fai-quickstart depends on tftpd-hpa; however:
Package tftpd-hpa is not configured yet.
fai-quickstart depends on apt-move; however:
Package apt-move is not configured yet.
dpkg: error processing fai-quickstart (--configure):
dependency problems - leaving unconfigured
Setting up rsh-server (0.17-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing rsh-server (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dash
apt-move
cfengine2
dhcp3-server
nfs-kernel-server
fai-client
fai-server
tftpd-hpa
fai-quickstart
rsh-server
W: Could not lock the cache file. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dash (0.5.3-7) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dash (--configure):
subprocess post-installation script returned error exit status 1
Setting up tftpd-hpa (0.43-1.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing tftpd-hpa (--configure):
subprocess post-installation script returned error exit status 1
Setting up rsh-server (0.17-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing rsh-server (--configure):
subprocess post-installation script returned error exit status 1
Setting up nfs-kernel-server (1.0.10-6+etch.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing nfs-kernel-server (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apt-move:
apt-move depends on dash; however:
Package dash is not configured yet.
dpkg: error processing apt-move (--configure):
dependency problems - leaving unconfigured
Setting up cfengine2 (2.1.20-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing cfengine2 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-quickstart:
fai-quickstart depends on nfs-kernel-server | nfs-server; however:
Package nfs-kernel-server is not configured yet.
Package nfs-server is not installed.
Package nfs-kernel-server which provides nfs-server is not configured yet.
fai-quickstart depends on tftpd-hpa; however:
Package tftpd-hpa is not configured yet.
fai-quickstart depends on apt-move; however:
Package apt-move is not configured yet.
dpkg: error processing fai-quickstart (--configure):
dependency problems - leaving unconfigured
Setting up dhcp3-server (3.0.4-13) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process
dpkg: error processing dhcp3-server (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fai-client:
fai-client depends on cfengine2 | cfengine; however:
Package cfengine2 is not configured yet.
Package cfengine is not installed.
dpkg: error processing fai-client (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fai-server:
fai-server depends on fai-client; however:
Package fai-client is not configured yet.
dpkg: error processing fai-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dash
tftpd-hpa
rsh-server
nfs-kernel-server
apt-move
cfengine2
fai-quickstart
dhcp3-server
fai-client
fai-server
Ich kann damit überhaupt nichts anfangen. Woran liegt es, dass die Installation nicht funktioniert?
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 89087
Url: https://administrator.de/contentid/89087
Ausgedruckt am: 26.11.2024 um 11:11 Uhr
10 Kommentare
Neuester Kommentar
Beim 'apt-get update' wird erstmal deine lokale Paketliste mit denen der Repositories abgeglichen. Idealerweile macht man danach auch gleich ein 'apt-get upgrade' und bringt das System auf den aktuellen Stand bevor man was installiert. 'apt-get -f install' installiert alle Pakete, die als "zu installieren" markiert wurden. Gerade nach unvollständigen upgrades usw. behebt man damit erstmal die gröbsten Abhängigkeitsprobleme ('-f' steht hier für 'fix-broken' und kann auch durch '--fix-broken' ersetzt werden). Du solltest dringend einen Blick in die Manpage werfen (einfach mal 'man apt-get' auf der Konsole eingeben).
Einfach auf der Konsole 'nano /pfad/zur/datei' eingeben. Ausserdem solltest du dir mal ein Grundlagen-Buch zur Arbeit mit Linux zulegen/lesen, z.B. http://debiananwenderhandbuch.de/