Your message dated Sun, 25 Mar 2012 20:33:48 +0000
with message-id <[email protected]>
and subject line Bug#647158: fixed in debian-goodies 0.60
has caused the Debian Bug report #647158,
regarding /usr/bin/debmany: shows documentation of wrong package if package
only exists in backports
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.)
--
647158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debian-goodies
Version: 0.53
Severity: normal
File: /usr/bin/debmany
Tags: patch
On a Debian squeeze system with backports enabled, the package ntop
(for example) only exists in squeeze-backports, not in squeeze. So,
the command
apt-get -q2 --print-uris --reinstall install ntop
lists the URLs from squeeze-backports first (I'm not sure why, but it
does), and then the dependencies of ntop, which are in squeeze
repositories. This is a problem for debmany because it downloads the
package listed last in the apt-get output. So, you will get the
documentation of python-mako, or python-markupsafe, or possibly
something else, depending on what you have installed.
Attached is a patch which fixes this. I grep for the package name
instead of just taking the last line of apt-get output. This should
always work as long as the package filename follows Debian
conventions.
The patch also fixes the following minor issues:
1. Version number is supposed to be output with the usage information.
2. Remove obsolete date in usage information.
3. Remove misleading comment in debug output.
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debian-goodies depends on:
ii curl 7.21.0-2 Get a file from an HTTP, HTTPS or
ii dctrl-tools [grep-dctr 2.14.5 Command-line tools to process Debi
ii dialog 1.1-20100428-1 Displays user-friendly dialog boxe
ii less 436-1 pager program similar to more
ii lsof 4.81.dfsg.1-1 List open files
ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii whiptail 0.52.11-1 Displays user-friendly dialog boxe
debian-goodies recommends no packages.
Versions of packages debian-goodies suggests:
ii popularity-contest 1.49 Vote for your favourite packages a
ii xdg-utils 1.0.2+cvs20100307-2 desktop integration utilities from
ii zenity 2.30.0-1 Display graphical dialog boxes fro
-- no debconf information
--- debian-goodies-0.59/debmany/debmany 2010-05-26 03:34:24.000000000 -0700
+++ /usr/bin/debmany 2011-10-30 20:28:42.182991029 -0700
@@ -29,6 +29,9 @@
curdir=`pwd`
+# Version of debmany
+version=1.4
+
error()
{
# show errorcode and quit
@@ -48,7 +51,7 @@
usage()
{
- echo "debmany $version Thu May 15 16:56:19 CEST 2008
+ echo "debmany $version
Description: Display a manpage or documentation files from a Debian package.
The list of files is displayed in a dialog.
Supported locations for debian packages are: Local .deb-file,
@@ -134,9 +137,6 @@
usage "Viewer for other data '$othercmd' is not available or executable"
fi
-# Version of debmany
-version=1.3
-
# choose whiptail or dialog
whiptail=/usr/bin/whiptail
dialog=/usr/bin/dialog
@@ -243,8 +243,8 @@
if [ -z "$file" ]
then
- debug "Mode3: Determining the path of '$package' (you use file:// in
sources.list)" # comment
- aptdata=`apt-get -q2 --print-uris --reinstall install "$package"
2>/dev/null | tail -1`
+ debug "Mode3: Determining the path of '$package'" # comment
+ aptdata=`apt-get -q2 --print-uris --reinstall install "$package"
2>/dev/null | grep "$package"_`
if [ -z "$aptdata" ]
then
error "There is no package called '$package'."
--- End Message ---
--- Begin Message ---
Source: debian-goodies
Source-Version: 0.60
We believe that the bug you reported is fixed in the latest version of
debian-goodies, which is due to be installed in the Debian FTP archive:
debian-goodies_0.60.dsc
to main/d/debian-goodies/debian-goodies_0.60.dsc
debian-goodies_0.60.tar.gz
to main/d/debian-goodies/debian-goodies_0.60.tar.gz
debian-goodies_0.60_all.deb
to main/d/debian-goodies/debian-goodies_0.60_all.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.
Axel Beckert <[email protected]> (supplier of updated debian-goodies 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, 25 Mar 2012 17:33:42 +0200
Source: debian-goodies
Binary: debian-goodies
Architecture: source all
Version: 0.60
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description:
debian-goodies - Small toolbox-style utilities for Debian systems
Closes: 516904 592436 602186 610563 623379 637238 641877 647158 654458 658846
664868
Changes:
debian-goodies (0.60) unstable; urgency=low
.
* The Handling-Multi-Arch Release
.
* Change Vcs-* headers to new git repository (Closes: #623379)
* Bump Standards-Version to 3.9.3 (no changes)
* [dhomepage]
- Handle multiple available packages and multiple homepage
URLs (Closes: #664868)
* [which-pkg-broke]
- Show time info for all installed "Multi-Arch: same" packages
(Closes: #658846)
- No more swallows all exceptions (Closes: #654458)
- Correctly handle alternative dependencies (Closes: #516904)
* [debmany]
- Replace less by sensible-pager, remove dependency on less. (Closes:
#610563)
- Fix many typos in man pages (see #610563, thanks Justin B Rye!)
- Fix output from wrong package when backports are involved (Closes:
#647158, thanks Kenyon Ralph)
- Bump version number to 1.4
* [checkrestart]
- Skip nagios spool files (Closes: #637238, thanks Guillaume
Delacour)
- Use service instead of direct call of initscript (Closes: #602186,
#592436, thanks Jörg Sommer)
* [bash_completion]
- Install debmany bash completion file to /etc/bash_completion.d
instead of as example. Rename it for easier use of dh_install.
- Add bash package name completion for which-pkg-broke (Closes:
#641877), dhomepage, and debget. (Based on devscript's package name
completion which is under GPLv2+, too)
* Fix the following lintian warnings:
- copyright-refers-to-symlink-license
- debian-rules-missing-recommended-target
* Thanks Jakub Wilk for many bugfix patches!
Checksums-Sha1:
0ca7a3c23ff3f9df8eb0a5db00bf27f040486fef 986 debian-goodies_0.60.dsc
fd28ace93f0cb1c65171f25d4148914bc40ecbd4 57523 debian-goodies_0.60.tar.gz
2ab3abc0ac8b9eec0380109402b7aedd5418e206 65386 debian-goodies_0.60_all.deb
Checksums-Sha256:
3eb7f098288501f89e782d66434c153509abcfb1d35e7719b2a002328b0818e7 986
debian-goodies_0.60.dsc
7816a0cd8cb70f78c74ce60c8c9c883ea4270d1e7a6b75547443251f2b51a93e 57523
debian-goodies_0.60.tar.gz
6c27d302cdde26e858867e598f1c36a8ee13bf86e452e9ace6561732200cc8a2 65386
debian-goodies_0.60_all.deb
Files:
d76f128e5998ae68b26b9cf2eda660b6 986 utils optional debian-goodies_0.60.dsc
33279dbb96095398e5ed4925e251f8aa 57523 utils optional
debian-goodies_0.60.tar.gz
fda962d9fc4ecfff347b245ec85820a9 65386 utils optional
debian-goodies_0.60_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk9vO0kACgkQwJ4diZWTDt5TagCffzHxsOK3hbTcGhCYHk6SwOHV
+KUAni0sRvjcTOU7UBP7M5ntHDyGGxYD
=nAr7
-----END PGP SIGNATURE-----
--- End Message ---