Your message dated Sun, 20 Apr 2008 10:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#470453: fixed in bash 3.2-2
has caused the Debian Bug report #470453,
regarding less: Does not show contents of plain text files with .deb or .udeb
extention
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
470453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470453
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: less
Version: 418-1
Severity: serious
Justification: Unsuitable for release because of unexpected behavior
$ echo "This is a plain text file" >test.deb
$ less test.deb
test.deb:
*** Contents:
test.deb (END)
Doing the same on an Etch system does show the contents correctly:
$ echo "This is a plain text file" >test.deb
$ less test.deb
This is a plain text file
test.deb (END)
Having the ability to show the contents of a Debian package is nice, but
IMO the current implementation is seriously broken for the following
reasons:
- apparently it assumes that any file with the extention .deb or .udeb
is a Debian package file, which is the Windows way of doing things;
the Linux (and only correct) way of determining the file type is by
checking the "magic numbers" in a file
- the current behavior violates the rule of "least surprise": if I use
less on a Debian package and get garbled output, that's not strange;
however, if I use less on a plain text file and I only get '***
Contents:', it leads to the assumption that the file is broken
I saw this issue while working with the experimental busybox source package,
which has three configuration files: config.deb, config.udeb and
config.static (IMO a sensible naming scheme).
The fact that I did not see the contents of the first two confused me a
lot and eventually cost a few hours of both my time and of others [1].
Please revert this feature until it can be implemented correctly to
checks the actual file type.
Cheers,
FJP
[1] http://lists.debian.org/debian-boot/2008/03/msg00223.html
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-rc5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages less depends on:
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand
less recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: bash
Source-Version: 3.2-2
We believe that the bug you reported is fixed in the latest version of
bash, which is due to be installed in the Debian FTP archive:
bash-builtins_3.2-2_amd64.deb
to pool/main/b/bash/bash-builtins_3.2-2_amd64.deb
bash-doc_3.2-2_all.deb
to pool/main/b/bash/bash-doc_3.2-2_all.deb
bash-minimal_3.2-2_amd64.deb
to pool/main/b/bash/bash-minimal_3.2-2_amd64.deb
bash-static_3.2-2_amd64.deb
to pool/main/b/bash/bash-static_3.2-2_amd64.deb
bash_3.2-2.diff.gz
to pool/main/b/bash/bash_3.2-2.diff.gz
bash_3.2-2.dsc
to pool/main/b/bash/bash_3.2-2.dsc
bash_3.2-2_amd64.deb
to pool/main/b/bash/bash_3.2-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[EMAIL PROTECTED]> (supplier of updated bash package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 20 Apr 2008 11:20:08 +0200
Source: bash
Binary: bash bash-minimal bash-static bash-builtins bash-doc bashdb
Architecture: source all amd64
Version: 3.2-2
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[EMAIL PROTECTED]>
Changed-By: Matthias Klose <[EMAIL PROTECTED]>
Description:
bash - The GNU Bourne Again SHell
bash-builtins - Bash loadable builtins - headers & examples
bash-doc - Documentation and examples for the The GNU Bourne Again SHell
bash-minimal - The GNU Bourne Again SHell (minimal version)
bash-static - The GNU Bourne Again SHell (static version)
bashdb - The GNU Bourne Again SHell Debugger
Closes: 314533 342225 352234 362010 364861 374452 378067 382892 383762 390493
397086 414285 418961 420656 420659 420661 423488 426687 431620 440102 442477
449587 452459 452656 470453 471490 473870
Changes:
bash (3.2-2) unstable; urgency=low
.
* Add a shopt option compat31 to fall back to the behaviour of bash-3.1
and earlier versions, in that quoting the string argument to the [[
command's =~ +operator does not force string matching.
.
* Merge from Ubuntu:
- Remove /etc/skel/.bash_profile, if it is unmodified; if modified and
/etc/skel/.profile is unmodifed, move .bash_profile to .profile.
- /etc/skel/.bashrc: Add an option to blurt a terminal window with a
colored prompt.
- /etc/skel/.bashrc: Add color support for grep and friends (commented
out by default). Closes: #420659.
- /etc/skel/.profile: Avoid the use of `~'.
- Don't run command-not-found from the shell scripts when it has been
removed in the meantime.
* /etc/skel/.bashrc:
- Comment out the lesspipe settings. Closes: #470453.
- Don't use PROMPT_COMMAND to set the title of an xterm. Closes: #420656.
- Don't second-guess terminal handling in dircolors. Closes: #473870.
- Don't overwrite GNU Midnight Commander's setting of HISTCONTROL to
`ignorespace'. Closes: #440102.
- Add a comment about setting HISTSIZE and HISTFILESIZE. Closes: #449587.
- Append to the history file, don't overwrite it. Closes: #452459.
- Use dir and vdir commands for dir vdir aliases. Closes: #420661.
* /etc/skel/.profile:
- Add comment about setting the umask for ssh logins. Closes: #314533.
.
* Added code to defer the initialization of HISTSIZE until the history file
is loaded. Closes: #383762.
* Fix typos in README.Debian and preinst. Closes: #374452.
* Mention `exec' builtin in the section `redirection'. Closes: #378067.
* Add bashbug(1). Closes: #442477.
* Fix typos in bash(1). Closes: #390493, #426687.
* Fix bug in Bash_aliases example. Closes: #423488.
* Fix typo in help message for caller builtin. Closes: #452656.
.
bash (3.2-1) experimental; urgency=low
.
* New upstream version (including upstream patches 01 - 33). Closes: #431620.
- Added write error reporting to printf builtin. Closes: #414285.
- Fixed a bug that caused `unset LANG' to not properly reset the locale.
Closes: #364861.
- Describe expansion of pattern in case statement. Closes: #342225.
- Improved handling of non-printable characters in prompt. Closes: #352234,
#362010, #397086, #418961, #471490.
- Fix typos in documentation. Closes: #382892.
.
The syntax of regexes in Bash 3.2 was changed so that single quotes no
longer surround regexes. e.g, a regex of the form
if [[ "foo.tex" =~ '^(.*)\.tex$' ]]
becomes
if [[ "foo.tex" =~ ^(.*)\.tex$ ]]
.
* Merge from Ubuntu:
- debian/skel.bashrc: Check for dircolors before using it.
- debian/skel.bashrc: Set HISTCONTROL to ignoreboth.
- Include correct bash.pot file.
- Move CWRU/changelog from the bash to the bash-doc package (we already
have the CHANGES files).
- debian/etc.bash.bashrc: Install command-not-found handler if available.
Checksums-Sha1:
0988220a8acd1fd5e5eeb67f09c17c013147e90c 1108 bash_3.2-2.dsc
041eee1fd332c5033f0dea5add22ca885ba10d2f 150775 bash_3.2-2.diff.gz
81601379e6458e173194de93dea84bb81d1a78ad 316822 bash-doc_3.2-2_all.deb
2e71f4bdf67895264a22dff11e5d6a37324f3628 632366 bash_3.2-2_amd64.deb
97cf5e575c9cf34c7186f6213f36ce878affc8e5 100272 bash-builtins_3.2-2_amd64.deb
c2e68cf38a3d28f49e47031e8746a2b2c9be1c27 760352 bash-static_3.2-2_amd64.deb
59506b11f4e5071a3a62f1929edd0ff7d1083aec 227690 bash-minimal_3.2-2_amd64.deb
Checksums-Sha256:
174d2cf0f099dbcb4e0cd6613d7e20d14f05518cc3c835e83652988044562aa3 1108
bash_3.2-2.dsc
ecc03b363e85165b2e0dcf800aa9ce070a73c5757d81e97d30003b59e2cdb235 150775
bash_3.2-2.diff.gz
359a2cabbf608566fc8a58a45a0aceb327b9266e45e0feb492e16264f50e8cd0 316822
bash-doc_3.2-2_all.deb
72ca32cf3142fdb474d96cc85a182feacfed2cb047912e802aaa1ebd01fbd02d 632366
bash_3.2-2_amd64.deb
edc63f26da022b9d8e42f9d429970f4ed09c1ec76831d19d424952c60eea3870 100272
bash-builtins_3.2-2_amd64.deb
42a0b18bdd5fff36814297377699fb5bf4cecaa9608d99660f5b128b07c60559 760352
bash-static_3.2-2_amd64.deb
7561d514dcc972b1f64ae1b841121015df153f3af6846a8157c30ed7a99637f0 227690
bash-minimal_3.2-2_amd64.deb
Files:
95abb9fe0e6c6fc342bde65c248ef883 1108 base required bash_3.2-2.dsc
a7293dbbfe38a331f96cce924a8ba3c2 150775 base required bash_3.2-2.diff.gz
9ba105be663a296eca3b2931450b689b 316822 doc optional bash-doc_3.2-2_all.deb
93ae2cbf7aadc475412f2194757ddfdb 632366 shells required bash_3.2-2_amd64.deb
00ce90a84ee6bdd5ae5b293e528f206a 100272 utils optional
bash-builtins_3.2-2_amd64.deb
e7d5b254478024d6dbde5434ed88b0ec 760352 shells optional
bash-static_3.2-2_amd64.deb
7b0f5d201bc0156b61c26e5f3ee9e7fc 227690 shells optional
bash-minimal_3.2-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFICxAoStlRaw+TLJwRArWJAJ90EYq/C7Hn7ENWsCxZdb8lCiT+lQCfXLYb
1+fJcMg2yni8DUJGzk97uqA=
=u0iA
-----END PGP SIGNATURE-----
--- End Message ---