proFTPd läßt sich bei Sarge nicht instalieren,debconf Fehler

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
CurtisNewton
Beiträge: 24
Registriert: 04.06.2005 13:44:59

proFTPd läßt sich bei Sarge nicht instalieren,debconf Fehler

Beitrag von CurtisNewton » 03.12.2005 10:18:08

Hallo,

habe ein Debian Sarge System 2.6.8-2-686,
auf diesem ist bereits Apache, ssh usw installiert
und möchte nun auch noch einen FTP-Zugang über
proFTPd realisieren.

Nur leider läßt mich apt-get das Paket nicht installieren,
bzw. dieses konfigurieren.

Hab schon alles mögliche getestet.
apt-get update, upgrade, check, dselect-upgrade
die Paketabhängigkeiten sind alle ok
und debcong wie auch whiptail sind installiert.

Hier der Vorgang:

grag:/etc/apt# apt-get install proftpd
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
proftpd-common
The following NEW packages will be installed:
proftpd proftpd-common
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 560kB of archives. After unpacking 1119kB will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.de.debian.org stable/main proftpd-common 1.2.10-15 [189kB]
Get:2 http://ftp.de.debian.org stable/main proftpd 1.2.10-15 [371kB]
Fetched 560kB in 17s (31.5kB/s)
Preconfiguring packages ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
Selecting previously deselected package proftpd-common.
(Reading database ... 12685 files and directories currently installed.)
Unpacking proftpd-common (from .../proftpd-common_1.2.10-15_i386.deb) ...
Selecting previously deselected package proftpd.
Unpacking proftpd (from .../proftpd_1.2.10-15_i386.deb) ...
Setting up proftpd-common (1.2.10-15) ...
Setting up proftpd (1.2.10-15) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing proftpd (--configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


Hab auch schon nach der Fehlermeldung und proftpd im Netz
gesucht, aber nur Infos aus dem Jahr 2003 gefunden ...

Any hints?

Vielen Dank
Gruss
CN

Benutzeravatar
Savar
Beiträge: 7174
Registriert: 30.07.2004 09:28:58
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Berlin

Beitrag von Savar » 03.12.2005 10:26:14

wie sieht denn deine /etc/apt/sources.list aus?
MODVOICE/MYVOICE
Debianforum Verhaltensregeln
Log Dateien? -> NoPaste

CurtisNewton
Beiträge: 24
Registriert: 04.06.2005 13:44:59

Beitrag von CurtisNewton » 03.12.2005 11:04:59

bitte schön:

grag:/etc/apt# cat sources.list

#deb http://security.debian.org/ stable/updates main contrib non-free

deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
#deb-src http://ftp.de.debian.org/debian/ unstable main non-free contrib


... sieht man aber doch schon oben, worüber er sich die/das Paket zieht, oder?

Hatte vorher die security.debian.org aktiv, habe gesehen, das apt das Paket
von dort gezogen hat, deswegen habe ich die Zeile mal auskommentiert,
apt-get update durchgeführt und nochmal die Installation durchgeführt, aber
das Problem besteht weiterhin ...

Gruß
CN

Benutzeravatar
Savar
Beiträge: 7174
Registriert: 30.07.2004 09:28:58
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Berlin

Beitrag von Savar » 03.12.2005 12:01:38

hmm... das hatte mitte des Jahres auch einer den Fehler..

kannst du mal folgendes tun?

Code: Alles auswählen

apt-get remove --purge whiptail 
apt-get install whiptail
Aber pass auf dass er dir nicht zuviele Pakete mit löscht dabei..
MODVOICE/MYVOICE
Debianforum Verhaltensregeln
Log Dateien? -> NoPaste

CurtisNewton
Beiträge: 24
Registriert: 04.06.2005 13:44:59

Beitrag von CurtisNewton » 03.12.2005 12:48:28

is ja interessant ...


grag:/etc/apt/apt.conf.d# apt-get remove --purge whiptail
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
modconf* pppoeconf* whiptail*
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 4088kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 12717 files and directories currently installed.)
Removing modconf ...
Purging configuration files for modconf ...
Removing pppoeconf ...
Purging configuration files for pppoeconf ...
Removing whiptail ...
Setting up proftpd (1.2.10-15) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 66.)
debconf: falling back to frontend: Readline
ProFTPd configuration
---------------------

ProFTPd can be run either as a service from inetd, or as a standalone server.
Eeach choice has its own benefits. If you have only a few ftp connections per
day, it may not be worth the resources to keep proftpd running at all times.

On the other hand, if your ftp site is visited frequently, inetd is not a good
choice, because each time a connection is opened, a new process is spawned.

1. inetd 2. standalone

Run proftpd from inetd or standalone? 2


Adding system user ftp...
Adding new user ftp (101) with group nogroup.
Creating home directory /home/ftp.
`/usr/share/doc/proftpd/examples/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'
Starting ProFTPD ftp daemon: proftpd.


aha ...
ok, also ich war zwar der Meinung, das ich die proFTPd pakete wieder gelöscht (removed) hatte, aber gut ... laut ps -ef läuft nun auch der proftpd Deamon ...

CurtisNewton
Beiträge: 24
Registriert: 04.06.2005 13:44:59

Beitrag von CurtisNewton » 03.12.2005 12:49:38

nu kann ich aber whiptail nicht installieren / konfigurieren:


grag:/etc/apt/apt.conf.d# apt-get install whiptail
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
whiptail
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.1kB of archives. After unpacking 98.3kB will be used.
Get:1 http://ftp.de.debian.org stable/main whiptail 0.51.6-20 [32.1kB]
Fetched 32.1kB in 15s (2054B/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 66, <> line 1.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 66, <> line 1.)
debconf: falling back to frontend: Readline
Selecting previously deselected package whiptail.
(Reading database ... 12645 files and directories currently installed.)
Unpacking whiptail (from .../whiptail_0.51.6-20_i386.deb) ...
Setting up whiptail (0.51.6-20) ...


oder hat das damit etwas zu tun, weil whiptail auch dafür benötigt wird, aber ja noch nicht installiert ist ... ??? ...

Benutzeravatar
Savar
Beiträge: 7174
Registriert: 30.07.2004 09:28:58
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Berlin

Beitrag von Savar » 03.12.2005 17:17:24

ganz am Ende steht doch das whiptail wieder installiert wurde?! Jetzt sollte es soweit funktionieren...
MODVOICE/MYVOICE
Debianforum Verhaltensregeln
Log Dateien? -> NoPaste

Benutzeravatar
Silke
Beiträge: 559
Registriert: 17.05.2005 15:58:20
Wohnort: Hannover
Kontaktdaten:

Beitrag von Silke » 05.12.2005 10:49:03

Moin,
CurtisNewton hat geschrieben: debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot
Dir fehlt dialog, deswegen kann dir die Setup-Routine wahrscheinlich die Konfigurationsfragen nicht stellen. Das scheint aber nicht schlimm zu sein, wie Savar schon sagte:
Setting up whiptail (0.51.6-20) ...
whiptail scheint trotzdem ordnungsgemäß installiert worden zu sein.

Gruß,
- Silke -
Der Vorteil der Klugheit liegt darin, dass man sich dumm stellen kann. Das Gegenteil ist schon schwieriger.
- Kurt Tucholsky -

Antworten