apt-get zurücksetzen?

S

symfony

Jungspund
Hi, mal schnell eine kleine Frage:
Habe per apt-get pureftpd "installiert". Habe es danach wieder removed und den Ordner pureftpd in /etc gelöscht, so dumm wie ich war. Wenn ich mir das jetzt wieder per apt-get reinholen möchte, legt er den Ordner in /etc nicht an und folglich kann ich den Server nicht starten.. Wie setze ich apt-get zurück, so dass er mir das komplette pureftpd noch mal reinholt?
danke für die Auskünfte
 
Code:
apt-get remove --purge pureftpd && apt-get install pureftpd
 
Danke für die schnelle Hilfe, aber es hat nicht funktioniert.. (Habe das pureftpd natürlich durch pure-ftpd ersetzt). Er löscht das Packet zwar, aber beim Installieren komme ich nicht in den Setup-Screen, wo ich meine Einstellungen eingeben kann :(
 
Stopping ftp server: pure-ftpd.
Starting ftp server: /usr/sbin/pure-ftpd-wrapper: Couldn't examine directory /etc/pure-ftpd/conf: No such file or directory
invoke-rc.d: initscript pure-ftpd, action "start" failed.
Leider nichts..
 
Code:
apt-get install --reinstall pure-ftpd
 
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/85.8kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 19321 files and directories currently installed.)
Preparing to replace pure-ftpd 1.0.19-4 (using .../pure-ftpd_1.0.19-4_i386.deb) ...
Stopping ftp server: pure-ftpd.
Unpacking replacement pure-ftpd ...
Setting up pure-ftpd (1.0.19-4) ...
Starting ftp server: /usr/sbin/pure-ftpd-wrapper: Couldn't examine directory /etc/pure-ftpd/conf: No such file or directory
invoke-rc.d: initscript pure-ftpd, action "start" failed.

:hilfe2: :hilfe2:
 
Code:
dpgk --purge --force-all pure-ftpd

Nun aber.........:D
 
dpkg --purge --force-all pure-ftpd
funzt leider auch nicht.

lvpsxxx:~# dpkg --purge --force-all pure-ftpd
(Reading database ... 19321 files and directories currently installed.)
Removing pure-ftpd ...
Stopping ftp server: pure-ftpd.
Purging configuration files for pure-ftpd ...
lvpsxxx:~# mc

lvpsxxx:~# dpkg --purge --force-all pure-ftpd
dpkg - warning: ignoring request to remove pure-ftpd which isn't installed.
lvpsxxx:~# apt-get installppppure-ftpd
E: Invalid operation installppppure-ftpd
lvpsxxx:~# apt-get install pure-ftpd
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
pure-ftpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/85.8kB of archives.
After unpacking 299kB of additional disk space will be used.
Selecting previously deselected package pure-ftpd.
(Reading database ... 19309 files and directories currently installed.)
Unpacking pure-ftpd (from .../pure-ftpd_1.0.19-4_i386.deb) ...
Setting up pure-ftpd (1.0.19-4) ...
Starting ftp server: /usr/sbin/pure-ftpd-wrapper: Couldn't examine directory /etc/pure-ftpd/conf: No such file or directory
invoke-rc.d: initscript pure-ftpd, action "start" failed.
 
Mach das ganze mal mit dem Paket "pure-ftpd-common" statt "pure-ftpd" ...
 

Ähnliche Themen

Keine grafische Oberfläche (Debian Installation)

openn SuSE 13.1 - 64-BIt erlaubt nicht mehr als 20GB für /root

Apache Restart funktioniert nicht

KDE auf Debianroot nutzen

Fehler bei apt-get upgrade durch Kernel

Zurück
Oben