contexte: je suis en train de préparer une image preseed de debian qui execute deux autres script dont un qui doit virer nfs-common et rpcbind, sauf que ca veut jamais ^^
message d'erreur:
voila les deux techniques que j'ai utilisée:start-stop-daemon: nothing in /proc - not mounted?
invoke-rc.d: initscript nfs-common, action "stop" failed.
dpkg: error processing nfs-common (--purge):
subprocess installed pre-removal script returned error exit status 2
start-stop-daemon: nothing in /proc - not mounted?
dpkg: rpcbind: dependency problems, but removing anyway as you requested:
nfs-common depends on rpcbind.
start-stop-daemon: nothing in /proc - not mounted?
/var/lib/dpkg/info/man-db.postinst: 44: /var/lib/dpkg/info/man-db.postinst: 3: Bad file descriptor
dpkg: error processing man-db (--purge):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
nfs-common
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
[cpp]# deleting nfs/portmap
#/etc/init.d/portmap stop
#/etc/init.d/nfs-kernel-server stop
#apt-get -q -y remove nfs-common rpcbind --purge
rm -rf /var/lib/nfs/[/cpp]
et
[cpp]d-i preseed/late_command string apt-get -q -y remove nfs-common rpcbind --purge \[/cpp]
sans succès, une idée?
merci
