Package: iptables-persistent
Version: 0.5.3

iptables-persistent fail to upgrade from 0.0.20100801 to 0.5.3

Preparing to replace iptables-persistent 0.0.20100801 (using .../iptables-persistent_0.5.3_all.deb) ...
Unpacking replacement iptables-persistent ...
Setting up iptables-persistent (0.5.3) ...
Installing new version of config file /etc/init.d/iptables-persistent ... Preserving user changes to /etc/iptables/rules.v4 (renamed from /etc/iptables/rules)...
mv: cannot stat `/etc/iptables/rules.v4': No such file or directory
dpkg: error processing iptables-persistent (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
 iptables-persistent
E: Sub-process /usr/bin/dpkg returned an error code (1)



"dpkg-maintscript-helper mv_conffile" work only when destination file already exists:

...
echo "Preserving user changes to $NEWCONFFILE (renamed from $OLDCONFFILE)..."
mv -f "$NEWCONFFILE" "$NEWCONFFILE.dpkg-new"
mv -f "$OLDCONFFILE" "$NEWCONFFILE"
...



--
with best regards,
Alexander Golovko
email: alexan...@ankalagon.ru
xmpp: alexan...@ankalagon.ru



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to