Package: vpnc Version: 0.5.3r449-2.1 Severity: normal The provided vpnc-script is not compatible with recent versions of iproute, apparently, as the output format has changed corresponding to version 2.6.39 and later of the kernel. (It isn't clear to me whether the change was in the kernel itself or in the iproute package, based on the information cited below.) This is the bug described here: http://aptosid.com/index.php?name=PNphpBB2&file=viewtopic&t=1295 and the work-around given on that page comprises the following patch, which I have tested and which solved the problem for me.
diff --git a/vpnc/vpnc-script b/vpnc/vpnc-script index 64be38c..4c5e27a 100755 --- a/vpnc/vpnc-script +++ b/vpnc/vpnc-script @@ -116,7 +116,7 @@ destroy_tun_device() { if [ -n "$IPROUTE" ]; then fix_ip_get_output () { - sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g' + sed 's/cache//;s/metric \?[0-9]\+[0-9]\+//g;s/hoplimit[0-9]\+//g;s/ipid 0x....//g' } set_vpngateway_route() { -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages vpnc depends on: ii libc6 2.13-18 ii libgcrypt11 1.5.0-3 ii libgnutls26 2.12.10-1 Versions of packages vpnc recommends: ii iproute 20110629-1 Versions of packages vpnc suggests: pn resolvconf <none> -- Configuration Files: /etc/vpnc/example.conf [Errno 13] Permission denied: u'/etc/vpnc/example.conf' /etc/vpnc/vpnc-script [Errno 13] Permission denied: u'/etc/vpnc/vpnc-script' -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org