Public bug reported: Steps to repro: % echo overwritten > test % gzip test % echo clean > test % cat test clean % gunzip test.gz gzip: test already exists; do you wish to overwrite (y or n)? n % cat test overwritten %
This bug seems to have been reported in several other places as a compiler optimization bug (saw one reference to GCC 4.7 x86-64 -O2). It's possible that it's been fixed in upstream already. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: gzip 1.5-1.1ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7 Uname: Linux 3.5.0-27-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.6.1-0ubuntu10 Architecture: amd64 Date: Thu Apr 11 12:45:38 2013 InstallationDate: Installed on 2012-04-13 (363 days ago) InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.3) MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US SHELL=/bin/bash SourcePackage: gzip UpgradeStatus: Upgraded to quantal on 2012-11-09 (152 days ago) ** Affects: gzip (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug quantal running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1168049 Title: gunzip ignores 'n' when asked to overwrite file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/1168049/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs