badblocks' output of the pattern is wrong in the German locale

Bug #1527345 reported by malheum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

I am using badblocks to check a hdd that I salvaged from an older machine that I got, I assume the hdd is still good, but I want to make sure and I also want to clear all old data from it.

I am using this command line:

# badblocks -c 4096 -b 4096 -o badblocks.txt -s -v -w /dev/sdb

This is the output I got so far, please notice that the pattern that badblocks is using is not written at the correct location

Nach defekten Blöcken wird gesucht (Lesen+Schreiben-Modus)
Von Block 0 bis 122096645
Mit Muster 0x wird getestetaa: erledigt
Lesen und Vergleichen:erledigt
Mit Muster 0x wird getestet55: erledigt
Lesen und Vergleichen:erledigt
Mit Muster 0x wird getestetff: 15.23% erledigt, 5:16:28 verstrichen. (0/0/0 Fehler)

For example the line:
Mit Muster 0x wird getestetaa: erledigt
should be:
Mit Muster 0xaa wird getestet: erledigt

Or the line
Mit Muster 0x wird getestet55: erledigt
should be:
Mit Muster 0x55 wird getestet: erledigt

Same for the line with shows the current pattern and the progress:
Mit Muster 0x wird getestetff: 15.23% erledigt, 5:16:28 verstrichen. (0/0/0 Fehler)
should be:
Mit Muster 0xff wird getestet: 15.23% erledigt, 5:16:28 verstrichen. (0/0/0 Fehler)

I assume the format string in the German translation for badblocks is a a wrong position in the string (at the end).

This is a x64 ubuntu 15.10 installation.

# lsb_release -d
Description: Ubuntu 15.10

# dpkg -S /sbin/badblocks
e2fsprogs: /sbin/badblocks

# apt-cache showpkg e2fsprogs
Package: e2fsprogs
Versions:
1.42.12-1ubuntu2 (/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_main_binary-amd64_Packages
                  MD5: 92d0fdf684262bbfa702eaea3f50b97e
 Description Language: de
                 File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_main_i18n_Translation-de
                  MD5: 92d0fdf684262bbfa702eaea3f50b97e
 Description Language: en
                 File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_main_i18n_Translation-en
                  MD5: 92d0fdf684262bbfa702eaea3f50b97e

Reverse Depends:
  livecd-rootfs,e2fsprogs
  uuid-runtime:i386,e2fsprogs 1.40.3-1ubuntu1
  libuuid1:i386,e2fsprogs 1.34-1
  libss2:i386,e2fsprogs 1.34-1
  libcomerr2:i386,e2fsprogs 1.34-1
  e2fsprogs:i386,e2fsprogs
  e2fslibs:i386,e2fsprogs 1.34-1
  ubuntu-core-upgrader,e2fsprogs 1.42.10
  palo,e2fsprogs 1.2
  uuid-runtime,e2fsprogs 1.40.3-1ubuntu1
  livecd-rootfs,e2fsprogs
  libuuid1,e2fsprogs 1.34-1
  libss2,e2fsprogs 1.34-1
  libcomerr2,e2fsprogs 1.34-1
  jasper,e2fsprogs 1.41.11-1
  initscripts,e2fsprogs
  e2fsprogs-dbg,e2fsprogs 1.42.12-1ubuntu2
  e2fslibs,e2fsprogs 1.34-1
  cloud-guest-utils,e2fsprogs 1.4
Dependencies:
1.42.12-1ubuntu2 - e2fslibs (5 1.42.12-1ubuntu2) libblkid1 (2 2.17.2) libc6 (2 2.14) libcomerr2 (2 1.42~WIP-2011-10-05-1) libss2 (2 1.34-1) libuuid1 (2 2.16) util-linux (2 2.15~rc1-1) gpart (0 (null)) parted (0 (null)) e2fsck-static (0 (null)) dump (3 0.4b4-4) dump:i386 (3 0.4b4-4) initscripts (3 2.85-4) initscripts:i386 (3 2.85-4) quota (3 1.55-8.1) quota:i386 (3 1.55-8.1) sysvinit (3 2.85-4) sysvinit:i386 (3 2.85-4) hurd (1 20040301-1) hurd:i386 (1 20040301-1) libblkid1 (3 1.38+1.39-WIP-2005.12.10-2) libblkid1:i386 (3 1.38+1.39-WIP-2005.12.10-2) libuuid1 (3 1.38+1.39-WIP-2005.12.10-2) libuuid1:i386 (3 1.38+1.39-WIP-2005.12.10-2) e2fsprogs:i386 (0 (null))
Provides:
1.42.12-1ubuntu2 - e2fsprogs:i386
Reverse Provides:
e2fsprogs:i386 1.42.12-1ubuntu2

BR

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: e2fsprogs 1.42.12-1ubuntu2
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Thu Dec 17 18:41:25 2015
ExecutablePath: /sbin/badblocks
InstallationDate: Installed on 2015-09-01 (107 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha amd64 (20150827)
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE
SourcePackage: e2fsprogs
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
malheum (maxheise) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.