Package: automysqlbackup Version: 2.6+debian.4-1 Severity: normal Hello, using a locale different from an english one, the script fails to detect the correct size of the backup files.
To find the size it uses the du command and the it searches for a "total" string using sed and grep, this method failswhen the output of the du command is not in english. Can I suggest to force the locale using LANG=C before du? something like: ATTSIZE=`LANG=C du -c $BACKUPFILES | grep "[[:digit:][:space:]]total$" | sed s/\s*total//` at line 675 of /usr/sbin/automysqlbackup Thank you so much. Cheers, francesco -- System Information: Debian Release: 8.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages automysqlbackup depends on: ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2 ii mysql-client 5.5.43-0+deb8u1 ii mysql-client-5.5 [virtual-mysql-client] 5.5.43-0+deb8u1 Versions of packages automysqlbackup recommends: ii mutt 1.5.23-3 automysqlbackup suggests no packages. -- 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