← Back to team overview

desktop-packages team mailing list archive

[Bug 1444427] [NEW] unstr always fails with "data file corrupted"

 

Public bug reported:

The "unstr" program shipped with fortune-mod does not work at all:

$ cat > test.fort
Fortune1
%
Fortune2
%
Fortune3^D^D

$ strfile test.fort 
"test.fort.dat" created
There were 3 strings
Longest string: 9 bytes
Shortest string: 8 bytes

$ unstr test.fort.dat 
Input file: test.fort.dat
unstr: data file corrupted

$ fortune test.fort
Fortune1

$ fortune test.fort
Fortune3

$

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: fortune-mod 1:1.99.1-7
ProcVersionSignature: Ubuntu 3.16.0-34.45-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Apr 15 13:42:47 2015
SourcePackage: fortune-mod
UpgradeStatus: Upgraded to utopic on 2014-10-24 (172 days ago)

** Affects: fortune-mod (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fortune-mod in Ubuntu.
https://bugs.launchpad.net/bugs/1444427

Title:
  unstr always fails with "data file corrupted"

Status in fortune-mod package in Ubuntu:
  New

Bug description:
  The "unstr" program shipped with fortune-mod does not work at all:

  $ cat > test.fort
  Fortune1
  %
  Fortune2
  %
  Fortune3^D^D

  $ strfile test.fort 
  "test.fort.dat" created
  There were 3 strings
  Longest string: 9 bytes
  Shortest string: 8 bytes

  $ unstr test.fort.dat 
  Input file: test.fort.dat
  unstr: data file corrupted

  $ fortune test.fort
  Fortune1

  $ fortune test.fort
  Fortune3

  $

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: fortune-mod 1:1.99.1-7
  ProcVersionSignature: Ubuntu 3.16.0-34.45-generic 3.16.7-ckt8
  Uname: Linux 3.16.0-34-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Wed Apr 15 13:42:47 2015
  SourcePackage: fortune-mod
  UpgradeStatus: Upgraded to utopic on 2014-10-24 (172 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fortune-mod/+bug/1444427/+subscriptions


Follow ups

References